X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Fprospect_main.html;h=d65d4d19ddd57eb3a72dc4b2bd36fe76e68438bb;hb=eb0ec87d37ee1548e93e35e80dfad47f48cb7563;hp=ab37b908958d030ec0d69536926447972b27eaf1;hpb=e55892bdf6dc95710a19876087690a9664421215;p=freeside.git diff --git a/httemplate/search/prospect_main.html b/httemplate/search/prospect_main.html index ab37b9089..d65d4d19d 100644 --- a/httemplate/search/prospect_main.html +++ b/httemplate/search/prospect_main.html @@ -6,23 +6,32 @@ 'header' => [ '#', 'Prospect', 'Contact(s)', + 'Advertising source', ], 'fields' => [ 'prospectnum', 'name', sub { my $pm = shift; [ map { - [ { 'data' => $_->line, }, ]; + [ { 'data'=>$_->contact->line, }, ]; } - $pm->contact + $pm->prospect_contact ]; + '' + }, + sub { + my $pr = shift->part_referral; + $pr ? $pr->referral : ''; }, ], 'links' => [ '', $link, '', #link to contact edit??? + '', ], 'agent_virt' => 1, + 'disableable' => 1, + 'disabled_statuspos' => 2, &> <%init> @@ -35,7 +44,7 @@ my %search_hash = (); #scalars my @scalars = qw ( - agentnum + agentnum refnum ); for my $param ( @scalars ) {