projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
better invoice summary, RT#20601
[freeside.git]
/
FS
/
FS
/
cust_bill_pkg_tax_rate_location.pm
diff --git
a/FS/FS/cust_bill_pkg_tax_rate_location.pm
b/FS/FS/cust_bill_pkg_tax_rate_location.pm
index
89c2529
..
39b2bb9
100644
(file)
--- 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;
);
$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)";
+
}
}