projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
311a645
)
r1157 rueckgaengig gemacht (aus Testzwecken)
author
Udo Spallek
<info@wissensvermittlung.com>
Tue, 20 Jun 2006 11:10:09 +0000
(11:10 +0000)
committer
Udo Spallek
<info@wissensvermittlung.com>
Tue, 20 Jun 2006 11:10:09 +0000
(11:10 +0000)
SL/USTVA.pm
patch
|
blob
|
history
diff --git
a/SL/USTVA.pm
b/SL/USTVA.pm
index
3cb7ff8
..
c27d937
100644
(file)
--- a/
SL/USTVA.pm
+++ b/
SL/USTVA.pm
@@
-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