From: Philip Reetz Date: Mon, 16 Jan 2006 16:12:20 +0000 (+0000) Subject: Fehler bei Berechnung der Summe fuers Debitorenkonto behebt Bug#260 X-Git-Tag: release-2.4.0^2~381 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=138a2f8dff524d2e3529455a8ad8624b5c4f7f18;p=kivitendo-erp.git 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);