round the amounts returned by renew_info, RT#4623
authorivan <ivan>
Fri, 23 Jan 2009 00:23:32 +0000 (00:23 +0000)
committerivan <ivan>
Fri, 23 Jan 2009 00:23:32 +0000 (00:23 +0000)
FS/FS/ClientAPI/MyAccount.pm

index bd95c28..cbc3dba 100644 (file)
@@ -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;