1 <% include( '/elements/select-table.html',
2 'table' => 'agent_type',
4 'value' => $typenum || '',
5 'empty_label' => 'all',
6 'hashref' => { 'disabled' => '' },
7 #'extra_sql' => ' AND '.
8 # $FS::CurrentUser::CurrentUser->agentnums_sql.
16 my $typenum = $opt{'curr_value'} || $opt{'value'};
18 $opt{'records'} = delete $opt{'agent_types'}
19 if $opt{'agent_types'};