summaryrefslogtreecommitdiff
path: root/UI/batch/filter.html
diff options
context:
space:
mode:
Diffstat (limited to 'UI/batch/filter.html')
-rw-r--r--UI/batch/filter.html73
1 files changed, 73 insertions, 0 deletions
diff --git a/UI/batch/filter.html b/UI/batch/filter.html
new file mode 100644
index 00000000..3cb69089
--- /dev/null
+++ b/UI/batch/filter.html
@@ -0,0 +1,73 @@
+<?lsmb INCLUDE "ui-header.html"
+ include_stylesheet = [
+ "css/global.css"
+ stylesheet
+ ]
+ titlebar = text('Batch Selection') # '
+?><?lsmb PROCESS "elements.html" ?>
+<body>
+<form action="vouchers.pl" method="post">
+<div class="listtop" id="title_div"><?lsmb text('Batch Selection') ?></div>
+<div class="input" id="batch_class_div">
+ <?lsmb INCLUDE select element_data = {
+ label = text('Batch Type') # '
+ options = batch_classes
+ value_attr = "id"
+ text_attr = "class"
+ name = "class_id"
+ default_values = [class_id]
+ } ?>
+ <?lsmb INCLUDE input element_data = {
+ label = text("Approved")
+ name = "approved"
+ value = '1'
+ type = "checkbox"
+ } ?>
+</div>
+<div class="input" id="entered_by_div">
+ <?lsmb INCLUDE select element_data = {
+ label = text('Created By') # '
+ options = batch_users
+ value_attr = "entity_id"
+ text_attr = "username"
+ name = "created_by"
+ default_values = [created_by]
+ } ?></div>
+<div class="input" id="description_div">
+ <?lsmb INCLUDE input element_data = {
+ label = text('Description')
+ size = 20
+ value = description
+ name = "description"
+ } ?>
+ </div>
+<div class="input" id="amounts_div">
+ <?lsmb INCLUDE input element_data = {
+ label = "Minimum Value"
+ name = "amount_gt"
+ class = "numeric"
+ size = 20
+ value = amount_gt
+ type = "text"
+ } ?>
+ <?lsmb INCLUDE input element_data = {
+ label = "Maximum Value"
+ name = "amount_lt"
+ value = amount_lt
+ size = 20
+ class = "numeric"
+ type = "text"
+ } ?>
+ </div>
+<div class="input" id="buttons_div">
+ <?lsmb INCLUDE button element_data = {
+ text = text('Search')
+ name = "action"
+ value = "list_batches"
+ class = "submit"
+ type = "submit"
+ } ?> </div>
+</form>
+</body>
+
+</html>