X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fcust_credit_void.pm;h=f76f79442c6a854660004eb2d4afe97b9a5c3610;hb=13f21e01ac9faa50c07f64c20cbceae0ae50790c;hp=ac47d954aa9db794ab257f54623ed31c2eb17b27;hpb=6422e165313ee8d67790007581821217240734fb;p=freeside.git diff --git a/FS/FS/cust_credit_void.pm b/FS/FS/cust_credit_void.pm index ac47d954a..f76f79442 100644 --- a/FS/FS/cust_credit_void.pm +++ b/FS/FS/cust_credit_void.pm @@ -1,8 +1,8 @@ package FS::cust_credit_void; +use base qw( FS::otaker_Mixin FS::cust_main_Mixin FS::Record ); use strict; -use base qw( FS::otaker_Mixin FS::cust_main_Mixin FS::Record ); -use FS::Record qw(qsearch qsearchs dbh fields); +use FS::Record qw(qsearchs); # qsearch qsearchs); use FS::CurrentUser; use FS::access_user; use FS::cust_credit; @@ -100,13 +100,6 @@ sub check { Returns the parent customer object (see L). -=cut - -sub cust_main { - my $self = shift; - qsearchs( 'cust_main', { 'custnum' => $self->custnum } ); -} - =item void_access_user Returns the voiding employee object (see L).