[freeside-commits] branch FREESIDE_3_BRANCH updated. abd29d687d1e5ceb6cb2d1675af94282b574c98b

Jeremy Davis jeremyd at 420.am
Tue Oct 21 08:00:26 PDT 2014


The branch, FREESIDE_3_BRANCH has been updated
       via  abd29d687d1e5ceb6cb2d1675af94282b574c98b (commit)
      from  2de49bc86da621c3a5733c2b89c8ed85abadcac3 (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 abd29d687d1e5ceb6cb2d1675af94282b574c98b
Author: Jeremy Davis <jeremyd at freeside.biz>
Date:   Tue Oct 21 11:00:18 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