% unless ( $opt{'js_only'} ) {
"
<% $onchange %>
>
Quantity |
% $value = $item->get('npa');
"
<% $onchange %>
>
NPA |
% $value = $item->get('ratecenternum');
<% include('/elements/select-table.html',
'name_col' => 'description',
'table' => 'rate_center',
'disable_empty' => 0,
'empty_label' => ' ',
'field' => "${name}_ratecenternum",
'id' => "${id}_ratecenternum",
'curr_value' => scalar($cgi->param("${name}_ratecenternum"))
|| $value,
'post_options' => [ 0 => 'Add new...' ],
onchange => 'ratecenter_changed',
)
%>
Rate Center |
% $value = $item->get('msanum');
<% include('/elements/select-table.html',
'name_col' => 'description',
'table' => 'msa',
'disable_empty' => 0,
'empty_label' => ' ',
'field' => "${name}_msanum",
'curr_value' => scalar($cgi->param("${name}_msanum"))
|| $value,
)
%>
MSA |
% $value = $item->get('latanum');
<% include('/elements/select-table.html',
'name_col' => 'description',
'table' => 'lata',
'disable_empty' => 0,
'empty_label' => ' ',
'label_showkey' => 1,
'field' => "${name}_latanum",
'curr_value' => scalar($cgi->param("${name}_latanum"))
|| $value,
)
%>
LATA # |
% $value = $item->get('state');
<% include('/elements/select-state.html',
'disable_empty' => 0,
'empty_label' => ' ',
'country' => 'US',
'prefix' => "${name}_",
'state' => scalar($cgi->param("${name}_state"))
|| $value,
)
%>
State |
% $value = $item->get('custnum');
"
<% $onchange %>
>
Customer # |