summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2009-01-23 00:49:40 +0000
committerivan <ivan>2009-01-23 00:49:40 +0000
commit3034abf97db1bcabb0fc81e565f3f6cccd9de827 (patch)
treedca30973a35a1098a43f76578c04fa93909bfd39
parent08ba9f8e8d5c7dc641817d3fa7580faf3a38b50a (diff)
typo in rounding 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 cbc3dba90..213f6b45b 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' => sprintf('.%2f', $total),
+ 'amount' => sprintf('%.2f', $total),
};
}
@cust_pkg;