X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fpart_pkg_taxoverride.pm;h=0fdfa5002136b455719af52cf2fa5af282f33f8d;hp=656fe53e2fce07c550200c6f7d0fb7645ad2c5d5;hb=20f03d52cc6c930f610c0b4466eeeeda54fdbb40;hpb=4104f4e3d1b387296b16b4a035b4b7f42e0c5977 diff --git a/FS/FS/part_pkg_taxoverride.pm b/FS/FS/part_pkg_taxoverride.pm index 656fe53e2..0fdfa5002 100644 --- a/FS/FS/part_pkg_taxoverride.pm +++ b/FS/FS/part_pkg_taxoverride.pm @@ -41,9 +41,9 @@ Primary key The package definition id -=item taxnum +=item taxclassnum -The tax rate definition id +The tax class id =back @@ -96,7 +96,7 @@ sub check { my $error = $self->ut_numbern('taxoverridenum') || $self->ut_foreign_key('pkgpart', 'part_pkg', 'pkgpart') - || $self->ut_foreign_key('taxnum', 'tax_rate', 'taxnum') + || $self->ut_foreign_key('taxclassnum', 'tax_class', 'taxclassnum') ; return $error if $error;