add skip_dcontext_suffix to skip CDRs with dcontext ending in a definable string...
[freeside.git] / FS / FS / cust_tax_exempt.pm
index 3e39887..45eab42 100644 (file)
@@ -1,12 +1,7 @@
 package FS::cust_tax_exempt;
+use base qw( FS::cust_main_Mixin FS::Record );
 
 use strict;
-use vars qw( @ISA );
-use FS::Record qw( qsearch qsearchs );
-use FS::cust_main;
-use FS::cust_main_county;
-
-@ISA = qw(FS::Record);
 
 =head1 NAME
 
@@ -127,13 +122,6 @@ sub check {
 
 Returns the FS::cust_main_county object associated with this tax exemption.
 
-=cut
-
-sub cust_main_county {
-  my $self = shift;
-  qsearchs( 'cust_main_county', { 'taxnum' => $self->taxnum } );
-}
-
 =back
 
 =head1 BUGS