[freeside-commits] freeside/httemplate/search report_receivables.cgi, 1.49.2.2, 1.49.2.3
Mark Wells
mark at wavetail.420.am
Wed May 19 18:34:22 PDT 2010
- Previous message: [freeside-commits] freeside/FS/FS cust_main.pm, 1.464.2.28, 1.464.2.29 cust_bill.pm, 1.263.2.16, 1.263.2.17 cust_pay.pm, 1.74, 1.74.2.1 cust_credit.pm, 1.38.2.1, 1.38.2.2 cust_refund.pm, 1.33, 1.33.4.1
- Next message: [freeside-commits] freeside/httemplate/elements contact.html, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail.420.am:/tmp/cvs-serv8112/httemplate/search
Modified Files:
Tag: FREESIDE_1_9_BRANCH
report_receivables.cgi
Log Message:
RT#7266: aging report "as of" date now limits applied payments
Index: report_receivables.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/report_receivables.cgi,v
retrieving revision 1.49.2.2
retrieving revision 1.49.2.3
diff -u -w -d -r1.49.2.2 -r1.49.2.3
--- report_receivables.cgi 1 Apr 2010 04:44:19 -0000 1.49.2.2
+++ report_receivables.cgi 20 May 2010 01:34:20 -0000 1.49.2.3
@@ -16,7 +16,7 @@
#Example:
#
# my $balance = balance(
-# $start, $end,
+# $start, $end, $offset,
# 'no_as' => 1, #set to true when using in a WHERE clause (supress AS clause)
# #or 0 / omit when using in a SELECT clause as a column
# # ("AS balance_$start_$end")
@@ -44,7 +44,8 @@
#$opt{'unapplied_date'} = 1;
- FS::cust_main->balance_date_sql( $start, $end, 'unapplied_date'=>1,);
+ FS::cust_main->balance_date_sql( $start, $end, 'unapplied_date'=>1,
+ 'cutoff' => "( $str2time now() $closing - ".$offset * 86400 . ')' );
}
- Previous message: [freeside-commits] freeside/FS/FS cust_main.pm, 1.464.2.28, 1.464.2.29 cust_bill.pm, 1.263.2.16, 1.263.2.17 cust_pay.pm, 1.74, 1.74.2.1 cust_credit.pm, 1.38.2.1, 1.38.2.2 cust_refund.pm, 1.33, 1.33.4.1
- Next message: [freeside-commits] freeside/httemplate/elements contact.html, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list