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);
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";