From 4ee4670cb59cc318fd0d67ac19dd147dd63b87c7 Mon Sep 17 00:00:00 2001
From: Philip Reetz
Date: Thu, 16 Mar 2006 09:13:47 +0000
Subject: [PATCH] Fix fuer Bug #319 Fehler beim Buchen von Belegen mit
Umsatzsteuerkorrektur bei Kreditoren
---
SL/AP.pm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/SL/AP.pm b/SL/AP.pm
index e909890f8..d490739f7 100644
--- 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
--
2.20.1