2 my( $cust_fields, %opt ) = @_;
5 $opt{'avail_fields'} ||= [ FS::ConfDefaults->cust_fields_avail() ];
7 tie my %hash, 'Tie::IxHash', @{ $opt{'avail_fields'} };
11 <SELECT NAME="cust_fields">
13 <OPTION VALUE="">(configured default)
16 foreach my $value ( keys %hash ) { %>
18 <OPTION VALUE="<%= $value %>"><%= $hash{$value} %>