summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorivan <ivan>2009-01-23 00:23:33 +0000
committerivan <ivan>2009-01-23 00:23:33 +0000
commit368f5b12f4cad220577c19035bcc4802b4c69183 (patch)
treeccb8231f65ca36df33b9fbf5f9dcc6a226005b13 /FS
parentf5cb9c88d19ca341da88afb5c622a1958809ace2 (diff)
round the amounts returned by renew_info, RT#4623
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/ClientAPI/MyAccount.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/ClientAPI/MyAccount.pm b/FS/FS/ClientAPI/MyAccount.pm
index d4d0e0c9d..0d84c0e0c 100644
--- a/FS/FS/ClientAPI/MyAccount.pm
+++ b/FS/FS/ClientAPI/MyAccount.pm
@@ -1040,7 +1040,7 @@ sub renew_info {
'bill_date_pretty' => time2str('%x', $_->bill),
'renew_date' => $renew_date,
'renew_date_pretty' => time2str('%x', $renew_date),
- 'amount' => $total,
+ 'amount' => sprintf('.%2f', $total),
};
}
@cust_pkg;