1 <& /elements/select-table.html,
4 'value' => $agentnum || '',
6 'empty_label' => $empty_label,
7 'hashref' => { 'disabled' => '' },
8 'order_by' => ' ORDER BY agent',
9 '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 $empty_label = $opt{'empty_label'} ? $opt{'empty_label'} : 'all';
22 my $disable_empty = 0;
23 if ( $opt{'agent_null_right'} ) {
24 if ( $curuser->access_right($opt{'agent_null_right'}) ) {