summaryrefslogtreecommitdiff
path: root/FS/bin/freeside-eftca-upload
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2012-06-30 16:37:06 -0700
committerMark Wells <mark@freeside.biz>2012-06-30 16:37:06 -0700
commit92aedddd3684167abb60cd3f1d77bbc156c592e6 (patch)
treef061fdd9dd2434ad6f490f01d682496b46a925d5 /FS/bin/freeside-eftca-upload
parente5fd495945bc0b907cf0d4d21d52bb6b12e7051a (diff)
Business::BatchPayment interface, #17373
Diffstat (limited to 'FS/bin/freeside-eftca-upload')
-rwxr-xr-xFS/bin/freeside-eftca-upload2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/bin/freeside-eftca-upload b/FS/bin/freeside-eftca-upload
index 45a358b..b66765a 100755
--- a/FS/bin/freeside-eftca-upload
+++ b/FS/bin/freeside-eftca-upload
@@ -46,7 +46,7 @@ foreach my $pay_batch (@batches) {
my $batchnum = $pay_batch->batchnum;
my $filename = time2str('%Y%m%d', time) . '-' . sprintf('%06d.csv',$batchnum);
print STDERR "Exporting batch $batchnum to $filename...\n" if $opt_v;
- my $text = $pay_batch->export_batch('eft_canada');
+ my $text = $pay_batch->export_batch(format => 'eft_canada');
open OUT, ">$tmpdir/$filename";
print OUT $text;
close OUT;