summaryrefslogtreecommitdiff
path: root/FS/bin/freeside-overdue
diff options
context:
space:
mode:
Diffstat (limited to 'FS/bin/freeside-overdue')
-rwxr-xr-xFS/bin/freeside-overdue8
1 files changed, 5 insertions, 3 deletions
diff --git a/FS/bin/freeside-overdue b/FS/bin/freeside-overdue
index 8f7f872c8..076330228 100755
--- a/FS/bin/freeside-overdue
+++ b/FS/bin/freeside-overdue
@@ -92,9 +92,11 @@ foreach $cust_main ( qsearch('cust_main',{} ) ) {
if ( $opt{o} ) {
print "\n\tCollecting" unless $opt{q};
- my $error = $cust_main->collect( 'invoice_time'=>$now,
- 'batch_card' => $opt{i} ? 'no' : 'yes',
- );
+ my $error = $cust_main->collect(
+ 'invoice_time' => $now,
+ 'batch_card' => $opt{i} ? 'no' : 'yes',
+ 'force_print' => 'yes',
+ );
warn "Error collecting from customer #" . $cust_main->custnum. ":$error"
if $error;
}