projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
894a7ed
)
explicitly reformat B:OP amounts from self-service API transactions as 5.44, RT#22763
author
Ivan Kohler
<ivan@freeside.biz>
Wed, 23 Oct 2013 21:45:58 +0000
(14:45 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Wed, 23 Oct 2013 21:45:58 +0000
(14:45 -0700)
FS/FS/ClientAPI/MyAccount.pm
patch
|
blob
|
history
diff --git
a/FS/FS/ClientAPI/MyAccount.pm
b/FS/FS/ClientAPI/MyAccount.pm
index
77a4683
..
db50d42
100644
(file)
--- 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 ),