X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Finvoice_mode.pm;h=3f0897d87f882dc9b06e7c8b3fb319c2486fa57e;hp=115dd4469a33160e347f6180a46b59e1006b2728;hb=dbf521cf2f1f1a05f4722006f339b2595c8ee70f;hpb=fe4515eb37d76849dd08c62782d86bc7ba311dcd 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