Have lineitem-specific applications happen in all cases; add weightsto control
[freeside.git] / httemplate / edit / process / cust_main.cgi
index 505973d..26d6deb 100755 (executable)
 %  if ( $conf->exists('backend-realtime') && ! $error ) {
 %
 %    my $berror = $new->bill;
-%    $new->apply_payments;
-%    $new->apply_credits;
+%    $new->apply_payments_and_credits;
 %    $berror ||= $new->collect( 'realtime' => 1 );
 %    warn "Warning, error billing during backend-realtime: $berror" if $berror;
 %