projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix dependency loop problem with database config, hopefully? (Record->Msgcat->Conf...
[freeside.git]
/
FS
/
FS
/
cust_main_invoice.pm
diff --git
a/FS/FS/cust_main_invoice.pm
b/FS/FS/cust_main_invoice.pm
index
71029d0
..
11d5a44
100644
(file)
--- a/
FS/FS/cust_main_invoice.pm
+++ b/
FS/FS/cust_main_invoice.pm
@@
-159,6
+159,17
@@
sub address {
}
}
+=item cust_main
+
+Returns the parent customer object (see L<FS::cust_main>).
+
+=cut
+
+sub cust_main {
+ my $self = shift;
+ qsearchs( 'cust_main', { 'custnum' => $self->custnum } );
+}
+
=back
=head1 BUGS