[freeside-commits] freeside/FS/FS tax_rate.pm,1.12,1.13
Jeff Finucane,420,,
jeff at wavetail.420.am
Fri Dec 5 09:23:51 PST 2008
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv1260
Modified Files:
tax_rate.pm
Log Message:
passthrough support for gross revenue taxes
Index: tax_rate.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/tax_rate.pm,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- tax_rate.pm 3 Dec 2008 01:42:25 -0000 1.12
+++ tax_rate.pm 5 Dec 2008 17:23:49 -0000 1.13
@@ -294,6 +294,7 @@
'11' => 'gross profits',
'12' => 'tariff rate',
'14' => 'account',
+ '15' => 'prior year gross receipts',
);
sub basetype_name {
@@ -380,9 +381,11 @@
'" 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';
More information about the freeside-commits
mailing list