projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git.freeside.biz:/home/git/freeside
[freeside.git]
/
FS
/
FS
/
tax_rate.pm
diff --git
a/FS/FS/tax_rate.pm
b/FS/FS/tax_rate.pm
index
342c7cb
..
095939f
100644
(file)
--- a/
FS/FS/tax_rate.pm
+++ b/
FS/FS/tax_rate.pm
@@
-514,10
+514,10
@@
sub _fatal_or_null {
}
}
}
}
-=item tax_on_tax CUST_
MAI
N
+=item tax_on_tax CUST_
LOCATIO
N
Returns a list of taxes which are candidates for taxing taxes for the
Returns a list of taxes which are candidates for taxing taxes for the
-given
customer (see L<FS::cust_mai
n>)
+given
service location (see L<FS::cust_locatio
n>)
=cut
=cut
@@
-525,13
+525,13
@@
given customer (see L<FS::cust_main>)
sub tax_on_tax {
#akshun
my $self = shift;
sub tax_on_tax {
#akshun
my $self = shift;
- my $cust_
mai
n = shift;
+ my $cust_
locatio
n = shift;
warn "looking up taxes on tax ". $self->taxnum. " for customer ".
warn "looking up taxes on tax ". $self->taxnum. " for customer ".
- $cust_
mai
n->custnum
+ $cust_
locatio
n->custnum
if $DEBUG;
if $DEBUG;
- my $geocode = $cust_
mai
n->geocode($self->data_vendor);
+ my $geocode = $cust_
locatio
n->geocode($self->data_vendor);
# CCH oddness in m2m
my $dbh = dbh;
# CCH oddness in m2m
my $dbh = dbh;
@@
-2120,8
+2120,7
@@
EOF
=head1 SEE ALSO
=head1 SEE ALSO
-L<FS::Record>, L<FS::cust_main>, L<FS::cust_bill>, schema.html from the base
-documentation.
+L<FS::Record>, L<FS::cust_location>, L<FS::cust_bill>
=cut
=cut