From: jeff Date: Fri, 5 Dec 2008 17:23:49 +0000 (+0000) Subject: passthrough support for gross revenue taxes X-Git-Tag: root_of_webpay_support~207 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=c94cc8e588a0888d4b979a10b65f02d07355c4b1 passthrough support for gross revenue taxes --- 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';