projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
preload all dbdefs
[freeside.git]
/
FS
/
FS
/
cust_bill_pkg.pm
diff --git
a/FS/FS/cust_bill_pkg.pm
b/FS/FS/cust_bill_pkg.pm
index
38d059d
..
72f9ce4
100644
(file)
--- a/
FS/FS/cust_bill_pkg.pm
+++ b/
FS/FS/cust_bill_pkg.pm
@@
-37,7
+37,7
@@
supported:
=item invnum - invoice (see L<FS::cust_bill>)
=item invnum - invoice (see L<FS::cust_bill>)
-=item pkgnum - package (see L<FS::cust_pkg>)
+=item pkgnum - package (see L<FS::cust_pkg>)
or 0 for the special virtual sales tax package
=item setup - setup fee
=item setup - setup fee
@@
-125,11
+125,22
@@
sub check {
''; #no error
}
''; #no error
}
+=item cust_pkg
+
+Returns the package (see L<FS::cust_pkg>) for this invoice line item.
+
+=cut
+
+sub cust_pkg {
+ my $self = shift;
+ qsearchs( 'cust_pkg', { 'pkgnum' => $self->pkgnum } );
+}
+
=back
=head1 VERSION
=back
=head1 VERSION
-$Id: cust_bill_pkg.pm,v 1.
1 1999-08-04 09:03:5
3 ivan Exp $
+$Id: cust_bill_pkg.pm,v 1.
3 2002-04-06 22:32:4
3 ivan Exp $
=head1 BUGS
=head1 BUGS