X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fcust_bill_pkg.pm;h=72f9ce4a938405cd9e63089bb4e3def475963ece;hb=e9af247503b619f0c61a3ba14481bc76752bdd8b;hp=38d059df8f8a414e20e713aa21c9b50c59abb940;hpb=6cd87c0d3b5280446301c647fa5f1ec5a593fa3f;p=freeside.git diff --git a/FS/FS/cust_bill_pkg.pm b/FS/FS/cust_bill_pkg.pm index 38d059df8..72f9ce4a9 100644 --- a/FS/FS/cust_bill_pkg.pm +++ b/FS/FS/cust_bill_pkg.pm @@ -37,7 +37,7 @@ supported: =item invnum - invoice (see L) -=item pkgnum - package (see L) +=item pkgnum - package (see L) or 0 for the special virtual sales tax package =item setup - setup fee @@ -125,11 +125,22 @@ sub check { ''; #no error } +=item cust_pkg + +Returns the package (see L) for this invoice line item. + +=cut + +sub cust_pkg { + my $self = shift; + qsearchs( 'cust_pkg', { 'pkgnum' => $self->pkgnum } ); +} + =back =head1 VERSION -$Id: cust_bill_pkg.pm,v 1.1 1999-08-04 09:03:53 ivan Exp $ +$Id: cust_bill_pkg.pm,v 1.3 2002-04-06 22:32:43 ivan Exp $ =head1 BUGS