From: Stephan Köhler Date: Mon, 16 Jan 2006 16:44:22 +0000 (+0000) Subject: Merge von 788 aus unstable: Bugfix 260 X-Git-Tag: release-2.2.0~28 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=0e8bee9c801106ae8c348a4fb8d7fa0b0fd392af;p=kivitendo-erp.git Merge von 788 aus unstable: Bugfix 260 Fehler bei Berechnung der Summe fuers Debitorenkonto behebt Bug#260 --- 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);