summaryrefslogtreecommitdiff
path: root/httemplate/search/prospect_main.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/search/prospect_main.html')
-rw-r--r--httemplate/search/prospect_main.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/httemplate/search/prospect_main.html b/httemplate/search/prospect_main.html
index 241918b98..d65d4d19d 100644
--- a/httemplate/search/prospect_main.html
+++ b/httemplate/search/prospect_main.html
@@ -6,6 +6,7 @@
'header' => [ '#',
'Prospect',
'Contact(s)',
+ 'Advertising source',
],
'fields' => [ 'prospectnum',
'name',
@@ -16,11 +17,17 @@
}
$pm->prospect_contact
];
+ ''
+ },
+ sub {
+ my $pr = shift->part_referral;
+ $pr ? $pr->referral : '';
},
],
'links' => [ '',
$link,
'', #link to contact edit???
+ '',
],
'agent_virt' => 1,
'disableable' => 1,
@@ -37,7 +44,7 @@ my %search_hash = ();
#scalars
my @scalars = qw (
- agentnum
+ agentnum refnum
);
for my $param ( @scalars ) {