[freeside-commits] freeside/FS/FS cust_bill.pm,1.338,1.339

Erik Levinson levinse at wavetail.420.am
Mon May 9 13:07:33 PDT 2011


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

Modified Files:
	cust_bill.pm 
Log Message:
fix UI bugs in accountcode billing implementation, RT12181

Index: cust_bill.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_bill.pm,v
retrieving revision 1.338
retrieving revision 1.339
diff -u -w -d -r1.338 -r1.339
--- cust_bill.pm	28 Apr 2011 00:59:40 -0000	1.338
+++ cust_bill.pm	9 May 2011 20:07:31 -0000	1.339
@@ -2832,9 +2832,11 @@
     if ($conf->exists('voip-cust_accountcode_cdr') && $cust_main->accountcode_cdr) {
       my ($accountcode_section, $accountcode_lines) =
         $self->_items_accountcode_cdr($escape_function_nonbsp,$format);
+      if ( scalar(@$accountcode_lines) ) {
       push @{$late_sections}, $accountcode_section;
       push @detail_items, @$accountcode_lines;
     }
+    }
   }else{
     push @sections, { 'description' => '', 'subtotal' => '' };
   }



More information about the freeside-commits mailing list