X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=purchasing%2Fpo_entry_items.php;h=278c5199507b2ca00b98f730663545954afb05e7;hb=11f109f7a390bc2c02ccc245f5af4df06deba28d;hp=756add4d4259c6e27d993ed938fba77463da005b;hpb=3cf9ab70d79ebd01b13b6cc0c9366ccb5b8c496a;p=fa-stable.git diff --git a/purchasing/po_entry_items.php b/purchasing/po_entry_items.php index 756add4d..278c5199 100644 --- a/purchasing/po_entry_items.php +++ b/purchasing/po_entry_items.php @@ -14,6 +14,7 @@ $page_security = 'SA_PURCHASEORDER'; include_once($path_to_root . "/purchasing/includes/po_class.inc"); include_once($path_to_root . "/includes/session.inc"); include_once($path_to_root . "/purchasing/includes/purchasing_ui.inc"); +include_once($path_to_root . "/purchasing/includes/db/suppliers_db.inc"); include_once($path_to_root . "/reporting/includes/reporting.inc"); set_page_security( @$_SESSION['PO']->trans_type, @@ -354,7 +355,6 @@ function can_commit() set_focus('delivery_address'); return false; } - if (get_post('StkLocation') == '') { display_error(_("There is no location specified to move any items into.")); @@ -419,6 +419,7 @@ function handle_commit_order() $inv->tran_date = $cart->orig_order_date; $inv->reference = $ref; $inv->supp_reference = $cart->supp_ref; + $inv->tax_included = $cart->tax_included; $supp = get_supplier($cart->supplier_id); $inv->tax_group_id = $supp['tax_group_id']; // $inv->ov_discount 'this isn't used at all'