From 60724f233fbeb9388f4b2cbb68a4e6297c2b2118 Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Sat, 24 Aug 2013 15:43:08 -0700 Subject: CCH taxes with new customer locations, #21485 --- FS/FS/tax_rate.pm | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'FS/FS/tax_rate.pm') diff --git a/FS/FS/tax_rate.pm b/FS/FS/tax_rate.pm index 342c7cb..095939f 100644 --- 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_MAIN +=item tax_on_tax CUST_LOCATION Returns a list of taxes which are candidates for taxing taxes for the -given customer (see L) +given service location (see L) =cut @@ -525,13 +525,13 @@ given customer (see L) sub tax_on_tax { #akshun my $self = shift; - my $cust_main = shift; + my $cust_location = shift; warn "looking up taxes on tax ". $self->taxnum. " for customer ". - $cust_main->custnum + $cust_location->custnum if $DEBUG; - my $geocode = $cust_main->geocode($self->data_vendor); + my $geocode = $cust_location->geocode($self->data_vendor); # CCH oddness in m2m my $dbh = dbh; @@ -2120,8 +2120,7 @@ EOF =head1 SEE ALSO -L, L, L, schema.html from the base -documentation. +L, L, L =cut -- cgit v1.1