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:
0cd4032
)
Fehler bei Stichtagsbezogenen Auswertungen von offenen Posten
author
Philip Reetz
<p.reetz@linet-services.de>
Sun, 15 Jun 2008 16:10:15 +0000
(16:10 +0000)
committer
Philip Reetz
<p.reetz@linet-services.de>
Sun, 15 Jun 2008 16:10:15 +0000
(16:10 +0000)
SL/RP.pm
patch
|
blob
|
history
diff --git
a/SL/RP.pm
b/SL/RP.pm
index
acc6b83
..
4d2dd4e
100644
(file)
--- a/
SL/RP.pm
+++ b/
SL/RP.pm
@@
-1351,7
+1351,7
@@
sub aging {
$dpt_join
WHERE $where
AND (a.${ct_id} = ct.id)
- AND (
a.paid != a.amount
)
+ AND (
(a.paid != a.amount) OR ((a.datepaid > $todate) AND (datepaid is NOT NULL))
)
AND (a.transdate <= $todate)
ORDER BY ct.name|;