<% emt('Package class') %>
<% emt('Report class') %>
|
<& /elements/select-pkg_class.html,
'field' => 'classnum',
'pre_options' => [ 'all' => 'all (aggregate)',
'' => 'all (breakdown)',
'0' => '(empty class)' ],
'disable_empty' => 1,
'onchange' => 'enable_agent_totals',
&>
<& /elements/select-table.html,
'field' => 'report_optionnum',
'table' => 'part_pkg_report_option',
'name_col' => 'name',
'value_col' => 'num',
'pre_options' => [ 'all' => 'all (aggregate)',
'' => 'all (breakdown)',
'0' => '(empty class)' ],
'disable_empty' => 1,
'onchange' => 'enable_agent_totals',
&>
|
% foreach ( qw(Setup Usage) ) {
<& /elements/tr-select.html,
'label' => "$_ fees",
'field' => 'use_'.lc($_),
'options' => [ 0, 1, 2 ],
'labels' => { 0 => 'Combine', 1 => 'Separate', 2 => 'Do not show' },
'onchange'=> 'enable_agent_totals',
&>
% }