X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fsearch%2Fprospect_main.html;h=241918b98bd26f4c8df1fe8012d8a755d03a6edc;hp=12e3e18126e0724e546345bc74f813b563b924f4;hb=e322fbb08d0f837be3f3f8e7c92a4a5bc75030ad;hpb=03ceab71dad1e5eb366865d304e5e459cc905ce4 diff --git a/httemplate/search/prospect_main.html b/httemplate/search/prospect_main.html index 12e3e1812..241918b98 100644 --- a/httemplate/search/prospect_main.html +++ b/httemplate/search/prospect_main.html @@ -1,4 +1,4 @@ -<% include('elements/search.html', +<& elements/search.html, 'title' => 'Prospect Search Results', 'name_singular' => 'prospect', 'query' => $query, @@ -8,13 +8,13 @@ 'Contact(s)', ], 'fields' => [ 'prospectnum', - 'company', + 'name', sub { my $pm = shift; [ map { - [ { 'data' => $_->line, }, ]; + [ { 'data'=>$_->contact->line, }, ]; } - $pm->contact + $pm->prospect_contact ]; }, ], @@ -23,8 +23,9 @@ '', #link to contact edit??? ], 'agent_virt' => 1, - ) -%> + 'disableable' => 1, + 'disabled_statuspos' => 2, +&> <%init> die "access denied"