X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpay_batch%2Ftd_eft1464.pm;h=afdc1bef329406afdb9fe032885871903da6dd96;hb=aed8ec35ccb9cdeb7ea0cb6ff2946f9d83d582f6;hp=416e28da5c28b3df013314da92ca3eb51441c84d;hpb=0fb307c305e4bc2c9c27dc25a3308beae3a4d33c;p=freeside.git diff --git a/FS/FS/pay_batch/td_eft1464.pm b/FS/FS/pay_batch/td_eft1464.pm index 416e28da5..afdc1bef3 100644 --- a/FS/FS/pay_batch/td_eft1464.pm +++ b/FS/FS/pay_batch/td_eft1464.pm @@ -65,11 +65,11 @@ $name = 'td_eft1464'; '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 @@ $name = 'td_eft1464'; 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,