From 0e8bee9c801106ae8c348a4fb8d7fa0b0fd392af Mon Sep 17 00:00:00 2001 From: =?utf8?q?Stephan=20K=C3=B6hler?= Date: Mon, 16 Jan 2006 16:44:22 +0000 Subject: [PATCH] Merge von 788 aus unstable: Bugfix 260 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