projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix 'Can't call method "setup" on an undefined value' error when using into rates...
[freeside.git]
/
FS
/
FS
/
pay_batch
/
RBC.pm
diff --git
a/FS/FS/pay_batch/RBC.pm
b/FS/FS/pay_batch/RBC.pm
index
daf6548
..
6ee5771
100644
(file)
--- a/
FS/FS/pay_batch/RBC.pm
+++ b/
FS/FS/pay_batch/RBC.pm
@@
-14,7
+14,7
@@
$name = 'RBC';
%import_info = (
'filetype' => 'fixed',
'formatre' =>
%import_info = (
'filetype' => 'fixed',
'formatre' =>
- '^(.).{18}(.{4}).{3}(.).{11}(.{19}).{6}(.{30}).{17}(.{9})(.{18}).{6}(.{14}).{23}(.).{9}$',
+ '^(.).{18}(.{4}).{3}(.).{11}(.{19}).{6}(.{30}).{17}(.{9})(.{18}).{6}(.{14}).{23}(.).{9}
\r?
$',
'fields' => [ qw(
recordtype
batchnum
'fields' => [ qw(
recordtype
batchnum
@@
-104,7
+104,7
@@
$name = 'RBC';
sprintf("%09u", $aba).
sprintf("%-18s", $account).
' '.
sprintf("%09u", $aba).
sprintf("%-18s", $account).
' '.
- sprintf("%010
u
",$cust_pay_batch->amount*100).
+ sprintf("%010
.0f
",$cust_pay_batch->amount*100).
' '.
time2str("%Y%j", $pay_batch->download).
sprintf("%-30s", $cust_pay_batch->cust_main->first . ' ' .
' '.
time2str("%Y%j", $pay_batch->download).
sprintf("%-30s", $cust_pay_batch->cust_main->first . ' ' .
@@
-131,7
+131,7
@@
$name = 'RBC';
sprintf("%10s", $client_num).
' ' x 20 .
sprintf("%06u", $batchcount).
sprintf("%10s", $client_num).
' ' x 20 .
sprintf("%06u", $batchcount).
- sprintf("%014
u
", $batchtotal*100).
+ sprintf("%014
.0f
", $batchtotal*100).
'00' .
'000000' . # total number of customer information records
' ' x 84
'00' .
'000000' . # total number of customer information records
' ' x 84