From: jeff Date: Wed, 20 Oct 2010 05:01:39 +0000 (+0000) Subject: move handling of classless svc_phone line item details to the correct place in 1... X-Git-Tag: freeside_1_9_5~5 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=da7d083267e5071cfc0dffb8ef93760b84538364;p=freeside.git move handling of classless svc_phone line item details to the correct place in 1.9 RT10170 --- diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm index 85f8285ea..bcd3bf397 100644 --- a/FS/FS/cust_bill.pm +++ b/FS/FS/cust_bill.pm @@ -3616,7 +3616,6 @@ sub _items_extra_usage_sections { 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 @@ sub _items_svc_phone_sections { 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;