1 <SELECT NAME="<% $opt{'name'} %>"<% $opt{'multiple'} ? ' MULTIPLE' : '' %>>
3 % my $value = shift @fields;
4 % my $label = shift @fields;
5 <OPTION VALUE="<% $value %>"<% $curr_value{$value} ? ' SELECTED' : '' %>><% $label %></OPTION>
11 my %curr_value = map { $_ => 1 } split(', ',$opt{'curr_value'});
14 push @fields, '', $opt{empty_label} if exists($opt{empty_label});
16 my $conf = new FS::Conf;
18 if ($conf->config('ticket_system') eq 'RT_Internal') {
20 push @fields, FS::TicketSystem->custom_fields(
21 lookuptype => $opt{lookuptype},
22 valuetype => $opt{valuetype},