Removed many global variables from config.default.php to GL Setup, Company Setup...
[fa-stable.git] / sales / inquiry / sales_deliveries_view.php
index f6ac03fa01f95394c30e908c7f4b304f62535598..91787385f11d953dbb273880ba6cae309d7741c3 100644 (file)
@@ -20,7 +20,7 @@ include_once($path_to_root . "/reporting/includes/reporting.inc");
 $js = "";
 if ($use_popup_windows)
        $js .= get_js_open_window(900, 600);
-if ($use_date_picker)
+if (user_use_date_picker())
        $js .= get_js_date_picker();
 
 if (isset($_GET['OutstandingOnly']) && ($_GET['OutstandingOnly'] == true))