use base qw( FS::Record );
use strict;
-use FS::Record qw( qsearch qsearchs );
-use FS::contact;
=head1 NAME
}
-sub contact {
+sub typename {
my $self = shift;
- qsearchs( 'contact', { 'contactnum' => $self->contactnum } );
+ $self->phone_type->typename;
}
=back