3 <INPUT TYPE="hidden" NAME="<% $opt{'element_name'} || $opt{'field'} || 'cdrbatchnum' %>" VALUE="__ALL__">
8 <TD ALIGN="right"><% $opt{'cdrbatch'} || 'CDR Batch: ' %></TD>
10 <% include( '/elements/select-cdrbatch.html', 'curr_value' => $selected_cdrbatch, %opt ) %>
18 my $conf = new FS::Conf;
19 my $selected_cdrbatch = $opt{'curr_value'}; # || $opt{'value'} necessary?
21 $opt{'records'} = delete $opt{'cdr_batch'}
24 my $sth = dbh->prepare('SELECT COUNT(*) FROM cdr_batch LIMIT 1')
26 $sth->execute or die $sth->errstr;
27 my $show = $sth->fetchrow_arrayref->[0];