enable CardFortress in test database, #71513
[freeside.git] / httemplate / search / prospect_main.html
index 12e3e18..241918b 100644 (file)
@@ -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"