From c94cc8e588a0888d4b979a10b65f02d07355c4b1 Mon Sep 17 00:00:00 2001 From: jeff Date: Fri, 5 Dec 2008 17:23:49 +0000 Subject: [PATCH] passthrough support for gross revenue taxes --- FS/FS/tax_rate.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/FS/FS/tax_rate.pm b/FS/FS/tax_rate.pm index 2837f9cc0..ce460e192 100644 --- a/FS/FS/tax_rate.pm +++ b/FS/FS/tax_rate.pm @@ -294,6 +294,7 @@ Returns the human understandable value associated with the basetype column '11' => 'gross profits', '12' => 'tariff rate', '14' => 'account', + '15' => 'prior year gross receipts', ); sub basetype_name { @@ -380,9 +381,11 @@ sub taxline { '" threshold'; # "texas" tax } + # we treat gross revenue as gross receipts and expect the tax data + # to DTRT (i.e. tax on tax rules) if ($self->basetype != 0 && $self->basetype != 1 && $self->basetype != 6 && $self->basetype != 7 && - $self->basetype != 14 + $self->basetype != 8 && $self->basetype != 14 ) { return qq!fatal: can't (yet) handle tax with "!. $self->basetype_name. '" basis'; -- 2.11.0