diff options
author | Ivan Kohler <ivan@freeside.biz> | 2013-12-28 16:11:46 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2013-12-28 16:11:46 -0800 |
commit | 32072dbf59a054529f5304574c0f56f9567d14d0 (patch) | |
tree | eaca19adc8da8daf4b0eaaed1a16c3a8e5a53cb0 /FS/FS/cust_bill_pay.pm | |
parent | 66c235e33563ccd785ff9e0828398f778a75fb9f (diff) |
autoload methods returning foreign records, RT#13971
Diffstat (limited to 'FS/FS/cust_bill_pay.pm')
-rw-r--r-- | FS/FS/cust_bill_pay.pm | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/FS/FS/cust_bill_pay.pm b/FS/FS/cust_bill_pay.pm index 3f787d3..25bd619 100644 --- a/FS/FS/cust_bill_pay.pm +++ b/FS/FS/cust_bill_pay.pm @@ -1,15 +1,9 @@ package FS::cust_bill_pay; +use base qw( FS::cust_main_Mixin FS::cust_bill_ApplicationCommon ); use strict; -use vars qw( @ISA $conf ); -use FS::Record qw( qsearchs ); -use FS::cust_main_Mixin; -use FS::cust_bill_ApplicationCommon; -use FS::cust_bill; -use FS::cust_pay; -use FS::cust_pkg; - -@ISA = qw( FS::cust_main_Mixin FS::cust_bill_ApplicationCommon ); +use vars qw( $conf ); +use FS::UID; #ask FS::UID to run this stuff for us later FS::UID->install_callback( sub { @@ -143,13 +137,6 @@ sub check { Returns the payment (see L<FS::cust_pay>) -=cut - -sub cust_pay { - my $self = shift; - qsearchs( 'cust_pay', { 'paynum' => $self->paynum } ); -} - =item send_receipt HASHREF | OPTION => VALUE ... Sends a payment receipt for the associated payment, against this specific |