projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix tax calculation on bundled packages, fallout from #25899
[freeside.git]
/
FS
/
FS
/
cust_bill_pkg.pm
diff --git
a/FS/FS/cust_bill_pkg.pm
b/FS/FS/cust_bill_pkg.pm
index
066ddf1
..
ef9c01a
100644
(file)
--- a/
FS/FS/cust_bill_pkg.pm
+++ b/
FS/FS/cust_bill_pkg.pm
@@
-982,8
+982,8
@@
charge. If called on a tax line, returns nothing.
sub part_X {
my $self = shift;
sub part_X {
my $self = shift;
- if ( $self->
override_pkgpart
) {
- return FS::part_pkg->by_key($self->
override_pkgpart
);
+ if ( $self->
pkgpart_override
) {
+ return FS::part_pkg->by_key($self->
pkgpart_override
);
} elsif ( $self->pkgnum ) {
return $self->cust_pkg->part_pkg;
} elsif ( $self->feepart ) {
} elsif ( $self->pkgnum ) {
return $self->cust_pkg->part_pkg;
} elsif ( $self->feepart ) {