Fix fuer Bug 242, tax_$i Werte wurden nicht geparst.
authorSven Schöling <s.schoeling@linet-services.de>
Thu, 12 Jan 2006 13:20:27 +0000 (13:20 +0000)
committerSven Schöling <s.schoeling@linet-services.de>
Thu, 12 Jan 2006 13:20:27 +0000 (13:20 +0000)
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