X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=purchasing%2Fpo_entry_items.php;h=17e123f9c6f891a54bd3c4e85e134d686de29792;hb=fd11a3b500e79a3e98f7a3860f872cd31ce33113;hp=dd2cc3bcabd7feb880d31b1b1141c7061a73bfc5;hpb=fbf51ab0febfd0885620abcab8738339d156ff45;p=fa-stable.git diff --git a/purchasing/po_entry_items.php b/purchasing/po_entry_items.php index dd2cc3bc..17e123f9 100644 --- a/purchasing/po_entry_items.php +++ b/purchasing/po_entry_items.php @@ -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'])) { @@ -472,13 +472,8 @@ display_po_items($_SESSION['PO']); start_table(TABLESTYLE2); -if (list_updated('tax_algorithm')) { - $_SESSION['PO']->tax_algorithm = $_POST['tax_algorithm']; - $Ajax->activate('items_table'); -} if ($_SESSION['PO']->trans_type == ST_SUPPINVOICE) { - tax_algorithm_list_row(_("Tax algorithm:"), 'tax_algorithm', null, true); cash_accounts_list_row(_("Payment:"), 'cash_account', null, false, _('Delayed')); } @@ -515,4 +510,3 @@ div_end(); end_form(); end_page(); -?>