From 368f5b12f4cad220577c19035bcc4802b4c69183 Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 23 Jan 2009 00:23:33 +0000 Subject: [PATCH] round the amounts returned by renew_info, RT#4623 --- FS/FS/ClientAPI/MyAccount.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1