X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=purchasing%2Fsupplier_payment.php;h=a2603dfb113c43b1710bec4e80384b66fe7b1bee;hb=8f7ac519b7aaf8ec219862597e878d3a28316ac6;hp=5928e56b7327de10d9925768a649650234c062ee;hpb=da23a4fdc0501edbce8fb74d194fa816e89dd3d6;p=fa-stable.git diff --git a/purchasing/supplier_payment.php b/purchasing/supplier_payment.php index 5928e56b..a2603dfb 100644 --- a/purchasing/supplier_payment.php +++ b/purchasing/supplier_payment.php @@ -42,15 +42,6 @@ check_db_has_suppliers(_("There are no suppliers defined in the system.")); check_db_has_bank_accounts(_("There are no bank accounts defined in the system.")); //---------------------------------------------------------------------------------------- -if ($ret = context_restore()) { - if(isset($ret['supplier_id'])) - $_POST['supplier_id'] = $ret['supplier_id']; -} -if (isset($_POST['_supplier_id_editor'])) { - context_call($path_to_root.'/purchasing/manage/suppliers.php?supplier_id='.$_POST['supplier_id'], - array( 'supplier_id', 'bank_account', 'DatePaid', 'ref', 'amount', - 'discount', 'memo_') ); -} if (!isset($_POST['supplier_id'])) $_POST['supplier_id'] = get_global_supplier(false);