summaryrefslogtreecommitdiff
path: root/FS/bin/freeside-bill
diff options
context:
space:
mode:
Diffstat (limited to 'FS/bin/freeside-bill')
-rwxr-xr-xFS/bin/freeside-bill6
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