diff options
author | Jeremy Davis <jeremyd@freeside.biz> | 2014-10-21 11:00:18 -0400 |
---|---|---|
committer | Jeremy Davis <jeremyd@freeside.biz> | 2014-10-21 11:00:18 -0400 |
commit | abd29d687d1e5ceb6cb2d1675af94282b574c98b (patch) | |
tree | d1a4d26e556074271cd94102ef56c89e0a52653a | |
parent | 2de49bc86da621c3a5733c2b89c8ed85abadcac3 (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). ' '. |