[freeside-commits] freeside/FS/FS cust_pay.pm,1.90.2.2,1.90.2.3

Mark Wells mark at wavetail.420.am
Wed Aug 31 01:27:43 PDT 2011


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

Modified Files:
      Tag: FREESIDE_2_1_BRANCH
	cust_pay.pm 
Log Message:
fix payment application with term discounts, #5318

Index: cust_pay.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_pay.pm,v
retrieving revision 1.90.2.2
retrieving revision 1.90.2.3
diff -u -w -d -r1.90.2.2 -r1.90.2.3
--- cust_pay.pm	11 Apr 2011 21:34:29 -0000	1.90.2.2
+++ cust_pay.pm	31 Aug 2011 08:27:41 -0000	1.90.2.3
@@ -204,7 +204,7 @@
       }
       my @pkgs = $cust_main->_discount_pkgs_and_bill;
       my $cust_bill = shift(@pkgs);
-      @pkgs = &FS::cust_main::Billing::_discountable_pkgs_at_term($months, @pkgs);
+      @pkgs = &FS::cust_main::Billing_Discount::_discountable_pkgs_at_term($months, @pkgs);
       $_->bill($_->last_bill) foreach @pkgs;
       $error = $cust_main->bill( 
         'recurring_only' => 1,



More information about the freeside-commits mailing list