1 <% include( '/elements/select-table.html',
4 'value' => $agentnum || '',
5 'empty_label' => 'all',
6 'hashref' => { 'disabled' => '' },
7 'order_by' => ' ORDER BY agent',
8 'disable_empty' => $disable_empty,
15 my $agentnum = $opt{'curr_value'} || $opt{'value'};
17 $opt{'records'} = delete $opt{'agents'}
20 my $curuser = $FS::CurrentUser::CurrentUser;
21 my $disable_empty = 1;
22 if ( $opt{'agent_null_right'} &&
23 $curuser->access_right($opt{'agent_null_right'})