X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=purchasing%2Fsupplier_credit.php;h=bd2fb08ae0ae717a2640f051bfa20b8660a21f59;hb=f58466eea31b624deacaf5e5cd4b9de7995e0373;hp=513135fc31bd8928b1ccd1a15f5841a1dba08407;hpb=2383d33373d6ddec06906658a0ed6398077c1147;p=fa-stable.git diff --git a/purchasing/supplier_credit.php b/purchasing/supplier_credit.php index 513135fc..bd2fb08a 100644 --- a/purchasing/supplier_credit.php +++ b/purchasing/supplier_credit.php @@ -32,18 +32,6 @@ page(_("Supplier Credit Note"), false, false, "", $js); check_db_has_suppliers(_("There are no suppliers defined in the system.")); -//--------------------------------------------------------------------------------------------------------------- -if ($ret = context_restore()) { - // return from supplier editor - copy_from_trans($_SESSION['supp_trans']); - if(isset($ret['supplier_id'])) - $_POST['supplier_id'] = $ret['supplier_id']; -} -if (isset($_POST['_supplier_id_editor'])) { - copy_to_trans($_SESSION['supp_trans']); - context_call($path_to_root.'/purchasing/manage/suppliers.php?supplier_id='.$_POST['supplier_id'], 'supp_trans'); -} - //--------------------------------------------------------------------------------------------------------------- if (isset($_GET['AddedID']))