From 1952f05a742b6a71d59f84ad55e84c27833fa980 Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Thu, 16 Oct 2014 12:24:18 -0700 Subject: [PATCH] allow maxtype=18 in CCH tax calculation, #31395 --- FS/FS/tax_rate.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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' ); -- 2.11.0