summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorivan <ivan>2009-01-23 00:49:42 +0000
committerivan <ivan>2009-01-23 00:49:42 +0000
commit77ba993cd7a4110d75356d6405f88c460932afd3 (patch)
tree817b828ac9ff14ef9c98a87f15e2867d3b79b09f /FS
parent368f5b12f4cad220577c19035bcc4802b4c69183 (diff)
typo in rounding 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 0d84c0e0c..f8e26d213 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' => sprintf('.%2f', $total),
+ 'amount' => sprintf('%.2f', $total),
};
}
@cust_pkg;