diff options
author | Mark Wells <mark@freeside.biz> | 2014-10-16 12:24:29 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2014-10-16 12:24:29 -0700 |
commit | c5c8e792b4f4940029bb7a3385e35166a3787220 (patch) | |
tree | babdb16e787b09a6448be0a179f297eff44dfe99 | |
parent | a21bd79010b9a3a5e1f9e19dca673dcb38f35334 (diff) |
allow maxtype=18 in CCH tax calculation, #31395
-rw-r--r-- | FS/FS/tax_rate.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/FS/FS/tax_rate.pm b/FS/FS/tax_rate.pm index 5027917..d773ff5 100644 --- a/FS/FS/tax_rate.pm +++ b/FS/FS/tax_rate.pm @@ -433,7 +433,9 @@ sub taxline { my $maxtype = $self->maxtype || 0; if ($maxtype != 0 && $maxtype != 1 - && $maxtype != 14 && $maxtype != 15) { + && $maxtype != 14 && $maxtype != 15 + && $maxtype != 18 # sigh + ) { return $self->_fatal_or_null( 'tax with "'. $self->maxtype_name. '" threshold' ); |