X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=purchasing%2Fpo_entry_items.php;h=b0d116995a73507ee649bfb39c2d5aab08bee265;hb=f58466eea31b624deacaf5e5cd4b9de7995e0373;hp=2ab43bb791dd1a752fa6239751f67f640df99d63;hpb=e91772a2716825a6aeb358d1defba47d5f3892c1;p=fa-stable.git diff --git a/purchasing/po_entry_items.php b/purchasing/po_entry_items.php index 2ab43bb7..b0d11699 100644 --- a/purchasing/po_entry_items.php +++ b/purchasing/po_entry_items.php @@ -38,26 +38,6 @@ check_db_has_suppliers(_("There are no suppliers defined in the system.")); check_db_has_purchasable_items(_("There are no purchasable inventory items defined in the system.")); //--------------------------------------------------------------------------------------------------------------- -if ($ret = context_restore()) { - // return from supplier/items editors - copy_from_cart(); - if(isset($ret['supplier_id'])) - $_POST['supplier_id'] = $ret['supplier_id']; - if(isset($ret['stock_id'])) { - $_POST['stock_id'] = $_POST['_stock_id_edit'] = $ret['stock_id']; - set_focus('qty'); - } -} -if (isset($_POST['_supplier_id_editor'])) { - copy_to_cart(); - context_call($path_to_root.'/purchasing/manage/suppliers.php?supplier_id='.$_POST['supplier_id'], 'PO'); -} - -if (isset($_POST['_stock_id_editor'])) { - copy_to_cart(); - context_call($path_to_root.'/inventory/manage/items.php?stock_id='.$_POST['stock_id'], 'PO'); -} -//------------------------------------------------------------------------------ if (isset($_GET['AddedID'])) {