X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=inline;f=FS%2FFS%2Fcust_bill_pkg_tax_location.pm;h=120a2d036a0886c7919eeb2714d5c03cd3332ddd;hb=fafdaeca1af0771cefd8f6707b0f75ee8a33f03a;hp=0d3bd3a3247efe7a76e3175fda7922e94e798ef5;hpb=40a7b3dc653e099f7bd0bd762b649b04c4432db2;p=freeside.git diff --git a/FS/FS/cust_bill_pkg_tax_location.pm b/FS/FS/cust_bill_pkg_tax_location.pm index 0d3bd3a32..120a2d036 100644 --- a/FS/FS/cust_bill_pkg_tax_location.pm +++ b/FS/FS/cust_bill_pkg_tax_location.pm @@ -161,7 +161,10 @@ sub desc { map { $cust_location->$_ } qw( state county city ) # country? ); - $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)"; } =item owed