X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fcust_pay_refund.pm;h=28f757d6660c3649be9fc5e55b09751fad1f05f1;hp=cb9dbcef2b7bafbe458d2bc8e3400378f7e8e12d;hb=ffa18709ee8a4d05e18d2d406cf73afe79e52524;hpb=0fb307c305e4bc2c9c27dc25a3308beae3a4d33c diff --git a/FS/FS/cust_pay_refund.pm b/FS/FS/cust_pay_refund.pm index cb9dbcef2..28f757d66 100644 --- a/FS/FS/cust_pay_refund.pm +++ b/FS/FS/cust_pay_refund.pm @@ -1,14 +1,9 @@ package FS::cust_pay_refund; +use base qw(FS::Record); use strict; -use vars qw( @ISA ); #$conf ); -use FS::UID qw( getotaker ); use FS::Record qw( qsearchs ); # qsearch ); use FS::cust_main; -use FS::cust_pay; -use FS::cust_refund; - -@ISA = qw( FS::Record ); #ask FS::UID to run this stuff for us later #FS::UID->install_callback( sub { @@ -153,24 +148,10 @@ sub check { Returns the payment (see L) -=cut - -sub cust_pay { - my $self = shift; - qsearchs( 'cust_pay', { 'paynum' => $self->paynum } ); -} - =item cust_refund Returns the refund (see L) -=cut - -sub cust_refund { - my $self = shift; - qsearchs( 'cust_refund', { 'refundnum' => $self->refundnum } ); -} - =back =head1 BUGS