[freeside-commits] freeside/FS/FS/cust_main Billing.pm, 1.18.2.11, 1.18.2.12

Ivan,,, ivan at wavetail.420.am
Wed Aug 3 15:13:04 PDT 2011


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

Modified Files:
      Tag: FREESIDE_2_1_BRANCH
	Billing.pm 
Log Message:
fix displaying usage separate from recurring when using separate_usage and invoice_sections but without a usage_section set, RT#13907

Index: Billing.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_main/Billing.pm,v
retrieving revision 1.18.2.11
retrieving revision 1.18.2.12
diff -u -w -d -r1.18.2.11 -r1.18.2.12
--- Billing.pm	12 Jul 2011 23:00:33 -0000	1.18.2.11
+++ Billing.pm	3 Aug 2011 22:13:01 -0000	1.18.2.12
@@ -1218,7 +1218,7 @@
     }
 
     if ($separate || $usage_mandate) {
-      $hash{section} = $section if ($separate || $usage_mandate);
+      $hash{section} = $section if $section;
       push @display, new FS::cust_bill_pkg_display { type => 'U', %hash };
     }
 



More information about the freeside-commits mailing list