projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbc7871
)
fix receivables report: credits/etc. should be limited by date like before, closes...
author
ivan
<ivan>
Thu, 31 Jul 2008 20:18:24 +0000
(20:18 +0000)
committer
ivan
<ivan>
Thu, 31 Jul 2008 20:18:24 +0000
(20:18 +0000)
httemplate/search/report_receivables.cgi
patch
|
blob
|
history
diff --git
a/httemplate/search/report_receivables.cgi
b/httemplate/search/report_receivables.cgi
index
3e50006
..
b2fbb4d
100755
(executable)
--- a/
httemplate/search/report_receivables.cgi
+++ b/
httemplate/search/report_receivables.cgi
@@
-174,7
+174,7
@@
sub balance {
$start = $start ? "( $str2time now() $closing - ".($start * 86400). ' )' : '';
$end = $end ? "( $str2time now() $closing - ".($end * 86400). ' )' : '';
-
#
$opt{'unapplied_date'} = 1;
+ $opt{'unapplied_date'} = 1;
( $opt{sum} ? 'SUM( ' : '' ).
FS::cust_main->balance_date_sql( $start, $end, %opt ).