summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2009-01-23 00:23:32 +0000
committerivan <ivan>2009-01-23 00:23:32 +0000
commit08ba9f8e8d5c7dc641817d3fa7580faf3a38b50a (patch)
tree1ea5513c8ca1dbb4b810fb85aee0f5686312f9de
parent2b8e51c711674efa5878354cd17e2875a5ee19b2 (diff)
round the amounts returned by renew_info, RT#4623
-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 bd95c2883..cbc3dba90 100644
--- a/FS/FS/ClientAPI/MyAccount.pm
+++ b/FS/FS/ClientAPI/MyAccount.pm
@@ -1130,7 +1130,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;