option to credit unused time on suspension as part of suspend reason, #31702
[freeside.git] / httemplate / elements / select-cust_class.html
1 <% include( '/elements/select-table.html',
2                  'table'       => 'cust_class',
3                  'name_col'    => 'classname',
4                  'value'       => $classnum,
5                  'empty_label' => '(none)',
6                  'hashref'     => { 'disabled' => '' },
7                  %opt,
8              )
9 %>
10 <%init>
11
12 my %opt = @_;
13 my $classnum = $opt{'curr_value'} || $opt{'value'};
14
15 $opt{'records'} = delete $opt{'cust_class'}
16   if $opt{'cust_class'};
17
18 </%init>