From 64f23bb7a8eafa94508477d5f276463fb188dd7d Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 3 Aug 2011 22:13:01 +0000 Subject: [PATCH] fix displaying usage separate from recurring when using separate_usage and invoice_sections but without a usage_section set, RT#13907 --- FS/FS/cust_main/Billing.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FS/FS/cust_main/Billing.pm b/FS/FS/cust_main/Billing.pm index e78f3148a..f4842e6e8 100644 --- a/FS/FS/cust_main/Billing.pm +++ b/FS/FS/cust_main/Billing.pm @@ -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 }; } -- 2.11.0