summaryrefslogtreecommitdiff
path: root/httemplate/elements/tr-select-agent_types.html
blob: efbf386a7ab9232f66e6f530c5e214021abc252e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
% unless ( $opt{'disabled'} || scalar(@all_agent_types) == 1 ) {

<% include('/elements/tr-justtitle.html', value=>'Agent (reseller) types') %>

% }

<TR>
  <TD COLSPAN=2>
    <% include('select-agent_types.html', %opt) %>
  </TD>
</TR>

<%init>

my %opt = @_;

my @all_agent_types = map {$_->typenum} qsearch('agent_type',{});

</%init>