[freeside-commits] freeside/FS/FS/ClientAPI MyAccount.pm, 1.77, 1.78

Ivan,,, ivan at wavetail.420.am
Thu Jan 22 16:23:34 PST 2009


Update of /home/cvs/cvsroot/freeside/FS/FS/ClientAPI
In directory wavetail.420.am:/tmp/cvs-serv2099/FS/FS/ClientAPI

Modified Files:
	MyAccount.pm 
Log Message:
round the amounts returned by renew_info, RT#4623

Index: MyAccount.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/ClientAPI/MyAccount.pm,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -d -r1.77 -r1.78
--- MyAccount.pm	22 Jan 2009 17:29:21 -0000	1.77
+++ MyAccount.pm	23 Jan 2009 00:23:32 -0000	1.78
@@ -1130,7 +1130,7 @@
                       '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;



More information about the freeside-commits mailing list