From: Janusz Dobrowolski Date: Mon, 16 Sep 2013 13:35:11 +0000 (+0200) Subject: [0002429] Supplier Invoice: tax was not updated on GRN line addition/removal. X-Git-Tag: 2.3-final~197 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=cec5f3882c49a531fc3ba1274f7450349fc39aa5;p=fa-stable.git [0002429] Supplier Invoice: tax was not updated on GRN line addition/removal. --- diff --git a/purchasing/supplier_invoice.php b/purchasing/supplier_invoice.php index b4c7b89e..5c5c91ac 100644 --- a/purchasing/supplier_invoice.php +++ b/purchasing/supplier_invoice.php @@ -273,6 +273,7 @@ function commit_item_data($n) $_POST['prev_quantity_inv'.$n], input_num('this_quantity_inv'.$n), $_POST['order_price'.$n], input_num('ChgPrice'.$n), $_POST['std_cost_unit'.$n], ""); + unset($_POST['mantax']); } } @@ -302,6 +303,7 @@ $id3 = find_submit('Delete'); if ($id3 != -1) { $_SESSION['supp_trans']->remove_grn_from_trans($id3); + unset($_POST['mantax']); $Ajax->activate('grn_items'); $Ajax->activate('inv_tot'); }