This commit was manufactured by cvs2svn to create tag 'freeside_1_4_2'.
[freeside.git] / FS / FS / cust_bill_pkg.pm
index b3d3fcd..0f27a8d 100644 (file)
@@ -125,11 +125,18 @@ sub check {
   ''; #no error
 }
 
-=back
+=item cust_pkg
+
+Returns the package (see L<FS::cust_pkg>) for this invoice line item.
 
-=head1 VERSION
+=cut
 
-$Id: cust_bill_pkg.pm,v 1.2 2001-02-11 17:34:44 ivan Exp $
+sub cust_pkg {
+  my $self = shift;
+  qsearchs( 'cust_pkg', { 'pkgnum' => $self->pkgnum } );
+}
+
+=back
 
 =head1 BUGS