summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2015-03-09 16:18:08 -0700
committerMark Wells <mark@freeside.biz>2015-03-09 16:18:08 -0700
commit5edf8d52173c8579a1d7baf14ca548aa39e211c8 (patch)
treeb84cbc2db26590b364e1b84f7e2b2201b1b36e2f /FS
parent06ffff9be0c3b58a3c14855597fb48035ef0f1f2 (diff)
fix voiding of invoices containing taxes on fees, #33798, see also #32223
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/cust_bill_pkg_tax_location_void.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_bill_pkg_tax_location_void.pm b/FS/FS/cust_bill_pkg_tax_location_void.pm
index a683227ba..7b79e6fa0 100644
--- a/FS/FS/cust_bill_pkg_tax_location_void.pm
+++ b/FS/FS/cust_bill_pkg_tax_location_void.pm
@@ -116,7 +116,7 @@ sub check {
|| $self->ut_foreign_key('billpkgnum', 'cust_bill_pkg_void', 'billpkgnum' )
|| $self->ut_number('taxnum') #cust_bill_pkg/tax_rate key, based on taxtype
|| $self->ut_enum('taxtype', [ qw( FS::cust_main_county FS::tax_rate ) ] )
- || $self->ut_foreign_key('pkgnum', 'cust_pkg', 'pkgnum' )
+ || $self->ut_number('pkgnum', 'cust_pkg', 'pkgnum' )
|| $self->ut_foreign_key('locationnum', 'cust_location', 'locationnum' )
|| $self->ut_money('amount')
|| $self->ut_foreign_key('taxable_billpkgnum', 'cust_bill_pkg_void', 'billpkgnum')