[freeside-commits] branch master updated. 609c2568d272a99c659381789acce954294e41f3
Ivan
ivan at 420.am
Wed Oct 23 14:45:59 PDT 2013
The branch, master has been updated
via 609c2568d272a99c659381789acce954294e41f3 (commit)
from 894a7ed2eb623a8c35050a4eea8ea33113b046e3 (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 609c2568d272a99c659381789acce954294e41f3
Author: Ivan Kohler <ivan at freeside.biz>
Date: Wed Oct 23 14:45:58 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 77a4683..db50d42 100644
--- a/FS/FS/ClientAPI/MyAccount.pm
+++ b/FS/FS/ClientAPI/MyAccount.pm
@@ -1011,7 +1011,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