Have lineitem-specific applications happen in all cases; add weightsto control
[freeside.git] / httemplate / misc / bill.cgi
index 6e4cc26..8d4b4ac 100755 (executable)
@@ -14,8 +14,7 @@
 %#&eidiot($error) if $error;
 %
 %unless ( $error ) {
-%  $cust_main->apply_payments;
-%  $cust_main->apply_credits;
+%  $cust_main->apply_payments_and_credits;
 %
 %  $error = $cust_main->collect(
 %  #                             'invoice-time'=>$time,