X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fcust_bill_pkg_tax_rate_location.pm;h=39b2bb95a09ee935d3999c2a67e225ddb068b44c;hp=89c2529786cf54111e4e345a3468ef9656d3a62a;hb=ad7f49821d40ffd099a45acc32ba91e0e211aede;hpb=64fcb43c61c196766260319cd9219eb70ea27767 diff --git a/FS/FS/cust_bill_pkg_tax_rate_location.pm b/FS/FS/cust_bill_pkg_tax_rate_location.pm index 89c252978..39b2bb95a 100644 --- a/FS/FS/cust_bill_pkg_tax_rate_location.pm +++ b/FS/FS/cust_bill_pkg_tax_rate_location.pm @@ -165,7 +165,11 @@ sub desc { ); $location .= ( $location && $self->locationtaxid ) ? ', ' : ''; $location .= $self->locationtaxid; - $self->cust_bill_pkg->desc. " ($location)"; + my $cust_bill_pkg_desc = $self->billpkgnum + ? $self->cust_bill_pkg->desc + : $self->cust_bill_pkg_desc; + "$cust_bill_pkg_desc ($location)"; + }