fix displaying usage separate from recurring when using separate_usage and invoice_se...
authorivan <ivan>
Wed, 3 Aug 2011 22:13:01 +0000 (22:13 +0000)
committerivan <ivan>
Wed, 3 Aug 2011 22:13:01 +0000 (22:13 +0000)
FS/FS/cust_main/Billing.pm

index e78f314..f4842e6 100644 (file)
@@ -1218,7 +1218,7 @@ sub _handle_taxes {
     }
 
     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 };
     }