Option to ignore old CDRs, RT#81480
[freeside.git] / httemplate / elements / select-cust-fields.html
1 <%init>
2   my( $cust_fields, %opt ) = @_;
3
4   use FS::ConfDefaults;
5   $opt{'avail_fields'} ||= [ FS::ConfDefaults->cust_fields_avail() ];
6
7   tie my %hash, 'Tie::IxHash', @{ $opt{'avail_fields'} };
8 </%init>
9
10 <SELECT NAME="cust_fields">
11
12   <OPTION VALUE="">(configured default)
13
14 % foreach my $value ( keys %hash ) { 
15   <OPTION VALUE="<% $value %>"><% $hash{$value} %>
16 % } 
17
18
19 </SELECT>
20