Nachtrag zu Bug 220, Rabatt wurde nur fuer ein einzelnes Item berechnet.
[kivitendo-erp.git] / SL / AR.pm
index c2c81e6..e3e3631 100644 (file)
--- a/SL/AR.pm
+++ b/SL/AR.pm
@@ -74,6 +74,9 @@ sub post_transaction {
                           2);
 
     $form->{netamount} += $form->{"amount_$i"};
+
+    # parse tax_$i for later
+    $form->{"tax_$i"} = $form->parse_amount($myconfig, $form->{"tax_$i"});
   }
 
   # this is for ar