X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Fprospect_main.html;fp=httemplate%2Fsearch%2Fprospect_main.html;h=feb1e11fdd981f345d1e9d124002e8e64c397171;hb=b4b4fac1ad93e05d3e2b6723f0ad011b38e06cbe;hp=4798f58f2809ca2e663b1f96c97a82cb1a7065ea;hpb=025b95d966499c1b1c82d3410321fc2b0aaa1f79;p=freeside.git diff --git a/httemplate/search/prospect_main.html b/httemplate/search/prospect_main.html index 4798f58f2..feb1e11fd 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->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 ) {