Removed many global variables from config.default.php to GL Setup, Company Setup...
[fa-stable.git] / sales / customer_invoice.php
index 6e4b77bd4075f1425e5da5376b4de350bf282be9..66f676e6cd00c36f0ea6fd2b4ce7b3dc31a5f519 100644 (file)
@@ -30,7 +30,7 @@ $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();
 }