[freeside-commits] freeside/FS/FS/ClientAPI MyAccount.pm, 1.53.2.17, 1.53.2.18

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


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

Modified Files:
      Tag: FREESIDE_1_7_BRANCH
	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.53.2.17
retrieving revision 1.53.2.18
diff -u -d -r1.53.2.17 -r1.53.2.18
--- MyAccount.pm	23 Jan 2009 00:23:33 -0000	1.53.2.17
+++ MyAccount.pm	23 Jan 2009 00:49:42 -0000	1.53.2.18
@@ -1040,7 +1040,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