Merge von 788 aus unstable: Bugfix 260
authorStephan Köhler <s.koehler@linet-services.de>
Mon, 16 Jan 2006 16:44:22 +0000 (16:44 +0000)
committerStephan Köhler <s.koehler@linet-services.de>
Mon, 16 Jan 2006 16:44:22 +0000 (16:44 +0000)
Fehler bei Berechnung der Summe fuers Debitorenkonto behebt Bug#260

SL/AR.pm

index aeb6430..76cea55 100644 (file)
--- 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);