summaryrefslogtreecommitdiff
path: root/httemplate/elements/select-cdrbatch.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements/select-cdrbatch.html')
-rw-r--r--httemplate/elements/select-cdrbatch.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/httemplate/elements/select-cdrbatch.html b/httemplate/elements/select-cdrbatch.html
new file mode 100644
index 0000000..034db3a
--- /dev/null
+++ b/httemplate/elements/select-cdrbatch.html
@@ -0,0 +1,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>