1 % if ( scalar(@{ $opt{'cust_class'} }) == 0 ) {
3 <INPUT TYPE="hidden" NAME="<% $opt{'element_name'} || $opt{'field'} || 'classnum' %>" VALUE="">
8 <TH ALIGN="right"><% $opt{'label'} || 'Customer class' %></TD>
10 <% include( '/elements/select-cust_class.html',
11 'curr_value' => $classnum,
23 my $classnum = $opt{'curr_value'} || $opt{'value'};
25 $opt{'cust_class'} ||= [ qsearch( 'cust_class', { disabled=>'' } ) ];