fix attribute importing bugs that borked the passwords
[freeside.git] / FS / FS / cust_main_county.pm
index 76c982a..e50e510 100644 (file)
@@ -61,8 +61,6 @@ currently supported:
 
 =item exempt_amount
 
-=item taxname - if defined, printed on invoices instead of "Tax"
-
 =item setuptax - if 'Y', this tax does not apply to setup fees
 
 =item recurtax - if 'Y', this tax does not apply to recurring fees
@@ -110,7 +108,7 @@ sub check {
   $self->exempt_amount(0) unless $self->exempt_amount;
 
   $self->ut_numbern('taxnum')
-    || $self->ut_textn('state')
+    || $self->ut_anything('state')
     || $self->ut_textn('county')
     || $self->ut_text('country')
     || $self->ut_float('tax')
@@ -119,8 +117,7 @@ sub check {
     || $self->ut_textn('taxname')
     || $self->ut_enum('setuptax', [ '', 'Y' ] )
     || $self->ut_enum('recurtax', [ '', 'Y' ] )
-    || $self->SUPER::check
-    ;
+  ;
 
 }