Removed many global variables from config.default.php to GL Setup, Company Setup...
[fa-stable.git] / purchasing / po_receive_items.php
index d2697de9c389ea45e3ece41a09f79c49139cc5a7..57ef24a02f99cead37e69c58b8648c10acd35b7b 100644 (file)
@@ -20,7 +20,7 @@ include_once($path_to_root . "/purchasing/includes/purchasing_ui.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 = "Receive Purchase Order Items"), false, false, "", $js);