diff options
author | Jeremy Davis <jeremyd@freeside.biz> | 2014-10-21 10:57:07 -0400 |
---|---|---|
committer | Jeremy Davis <jeremyd@freeside.biz> | 2014-10-21 10:57:07 -0400 |
commit | ee6362289656880b31f26e627ba017f6274f523b (patch) | |
tree | 15162fe382b336ead44deccbf0a8cb2d43b6db3b | |
parent | d20e332890418a6713c0617cd7af5507664168e2 (diff) |
Ticket #31674 Fix removal of leading 0's
-rw-r--r-- | FS/FS/pay_batch/RBC.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/FS/FS/pay_batch/RBC.pm b/FS/FS/pay_batch/RBC.pm index 753626620..4b11fdb89 100644 --- a/FS/FS/pay_batch/RBC.pm +++ b/FS/FS/pay_batch/RBC.pm @@ -110,9 +110,9 @@ $name = 'RBC'; ' '. sprintf("%-19s", $cust_pay_batch->paybatchnum). '00'. - sprintf("%04u", $bankno). - sprintf("%05u", $branch). - sprintf("%-18u", $account). + sprintf("%04s", $bankno). + sprintf("%05s", $branch). + sprintf("%-18s", $account). ' '. sprintf("%010.0f",$cust_pay_batch->amount*100). ' '. |