X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fcust_bill_pay_pkg.pm;h=0a17469e5acdacb5629f5d2640068335ea6e5552;hb=cc3a43f7d4386297a8babebfdd49646f836db127;hp=eb2e80c78a832b9413e67dc76effdf879d62a1d8;hpb=64fcb43c61c196766260319cd9219eb70ea27767;p=freeside.git diff --git a/FS/FS/cust_bill_pay_pkg.pm b/FS/FS/cust_bill_pay_pkg.pm index eb2e80c78..0a17469e5 100644 --- a/FS/FS/cust_bill_pay_pkg.pm +++ b/FS/FS/cust_bill_pay_pkg.pm @@ -1,13 +1,8 @@ package FS::cust_bill_pay_pkg; +use base qw( FS::Record ); use strict; -use vars qw( @ISA ); use FS::Conf; -use FS::Record qw( qsearch qsearchs ); -use FS::cust_bill_pay; -use FS::cust_bill_pkg; - -@ISA = qw(FS::Record); =head1 NAME @@ -171,24 +166,10 @@ sub check { Returns the FS::cust_bill_pay object (payment application to the overall invoice). -=cut - -sub cust_bill_pay { - my $self = shift; - qsearchs('cust_bill_pay', { 'billpaynum' => $self->billpaynum } ); -} - =item cust_bill_pkg Returns the FS::cust_bill_pkg object (line item to which payment is applied). -=cut - -sub cust_bill_pkg { - my $self = shift; - qsearchs('cust_bill_pkg', { 'billpkgnum' => $self->billpkgnum } ); -} - =item send_receipt Sends a payment receipt for the associated payment, against this specific