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_pkg_display.pm | |
parent | 66c235e33563ccd785ff9e0828398f778a75fb9f (diff) |
autoload methods returning foreign records, RT#13971
Diffstat (limited to 'FS/FS/cust_bill_pkg_display.pm')
-rw-r--r-- | FS/FS/cust_bill_pkg_display.pm | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/FS/FS/cust_bill_pkg_display.pm b/FS/FS/cust_bill_pkg_display.pm index d7c1472..e3afded 100644 --- a/FS/FS/cust_bill_pkg_display.pm +++ b/FS/FS/cust_bill_pkg_display.pm @@ -1,10 +1,7 @@ package FS::cust_bill_pkg_display; +use base qw( FS::Record ); use strict; -use vars qw( @ISA ); -use FS::Record qw( qsearch qsearchs ); - -@ISA = qw(FS::Record); =head1 NAME @@ -146,18 +143,10 @@ sub check { Returns the associated cust_bill_pkg (see L<FS::cust_bill_pkg>) for this line item display object. -=cut - -sub cust_bill_pkg { - my $self = shift; - qsearchs( 'cust_bill_pkg', { 'billpkgnum' => $self->billpkgnum } ) ; -} - =back =head1 BUGS - =head1 SEE ALSO L<FS::Record>, L<FS::cust_bill_pkg>, schema.html from the base documentation. |