[freeside-commits] freeside/FS/FS/pay_batch td_eft1464.pm,1.5,1.6
Mark Wells
mark at wavetail.420.am
Wed Apr 20 23:07:16 PDT 2011
Update of /home/cvs/cvsroot/freeside/FS/FS/pay_batch
In directory wavetail.420.am:/tmp/cvs-serv8226/FS/FS/pay_batch
Modified Files:
td_eft1464.pm
Log Message:
fix EFT1464 batch format, #10545
Index: td_eft1464.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/pay_batch/td_eft1464.pm,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -w -d -r1.5 -r1.6
--- td_eft1464.pm 4 Feb 2011 01:12:00 -0000 1.5
+++ td_eft1464.pm 21 Apr 2011 06:07:14 -0000 1.6
@@ -65,11 +65,11 @@
'retacct',
'cpacode',
} = $conf->config("batchconfig-td_eft1464");
- $opt{'origid'} = sprintf('%-10s', $opt{'origid'});
- $opt{'shortname'} = sprintf('%-15s', $opt{'shortname'});
- $opt{'longname'} = sprintf('%-30s', $opt{'longname'});
- $opt{'retbranch'} = '0004'.sprintf('%5s',$opt{'retbranch'});
- $opt{'retacct'} = sprintf('%-11s', $opt{'retacct'}). ' ';
+ $opt{'origid'} = sprintf('%-10.10s', $opt{'origid'});
+ $opt{'shortname'} = sprintf('%-15.15s', $opt{'shortname'});
+ $opt{'longname'} = sprintf('%-30.30s', $opt{'longname'});
+ $opt{'retbranch'} = '0004'.sprintf('%5.5s',$opt{'retbranch'});
+ $opt{'retacct'} = sprintf('%-11.11s', $opt{'retacct'}). ' ';
$i = 1;
},
header => sub {
@@ -115,17 +115,17 @@
sprintf('%010.0f', $cust_pay_batch->amount*100),
$opt{'due'}, #due date...? XXX
sprintf('%09u', $aba),
- sprintf('%-12s', $account),
+ sprintf('%-12.12s', $account),
'0' x 22,
'0' x 3,
$opt{'shortname'},
- sprintf('%-30s',
+ sprintf('%-30.30s',
join(' ',
$cust_pay_batch->first, $cust_pay_batch->last)
),
$opt{'longname'},
$opt{'origid'},
- sprintf('%-19s', $cust_pay_batch->paybatchnum), # originator reference num
+ sprintf('%-19.19s', $cust_pay_batch->paybatchnum), # originator reference num
$opt{'retbranch'},
$opt{'retacct'},
' ' x 15,
More information about the freeside-commits
mailing list