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