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:
4f82ce0
)
COALESCE(0, ...) ist immer 0. Deswegen wurden in der Aufgabenliste jeder Eintrag...
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 12 Aug 2008 14:34:39 +0000
(14:34 +0000)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 12 Aug 2008 14:34:39 +0000
(14:34 +0000)
SL/OE.pm
patch
|
blob
|
history
diff --git
a/SL/OE.pm
b/SL/OE.pm
index
5c6cec6
..
81b9b0a
100644
(file)
--- a/
SL/OE.pm
+++ b/
SL/OE.pm
@@
-201,7
+201,7
@@
sub transactions_for_todo_list {
$query =
qq|SELECT oe.id, oe.transdate, oe.reqdate, oe.quonumber, oe.transaction_description, oe.amount,
- CASE WHEN (COALESCE(
0, oe.customer_id
) = 0) THEN 'vendor' ELSE 'customer' END AS vc,
+ CASE WHEN (COALESCE(
oe.customer_id, 0
) = 0) THEN 'vendor' ELSE 'customer' END AS vc,
c.name AS customer,
v.name AS vendor,
e.name AS employee