start of package class web UI (add/edit package classes, package class selection...
[freeside.git] / httemplate / elements / select-agent.html
1 <%
2   my( $agentnum, %opt ) = @_;
3
4   my %select_opt = ();
5   $select_opt{'records'} = $opt{'agents'}
6     if $opt{'agents'};
7
8 %><%= include( '/elements/select-table.html',
9                  'table'       => 'agent',
10                  'name_col'    => 'agent',
11                  'value'       => $agentnum,
12                  'empty_label' => 'all',
13                  'hashref'     => { 'disabled' => '' },
14                  %select_opt,
15              )
16 %>