X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FMisc%2FGeo.pm;h=2ad8311d084771675b824c3cc6199413ba248ed5;hb=120718856665ca90ad852535d1155f8ea8ecb6b6;hp=6bc71fc84551eeac346e008091eea9b557bd97a2;hpb=468c9e660eb0edb2033f0f8dbb4458f20280082c;p=freeside.git diff --git a/FS/FS/Misc/Geo.pm b/FS/FS/Misc/Geo.pm index 6bc71fc84..2ad8311d0 100644 --- a/FS/FS/Misc/Geo.pm +++ b/FS/FS/Misc/Geo.pm @@ -9,6 +9,7 @@ use HTTP::Request::Common qw( GET POST ); use HTML::TokeParser; use URI::Escape 3.31; use Data::Dumper; +use FS::Conf; FS::UID->install_callback( sub { $conf = new FS::Conf; @@ -80,7 +81,7 @@ sub get_censustract_ffiec { my($zip5, $zip4) = split('-',$location->{zip}); - $year ||= '2011'; #2012 per http://transition.fcc.gov/form477/techfaqs.html soon/now? + $year ||= '2012'; my @ffiec_args = ( __VIEWSTATE => $viewstate, __EVENTVALIDATION => $eventvalidation, @@ -137,10 +138,10 @@ sub get_censustract_ffiec { $return->{'statecode'} . $return->{'countycode'} . $return->{'tractcode'}; } -sub get_district_methods { - '' => '', - 'wa_sales' => 'Washington sales tax', -}; +#sub get_district_methods { +# '' => '', +# 'wa_sales' => 'Washington sales tax', +#}; =item get_district LOCATION METHOD