X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Finvoice_mode.pm;h=3f0897d87f882dc9b06e7c8b3fb319c2486fa57e;hb=5f7c4a6025b9e3a49bee72dbc06cac37a45e6f10;hp=115dd4469a33160e347f6180a46b59e1006b2728;hpb=eb3bd392a89b8b666dc512951e78913c05b98810;p=freeside.git diff --git a/FS/FS/invoice_mode.pm b/FS/FS/invoice_mode.pm index 115dd4469..3f0897d87 100644 --- a/FS/FS/invoice_mode.pm +++ b/FS/FS/invoice_mode.pm @@ -1,8 +1,8 @@ package FS::invoice_mode; +use base qw(FS::Record); use strict; -use base qw( FS::Record ); -use FS::Record qw( qsearch qsearchs ); +use FS::Record qw( qsearchs ); #qsearch qsearchs ); use FS::invoice_conf; =head1 NAME @@ -138,13 +138,6 @@ sub invoice_conf { Returns the agent associated with this invoice mode, if any. -=cut - -sub agent { - my $self = shift; - $self->agentnum ? FS::agent->by_key($self->agentnum) : ''; -} - =back =head1 SEE ALSO