X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fquotation_pkg.pm;h=c9724d141558ef732302f8d84cff0e4bc13c976d;hb=b7c25d5e38e6459efe5d1c2f09f437b79798038e;hp=efff9683fe63885ac4790cbc018d789b87b852e4;hpb=f3e0ac2b009c4edd5692cb587ff709dac2223ebe;p=freeside.git diff --git a/FS/FS/quotation_pkg.pm b/FS/FS/quotation_pkg.pm index efff9683f..c9724d141 100644 --- a/FS/FS/quotation_pkg.pm +++ b/FS/FS/quotation_pkg.pm @@ -1,11 +1,7 @@ package FS::quotation_pkg; +use base qw( FS::TemplateItem_Mixin FS::Record ); use strict; -use base qw( FS::TemplateItem_Mixin FS::Record ); -use FS::Record qw( qsearchs ); #qsearch -use FS::part_pkg; -use FS::cust_location; -use FS::quotation; use FS::quotation_pkg_discount; #so its loaded when TemplateItem_Mixin needs it =head1 NAME @@ -130,11 +126,6 @@ sub check { $self->SUPER::check; } -sub part_pkg { - my $self = shift; - qsearchs('part_pkg', { 'pkgpart' => $self->pkgpart } ); -} - sub desc { my $self = shift; $self->part_pkg->pkg;