Bug 5187: Displaying the list of suppliers in the void part is either wrong or buggy...
[fa-stable.git] / admin / view_print_transaction.php
index a386cbfdd0ff2bddd9075bf31c51ae96d710fa00..856fe05c9d81b4aa0abe2a88b9a87f176f4352a4 100644 (file)
@@ -22,7 +22,7 @@ include_once($path_to_root . "/admin/db/transactions_db.inc");
 
 include_once($path_to_root . "/reporting/includes/reporting.inc");
 $js = "";
-if ($use_popup_windows)
+if ($SysPrefs->use_popup_windows)
        $js .= get_js_open_window(800, 500);
 page(_($help_context = "View or Print Transactions"), false, false, "", $js);
 
@@ -69,7 +69,7 @@ function viewing_controls()
     start_table(TABLESTYLE_NOBORDER);
        start_row();
 
-       systypes_list_cells(_("Type:"), 'filterType', null, true);
+       systypes_list_cells(_("Type:"), 'filterType', null, true, array(ST_CUSTOMER, ST_SUPPLIER));
 
        if (!isset($_POST['FromTransNo']))
                $_POST['FromTransNo'] = "1";