1 2 3 4 5 6 7 8 9 10 11 12 13 14
<% include( '/elements/select-table.html', 'table' => 'cdr_batch', 'name_col' => 'cdrbatch', 'curr_value' => $cdrbatchnum, 'empty_label' => '(none)', 'pre_options' => [ '__ALL__' => 'All' ], ) %> <%init> my %opt = @_; my $cdrbatchnum = $opt{'curr_value'}; # || $opt{'value'} necessary? </%init>