From 138a2f8dff524d2e3529455a8ad8624b5c4f7f18 Mon Sep 17 00:00:00 2001
From: Philip Reetz
Date: Mon, 16 Jan 2006 16:12:20 +0000
Subject: [PATCH] Fehler bei Berechnung der Summe fuers Debitorenkonto behebt
Bug#260
---
SL/AR.pm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/SL/AR.pm b/SL/AR.pm
index aeb6430b0..76cea5579 100644
--- a/SL/AR.pm
+++ b/SL/AR.pm
@@ -84,7 +84,8 @@ sub post_transaction {
$form->{amount} = $form->{netamount};
$form->{tax} = 0;
-
+ $form->{netamount} = 0;
+ $form->{total_tax} = 0;
# taxincluded doesn't make sense if there is no amount
$form->{taxincluded} = 0 if ($form->{amount} == 0);
--
2.20.1