diff options
author | jeff <jeff> | 2010-08-23 16:47:00 +0000 |
---|---|---|
committer | jeff <jeff> | 2010-08-23 16:47:00 +0000 |
commit | c8cd96b69c9c1ede44c06c04f2703079d1afdf2b (patch) | |
tree | 06153af885b83887f6ea26eca21ddb31439ae4d9 /FS/FS/cust_bill_pkg_display.pm | |
parent | 57999adbee73616a2c18b82df74d476f5005dcd8 (diff) |
create a default finance section and have hidden sectionless line items remain sectionless
Diffstat (limited to 'FS/FS/cust_bill_pkg_display.pm')
-rw-r--r-- | FS/FS/cust_bill_pkg_display.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_bill_pkg_display.pm b/FS/FS/cust_bill_pkg_display.pm index e9da18dec..a864ec114 100644 --- a/FS/FS/cust_bill_pkg_display.pm +++ b/FS/FS/cust_bill_pkg_display.pm @@ -55,7 +55,7 @@ sub section { my $section = $self->getfield('section'); unless ($section) { my $cust_bill_pkg = $self->cust_bill_pkg; - if ( $cust_bill_pkg->pkgnum > 0 ) { + if ( $cust_bill_pkg->pkgnum > 0 && !$cust_bill_pkg->hidden ) { my $part_pkg = $cust_bill_pkg->part_pkg; $section = $part_pkg->categoryname if $part_pkg; } |