From 35f843186e9f902d8850ec55b13a0ad936372e83 Mon Sep 17 00:00:00 2001 From: Udo Spallek Date: Fri, 16 Jun 2006 16:31:27 +0000 Subject: [PATCH] Solved Bug 365: Falsche UStVA bei negativem Vorsteuer-Betrag --- SL/USTVA.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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}; -- 2.20.1