Removed many global variables from config.default.php to GL Setup, Company Setup...
[fa-stable.git] / inventory / inquiry / stock_movements.php
index 2c2e0974225965cbc2764b141a2835308c051a17..6021f1ee71082f92c30896424dd3b4123e4eefc8 100644 (file)
@@ -21,7 +21,7 @@ include_once($path_to_root . "/includes/ui.inc");
 $js = "";
 if ($use_popup_windows)
        $js .= get_js_open_window(800, 500);
-if ($use_date_picker)
+if (user_use_date_picker())
        $js .= get_js_date_picker();
 page(_($help_context = "Inventory Item Movement"), @$_GET['popup'], false, "", $js);
 //------------------------------------------------------------------------------------------------