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

Ivan,,, ivan at wavetail.420.am
Sat Jan 24 13:53:38 PST 2009


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

Modified Files:
	MyAccount.pm 
Log Message:
have the prepay amounts include the current balance, RT#4623

Index: MyAccount.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/ClientAPI/MyAccount.pm,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -d -r1.79 -r1.80
--- MyAccount.pm	23 Jan 2009 00:49:40 -0000	1.79
+++ MyAccount.pm	24 Jan 2009 21:53:35 -0000	1.80
@@ -1120,7 +1120,7 @@
 
   #return { 'error' => 'No active packages to renew.' } unless @cust_pkg;
 
-  my $total = 0;
+  my $total = $cust_main->balance;
 
   my @array = map {
                     $total += $_->part_pkg->base_recur;



More information about the freeside-commits mailing list