summaryrefslogtreecommitdiff
path: root/httemplate/search/unapplied_cust_pay.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/search/unapplied_cust_pay.html')
-rwxr-xr-xhttemplate/search/unapplied_cust_pay.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/search/unapplied_cust_pay.html b/httemplate/search/unapplied_cust_pay.html
index 73361c00b..161c6509e 100755
--- a/httemplate/search/unapplied_cust_pay.html
+++ b/httemplate/search/unapplied_cust_pay.html
@@ -23,7 +23,8 @@ sub unapplied_payments {
"( $str2time now() $closing - ".($end + $offset) * 86400 . ' )'
: '';
- FS::cust_main->unapplied_payments_date_sql( $start, $end );
+ FS::cust_main->unapplied_payments_date_sql( $start, $end,
+ 'cutoff' => "( $str2time now() $closing - ".$offset * 86400 . ')' );
}