Added dimension edition on purchase invoice entry.
[fa-stable.git] / purchasing / supplier_payment.php
index 38ca82dcb5cfb417f0b4b0f8e2a004a8f27c4550..babb02d9df4ed9283508d9b4bdc575035eb99b8f 100644 (file)
@@ -21,7 +21,7 @@ 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 (user_use_date_picker())
        $js .= get_js_date_picker();
@@ -330,4 +330,3 @@ start_form();
 end_form();
 
 end_page();
-?>