summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/prospect_main.pm9
1 files changed, 9 insertions, 0 deletions
diff --git a/FS/FS/prospect_main.pm b/FS/FS/prospect_main.pm
index bace1f040..78e865a7e 100644
--- a/FS/FS/prospect_main.pm
+++ b/FS/FS/prospect_main.pm
@@ -210,6 +210,15 @@ sub check {
$self->SUPER::check;
}
+=item name
+
+=cut
+
+sub name {
+ my $self = shift;
+ $self->company; #at least until this is nullable
+}
+
=item contact
Returns the contacts (see L<FS::contact>) associated with this prospect.