1 <% include( '/elements/select-table.html',
3 'name_col' => 'description',
4 'order_by' => 'ORDER BY discountnum', #XXX weight
5 'value' => $discountnum,
6 'empty_label' => '(none)',
7 'hashref' => { 'disabled' => '' },
14 my $discountnum = $opt{'curr_value'} || $opt{'value'};
16 $opt{'records'} = delete $opt{'discount'}