[freeside-commits] freeside/FS/FS cust_bill.pm, 1.263.2.24, 1.263.2.25
Jeff Finucane,420,,
jeff at wavetail.420.am
Tue Aug 17 21:42:18 PDT 2010
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv31746
Modified Files:
Tag: FREESIDE_1_9_BRANCH
cust_bill.pm
Log Message:
handle the usage_class-less details in svc_phone sections
Index: cust_bill.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_bill.pm,v
retrieving revision 1.263.2.24
retrieving revision 1.263.2.25
diff -u -w -d -r1.263.2.24 -r1.263.2.25
--- cust_bill.pm 10 Aug 2010 06:28:41 -0000 1.263.2.24
+++ cust_bill.pm 18 Aug 2010 04:42:16 -0000 1.263.2.25
@@ -3613,6 +3613,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