[freeside-commits] branch master updated. ee6362289656880b31f26e627ba017f6274f523b

Jeremy Davis jeremyd at 420.am
Tue Oct 21 07:59:18 PDT 2014


The branch, master has been updated
       via  ee6362289656880b31f26e627ba017f6274f523b (commit)
      from  d20e332890418a6713c0617cd7af5507664168e2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ee6362289656880b31f26e627ba017f6274f523b
Author: Jeremy Davis <jeremyd at freeside.biz>
Date:   Tue Oct 21 10:57:07 2014 -0400

    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 7536266..4b11fdb 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).
     '      '.

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/pay_batch/RBC.pm |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)




More information about the freeside-commits mailing list