diff options
author | Mark Wells <mark@freeside.biz> | 2014-03-11 10:24:23 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2014-03-11 10:30:07 -0700 |
commit | 75e708be04ef8c4afb4a51b70f18b0f7a2ad41bc (patch) | |
tree | 0232bb714dfee944af62a1a620b1e44d6c166fe6 /FS/FS/cust_bill_pkg.pm | |
parent | 36b3d6113fe4d45ba633e01e6e159e06cd2662f9 (diff) |
fix tax calculation on bundled packages, fallout from #25899
Diffstat (limited to 'FS/FS/cust_bill_pkg.pm')
-rw-r--r-- | FS/FS/cust_bill_pkg.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/cust_bill_pkg.pm b/FS/FS/cust_bill_pkg.pm index 594c9e668..bf71f397e 100644 --- a/FS/FS/cust_bill_pkg.pm +++ b/FS/FS/cust_bill_pkg.pm @@ -985,8 +985,8 @@ charge. If called on a tax line, returns nothing. 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 ) { |