Removed many global variables from config.default.php to GL Setup, Company Setup...
[fa-stable.git] / purchasing / supplier_payment.php
index 75ab908a8d257422213fb24368718e0265450b50..38ca82dcb5cfb417f0b4b0f8e2a004a8f27c4550 100644 (file)
@@ -23,7 +23,7 @@ include_once($path_to_root . "/reporting/includes/reporting.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();
 
 add_js_file('payalloc.js');