summaryrefslogtreecommitdiff
path: root/httemplate/elements/tr-fixed-prospect_main.html
blob: 8da0ffb8442de021018dbdfe25b5d60e4fa38b66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
% if ( $prospect_main ) {
  <% include('tr-fixed.html', %opt ) %>
% }
<%init>

my %opt = @_;

my $value = $opt{'curr_value'} || $opt{'value'};

my $prospect_main = $value ? qsearchs('prospect_main', {prospectnum=>$value} )
                           : '';

$opt{'formatted_value'} = $prospect_main->name if $prospect_main;

</%init>