diff options
author | jeff <jeff> | 2008-12-05 17:23:49 +0000 |
---|---|---|
committer | jeff <jeff> | 2008-12-05 17:23:49 +0000 |
commit | c94cc8e588a0888d4b979a10b65f02d07355c4b1 (patch) | |
tree | 8df156cb83881a6ed3cdff5b33833f96ee4f497b | |
parent | 6e44387ee72331ece3a9ac00ec9b1d9b818c4943 (diff) |
passthrough support for gross revenue taxes
-rw-r--r-- | FS/FS/tax_rate.pm | 5 |
1 files changed, 4 insertions, 1 deletions
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'; |