]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/AP.pm
Fix fuer Bug #319 Fehler beim Buchen von Belegen mit Umsatzsteuerkorrektur bei Kreditoren
[kivitendo-erp.git] / SL / AP.pm
index e909890f83760f5672308d2017e14a495cf86a81..d490739f72953f038314b7efb0298fc1a1f6ac53 100644 (file)
--- a/SL/AP.pm
+++ b/SL/AP.pm
@@ -76,6 +76,9 @@ sub post_transaction {
                            $form->{exchangerate} * -1,
                          2);
     $amount += ($form->{"amount_$i"} * -1);
+
+    # parse tax_$i for later
+    $form->{"tax_$i"} = $form->parse_amount($myconfig, $form->{"tax_$i"}) * -1;
   }
 
   # this is for ap