diff options
author | ivan <ivan> | 2011-08-03 22:13:01 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-08-03 22:13:01 +0000 |
commit | 64f23bb7a8eafa94508477d5f276463fb188dd7d (patch) | |
tree | 7ee1435fb2f3ed1b0765d97960b68287e0a7bc11 | |
parent | 4e181f0a24f8b514ea7bab6e0deef0cf3bbd73ab (diff) |
fix displaying usage separate from recurring when using separate_usage and invoice_sections but without a usage_section set, RT#13907
-rw-r--r-- | FS/FS/cust_main/Billing.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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 }; } |