projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6e44387
)
passthrough support for gross revenue taxes
author
jeff
<jeff>
Fri, 5 Dec 2008 17:23:49 +0000
(17:23 +0000)
committer
jeff
<jeff>
Fri, 5 Dec 2008 17:23:49 +0000
(17:23 +0000)
FS/FS/tax_rate.pm
patch
|
blob
|
history
diff --git
a/FS/FS/tax_rate.pm
b/FS/FS/tax_rate.pm
index
2837f9c
..
ce460e1
100644
(file)
--- 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',
'11' => 'gross profits',
'12' => 'tariff rate',
'14' => 'account',
+ '15' => 'prior year gross receipts',
);
sub basetype_name {
);
sub basetype_name {
@@
-380,9
+381,11
@@
sub taxline {
'" threshold'; # "texas" tax
}
'" 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 &&
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';
) {
return qq!fatal: can't (yet) handle tax with "!. $self->basetype_name.
'" basis';