projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79a01ef
)
allow maxtype=18 in CCH tax calculation, #31395
author
Mark Wells
<mark@freeside.biz>
Thu, 16 Oct 2014 19:24:18 +0000
(12:24 -0700)
committer
Mark Wells
<mark@freeside.biz>
Thu, 16 Oct 2014 19:24:18 +0000
(12:24 -0700)
FS/FS/tax_rate.pm
patch
|
blob
|
history
diff --git
a/FS/FS/tax_rate.pm
b/FS/FS/tax_rate.pm
index
78917a3
..
9f07f36
100644
(file)
--- 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'
);