X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Fprospect_main.html;h=d65d4d19ddd57eb3a72dc4b2bd36fe76e68438bb;hb=8572f2347f879d414a60e8e0dc111fa927d66c14;hp=241918b98bd26f4c8df1fe8012d8a755d03a6edc;hpb=aeb90ade381fc3d5477db0334048c2af623fccfe;p=freeside.git 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 ) {