r1157 rueckgaengig gemacht (aus Testzwecken)
authorUdo Spallek <info@wissensvermittlung.com>
Tue, 20 Jun 2006 11:10:09 +0000 (11:10 +0000)
committerUdo Spallek <info@wissensvermittlung.com>
Tue, 20 Jun 2006 11:10:09 +0000 (11:10 +0000)
SL/USTVA.pm

index 3cb7ff8..c27d937 100644 (file)
@@ -724,10 +724,7 @@ sub get_accounts_ustva {
 
         UNION
 
-                SELECT sum(
-                  CASE WHEN c.link LIKE '%AR%' THEN ac.amount * -1
-                       WHEN c.link LIKE '%AP%' THEN ac.amount * 1
-                   END
+                SELECT sum(ac.amount
                 ) AS amount,
                 c.$category
                 FROM acc_trans ac