summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2014-10-16 12:24:18 -0700
committerMark Wells <mark@freeside.biz>2014-10-16 12:24:18 -0700
commit1952f05a742b6a71d59f84ad55e84c27833fa980 (patch)
tree94a5c567cc1a73241028ec7d77aa29b2ddca06e8 /FS
parent79a01ef71d4522b59c739fb08c231624df0adce0 (diff)
allow maxtype=18 in CCH tax calculation, #31395
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/tax_rate.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/FS/FS/tax_rate.pm b/FS/FS/tax_rate.pm
index 78917a368..9f07f369b 100644
--- a/FS/FS/tax_rate.pm
+++ b/FS/FS/tax_rate.pm
@@ -435,7 +435,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'
);