From: Jeremy Davis Date: Tue, 21 Oct 2014 14:57:07 +0000 (-0400) Subject: Ticket #31674 Fix removal of leading 0's X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=ee6362289656880b31f26e627ba017f6274f523b Ticket #31674 Fix removal of leading 0's --- 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). ' '.