diff options
author | ivan <ivan> | 2008-07-31 20:18:24 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-07-31 20:18:24 +0000 |
commit | a537c45ffae0431f6c9cdc4e8d2ca376b2685d97 (patch) | |
tree | b2c697de5ce4f92460e1f14996e56574a02a6bfd | |
parent | bbc7871bd10b1076ad5d84e2ebabc151425c556f (diff) |
fix receivables report: credits/etc. should be limited by date like before, closes: Bug#3801
-rwxr-xr-x | httemplate/search/report_receivables.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/search/report_receivables.cgi b/httemplate/search/report_receivables.cgi index 3e500065a..b2fbb4d3c 100755 --- 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 ). |