From 02b11d5feb7fff6f282c20530b74f57fb901b00f Mon Sep 17 00:00:00 2001 From: ivan Date: Thu, 31 Jul 2008 20:17:42 +0000 Subject: fix receivables report: credits/etc. should be limited by date like before, closes: Bug#3801 --- httemplate/search/report_receivables.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'httemplate') 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 ). -- cgit v1.2.1