From: Udo Spallek Date: Fri, 16 Jun 2006 16:31:27 +0000 (+0000) Subject: Solved Bug 365: Falsche UStVA bei negativem Vorsteuer-Betrag X-Git-Tag: release-2.4.0^2~270 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=35f843186e9f902d8850ec55b13a0ad936372e83;p=kivitendo-erp.git Solved Bug 365: Falsche UStVA bei negativem Vorsteuer-Betrag --- diff --git a/SL/USTVA.pm b/SL/USTVA.pm index 51296f1be..f1bd2a034 100644 --- a/SL/USTVA.pm +++ b/SL/USTVA.pm @@ -869,9 +869,10 @@ sub get_accounts_ustva { $sth->execute || $form->dberror($query); while ($ref = $sth->fetchrow_hashref(NAME_lc)) { - if ($ref->{amount} < 0) { +# Bug 365 solved?! +# if ($ref->{amount} < 0) { $ref->{amount} *= -1; - } +# } if ($category eq "pos_bwa") { if ($last_period) { $form->{ $ref->{$category} }{kumm} += $ref->{amount};