Removed many global variables from config.default.php to GL Setup, Company Setup...
[fa-stable.git] / sales / inquiry / customer_allocation_inquiry.php
index 7fa66013580c8bc16d71ba7f974966941ec594a5..a1e0e55249f9a216052e206d1426552930705a0f 100644 (file)
@@ -20,7 +20,7 @@ include_once($path_to_root . "/sales/includes/sales_db.inc");
 $js = "";
 if ($use_popup_windows)
        $js .= get_js_open_window(900, 500);
-if ($use_date_picker)
+if (user_use_date_picker())
        $js .= get_js_date_picker();
 page(_($help_context = "Customer Allocation Inquiry"), false, false, "", $js);