[freeside-commits] freeside/FS/FS/Cron bill.pm,1.1,1.2
Ivan,,,
ivan at wavetail.420.am
Sun Jan 21 13:45:30 PST 2007
Update of /home/cvs/cvsroot/freeside/FS/FS/Cron
In directory wavetail:/tmp/cvs-serv32190/FS/FS/Cron
Modified Files:
bill.pm
Log Message:
Have lineitem-specific applications happen in all cases; add weightsto control
Index: bill.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Cron/bill.pm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- bill.pm 1 Feb 2006 23:13:48 -0000 1.1
+++ bill.pm 21 Jan 2007 21:45:28 -0000 1.2
@@ -106,8 +106,7 @@
);
warn "Error billing, custnum ". $cust_main->custnum. ": $error" if $error;
- $cust_main->apply_payments;
- $cust_main->apply_credits;
+ $cust_main->apply_payments_and_credits;
$error = $cust_main->collect( 'invoice_time' => $time,
'freq' => $opt{'freq'},
More information about the freeside-commits
mailing list