v4 style
[freeside.git] / httemplate / elements / tr-fixed-prospect_main.html
1 % if ( $prospect_main ) {
2   <% include('tr-fixed.html', %opt ) %>
3 % }
4 <%init>
5
6 my %opt = @_;
7
8 my $value = $opt{'curr_value'} || $opt{'value'};
9
10 my $prospect_main = $value ? qsearchs('prospect_main', {prospectnum=>$value} )
11                            : '';
12
13 $opt{'formatted_value'} = $prospect_main->name if $prospect_main;
14
15 </%init>