Enabling popup search in Customers, branches, suppliers, inventory, fixed assets...
[fa-stable.git] / reporting / reports_main.php
index 9c571eb85d96aa81288ad79997f3a4983054d519..87efba8167d38f308937623b643567651527e437 100644 (file)
@@ -18,6 +18,8 @@ include_once($path_to_root . "/includes/data_checks.inc");
 include_once($path_to_root . "/includes/ui.inc");
 include_once($path_to_root . "/reporting/includes/reports_classes.inc");
 $js = "";
+if ($SysPrefs->use_popup_windows && $SysPrefs->use_popup_search)
+       $js .= get_js_open_window(900, 500);
 if (user_use_date_picker())
        $js .= get_js_date_picker();