From c5c8e792b4f4940029bb7a3385e35166a3787220 Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Thu, 16 Oct 2014 12:24:29 -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 50279172d..d773ff534 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' ); -- 2.11.0