projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
point to correct place for hidecancelledcustomers config option
[freeside.git]
/
FS
/
FS
/
cust_bill_event.pm
diff --git
a/FS/FS/cust_bill_event.pm
b/FS/FS/cust_bill_event.pm
index
146a30e
..
d5ca55f
100644
(file)
--- a/
FS/FS/cust_bill_event.pm
+++ b/
FS/FS/cust_bill_event.pm
@@
-132,6
+132,17
@@
sub part_bill_event {
qsearchs( 'part_bill_event', { 'eventpart' => $self->eventpart } );
}
qsearchs( 'part_bill_event', { 'eventpart' => $self->eventpart } );
}
+=item cust_bill
+
+Returns the invoice (see L<FS::cust_bill>) for this completed invoice event.
+
+=cut
+
+sub cust_bill {
+ my $self = shift;
+ qsearchs( 'cust_bill', { 'invnum' => $self->invnum } );
+}
+
=back
=head1 BUGS
=back
=head1 BUGS