Missing Popup window
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Thu, 26 Apr 2007 09:30:22 +0000 (09:30 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Thu, 26 Apr 2007 09:30:22 +0000 (09:30 +0000)
admin/view_print_transaction.php

index a8c09d2d6b0f7d13edaf70b459a333e9b9d5dd3e..1fcb30803edc207ecc7ba1a07289189f69105df9 100644 (file)
@@ -5,13 +5,15 @@ $page_security = 5;
 
 include_once($path_to_root . "/includes/session.inc");
 
-page(_("View or Print Transactions"));
-
 include_once($path_to_root . "/includes/date_functions.inc");
 include_once($path_to_root . "/includes/ui.inc");
 include_once($path_to_root . "/includes/data_checks.inc");
 
 include_once($path_to_root . "/reporting/includes/reporting.inc");
+$js = "";
+if ($use_popup_windows)
+       $js .= get_js_open_window(800, 500);
+page(_("View or Print Transactions"), false, false, "", $js);
 
 //----------------------------------------------------------------------------------------