projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Have lineitem-specific applications happen in all cases; add weightsto control
[freeside.git]
/
FS
/
FS
/
Cron
/
bill.pm
diff --git
a/FS/FS/Cron/bill.pm
b/FS/FS/Cron/bill.pm
index
774bf30
..
fb9e549
100644
(file)
--- a/
FS/FS/Cron/bill.pm
+++ b/
FS/FS/Cron/bill.pm
@@
-106,8
+106,7
@@
END
);
warn "Error billing, custnum ". $cust_main->custnum. ": $error" if $error;
);
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'},
$error = $cust_main->collect( 'invoice_time' => $time,
'freq' => $opt{'freq'},