X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fsearch%2Fprospect_main.html;h=0eb45f33850ae3e0f7bf5ff5db79d922c4c0f4fe;hp=ab37b908958d030ec0d69536926447972b27eaf1;hb=f30eaaf66cd0a947f388a03edd4522ba92a367bb;hpb=c13c6407510f6fd1783ce0fbd97800afa27c30b5 diff --git a/httemplate/search/prospect_main.html b/httemplate/search/prospect_main.html index ab37b9089..0eb45f338 100644 --- a/httemplate/search/prospect_main.html +++ b/httemplate/search/prospect_main.html @@ -6,23 +6,31 @@ '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 +43,7 @@ my %search_hash = (); #scalars my @scalars = qw ( - agentnum + agentnum refnum ); for my $param ( @scalars ) {