[freeside-commits] freeside/FS/FS cust_bill.pm, 1.263.2.27, 1.263.2.28

Jeff Finucane,420,, jeff at wavetail.420.am
Tue Oct 19 22:01:41 PDT 2010


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

Modified Files:
      Tag: FREESIDE_1_9_BRANCH
	cust_bill.pm 
Log Message:
move handling of classless svc_phone line item details to the correct place in 1.9 RT10170

Index: cust_bill.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_bill.pm,v
retrieving revision 1.263.2.27
retrieving revision 1.263.2.28
diff -u -w -d -r1.263.2.27 -r1.263.2.28
--- cust_bill.pm	23 Aug 2010 16:47:13 -0000	1.263.2.27
+++ cust_bill.pm	20 Oct 2010 05:01:39 -0000	1.263.2.28
@@ -3616,7 +3616,6 @@
   my %lines = ();
 
   my %usage_class =  map { $_->classnum => $_ } qsearch( 'usage_class', {} );
-  $usage_class{''} ||= new FS::usage_class { 'classname' => '', 'weight' => 0 };
   foreach my $cust_bill_pkg ( $self->cust_bill_pkg ) {
     next unless $cust_bill_pkg->pkgnum > 0;
 
@@ -3707,6 +3706,7 @@
   my %lines = ();
 
   my %usage_class =  map { $_->classnum => $_ } qsearch( 'usage_class', {} );
+  $usage_class{''} ||= new FS::usage_class { 'classname' => '', 'weight' => 0 };
 
   foreach my $cust_bill_pkg ( $self->cust_bill_pkg ) {
     next unless $cust_bill_pkg->pkgnum > 0;



More information about the freeside-commits mailing list