RT# 80624 Detect and warn for bad MS Edge version
[freeside.git] / httemplate / elements / select-user.html
1 <SELECT NAME="usernum">
2
3 % unless ( $opt{'multiple'} || $opt{'disable_empty'} ) {
4   <OPTION VALUE="">all</OPTION>
5 % }
6
7 % foreach my $usernum (
8 %   sort { $opt{'access_user'}->{$a} cmp $opt{'access_user'}->{$b} }
9 %   keys %{ $opt{'access_user'} }
10 % ) { 
11     <OPTION VALUE="<%$usernum%>"><% $opt{'access_user'}->{$usernum} %></OPTION>
12 % } 
13
14 </SELECT>
15
16 <%init>
17
18 my %opt = @_;
19
20 $opt{'access_user'} ||= $FS::CurrentUser::CurrentUser->access_users_hashref();
21
22 </%init>