projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix handling of tax location records and add a 'clear' button for tax credits
[freeside.git]
/
FS
/
FS
/
cust_bill_pkg_tax_location.pm
diff --git
a/FS/FS/cust_bill_pkg_tax_location.pm
b/FS/FS/cust_bill_pkg_tax_location.pm
index
0d3bd3a
..
120a2d0
100644
(file)
--- 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?
);
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
}
=item owed