diff options
author | ivan <ivan> | 2001-12-28 14:40:35 +0000 |
---|---|---|
committer | ivan <ivan> | 2001-12-28 14:40:35 +0000 |
commit | 5e25b996982d42eb2587ec54db0d5b39508aa730 (patch) | |
tree | 04e409d5cf14e01161ccee90eef8e31662836492 /FS/bin/freeside-bill | |
parent | cf16b23820da69e3c8d0156ae27e21c635bf1ec5 (diff) |
add more options to freeside-overdue
add charge method to FS::cust_main
one-off packages default to disabled
billing payname defaults to first and last, not "Accounts Payable"
Diffstat (limited to 'FS/bin/freeside-bill')
-rwxr-xr-x | FS/bin/freeside-bill | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/FS/bin/freeside-bill b/FS/bin/freeside-bill index 7898936c5..49ec43c82 100755 --- a/FS/bin/freeside-bill +++ b/FS/bin/freeside-bill @@ -59,14 +59,14 @@ foreach $cust_main ( if ($opt_p) { $cust_main->apply_payments; - $error=$cust_main->apply_credits; + $cust_main->apply_credits; } if ($opt_c) { $error=$cust_main->collect('invoice_time'=>$time, 'batch_card' => $opt_i ? 'no' : 'yes', ); - warn "Error collecting from customer #" . $cust_main->gcustnum. ":$error" + warn "Error collecting from customer #" . $cust_main->custnum. ":$error" if $error; #sleep 1; @@ -123,7 +123,7 @@ customers. Otherwise, bills all customers. =head1 VERSION -$Id: freeside-bill,v 1.10 2001-11-05 14:04:56 ivan Exp $ +$Id: freeside-bill,v 1.11 2001-12-28 14:40:35 ivan Exp $ =head1 BUGS |