[freeside-commits] branch FREESIDE_2_3_BRANCH updated. 096a664594b50f9ffcf09147a2369d4448293ced

Ivan ivan at 420.am
Wed Oct 23 14:46:02 PDT 2013


The branch, FREESIDE_2_3_BRANCH has been updated
       via  096a664594b50f9ffcf09147a2369d4448293ced (commit)
      from  6d40d7b2f1bbaa986d7eafc34c3908106b1c3ab5 (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 096a664594b50f9ffcf09147a2369d4448293ced
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed Oct 23 14:46:01 2013 -0700

    explicitly reformat B:OP amounts from self-service API transactions as 5.44, RT#22763

diff --git a/FS/FS/ClientAPI/MyAccount.pm b/FS/FS/ClientAPI/MyAccount.pm
index d946a62..8098803 100644
--- a/FS/FS/ClientAPI/MyAccount.pm
+++ b/FS/FS/ClientAPI/MyAccount.pm
@@ -999,7 +999,7 @@ sub validate_payment {
 
   { 
     'cust_main'      => $cust_main, #XXX or just custnum??
-    'amount'         => $amount,
+    'amount'         => sprintf('%.2f', $amount),
     'payby'          => $payby,
     'payinfo'        => $payinfo,
     'paymask'        => $cust_main->mask_payinfo( $payby, $payinfo ),

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

Summary of changes:
 FS/FS/ClientAPI/MyAccount.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)




More information about the freeside-commits mailing list