Added dimension edition on purchase invoice entry.
[fa-stable.git] / purchasing / supplier_payment.php
index 75ab908a8d257422213fb24368718e0265450b50..babb02d9df4ed9283508d9b4bdc575035eb99b8f 100644 (file)
@@ -21,9 +21,9 @@ include_once($path_to_root . "/purchasing/includes/purchasing_db.inc");
 include_once($path_to_root . "/reporting/includes/reporting.inc");
 
 $js = "";
-if ($use_popup_windows)
+if ($SysPrefs->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');
@@ -330,4 +330,3 @@ start_form();
 end_form();
 
 end_page();
-?>