Merged last changes from stable.
[fa-stable.git] / purchasing / supplier_invoice.php
index d62f5e530a2f2d97ff0670459f4669fa3024ede1..1a0ac95c5be03436a87c3c270a1597767a944439 100644 (file)
@@ -312,6 +312,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), $complete,
                        $_POST['std_cost_unit'.$n], "");
+               unset($_POST['mantax']);
        }
 }
 
@@ -341,6 +342,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');
 }