RT# 82949 - changes section name from fees to pricing, better opiton
[freeside.git] / httemplate / elements / tr-select-voip_class.html
1 <& tr-td-label.html, label => 'Category', @_ &>
2 <TD>
3 <SELECT NAME="<% $opt{'field'} %>">
4 % while(@options) {
5 %   my $value = shift @options;
6 %   my $selected = ($value eq $opt{'curr_value'}) ? 'SELECTED' : '';
7   <OPTION VALUE="<% $value %>" <% $selected %>><% shift @options %></OPTION>
8 % }
9 </SELECT>
10 </TD></TR>
11 <%init>
12 my %opt = (
13   field => 'fcc_voip_class',
14   label => 'Category',
15   @_
16 );
17 my @options = (
18   '' => '',
19    1 => 'VoIP without Broadband',
20    2 => 'VoIP with Broadband',
21    3 => 'Wholesale VoIP',
22    4 => 'Local Exchange (non-VoIP)',
23 );
24
25 </%init>