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

Ivan,,, ivan at wavetail.420.am
Thu Jan 22 16:49:43 PST 2009


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

Modified Files:
	MyAccount.pm 
Log Message:
typo in rounding 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.78
retrieving revision 1.79
diff -u -d -r1.78 -r1.79
--- MyAccount.pm	23 Jan 2009 00:23:32 -0000	1.78
+++ MyAccount.pm	23 Jan 2009 00:49:40 -0000	1.79
@@ -1130,7 +1130,7 @@
                       '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;



More information about the freeside-commits mailing list