Cleanup in PO Search and PO Search Completed.
[fa-stable.git] / purchasing / po_entry_items.php
index dd2cc3bcabd7feb880d31b1b1141c7061a73bfc5..086303bd06931596a9d2bc78690a3e97190b8ee2 100644 (file)
@@ -31,9 +31,9 @@ set_page_security( @$_SESSION['PO']->trans_type,
 );
 
 $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();
 
 if (isset($_GET['ModifyOrderNumber']) && is_numeric($_GET['ModifyOrderNumber'])) {
@@ -515,4 +515,3 @@ div_end();
 
 end_form();
 end_page();
-?>