[freeside-commits] freeside/FS/FS/ClientAPI MyAccount.pm, 1.49, 1.50 Signup.pm, 1.30, 1.31

Ivan,,, ivan at wavetail.420.am
Sun Jan 21 13:45:30 PST 2007


Update of /home/cvs/cvsroot/freeside/FS/FS/ClientAPI
In directory wavetail:/tmp/cvs-serv32190/FS/FS/ClientAPI

Modified Files:
	MyAccount.pm Signup.pm 
Log Message:
Have lineitem-specific applications happen in all cases; add weightsto control

Index: MyAccount.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/ClientAPI/MyAccount.pm,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- MyAccount.pm	5 Jan 2007 05:19:35 -0000	1.49
+++ MyAccount.pm	21 Jan 2007 21:45:28 -0000	1.50
@@ -877,8 +877,7 @@
 
     my $bill_error = $cust_main->bill;
 
-    $cust_main->apply_payments;
-    $cust_main->apply_credits;
+    $cust_main->apply_payments_and_credits;
     $bill_error = $cust_main->collect('realtime' => 1);
 
     if (    $cust_main->balance > $old_balance

Index: Signup.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/ClientAPI/Signup.pm,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- Signup.pm	16 Jan 2007 09:11:53 -0000	1.30
+++ Signup.pm	21 Jan 2007 21:45:28 -0000	1.31
@@ -334,8 +334,7 @@
     #warn "[fs_signup_server] error billing new customer: $bill_error"
     #  if $bill_error;
 
-    $cust_main->apply_payments;
-    $cust_main->apply_credits;
+    $cust_main->apply_payments_and_credits;
 
     $bill_error = $cust_main->collect('realtime' => 1);
     #warn "[fs_signup_server] error collecting from new customer: $bill_error"



More information about the freeside-commits mailing list