summaryrefslogtreecommitdiff
path: root/UI/batch/search_transactions.html
diff options
context:
space:
mode:
Diffstat (limited to 'UI/batch/search_transactions.html')
-rw-r--r--UI/batch/search_transactions.html70
1 files changed, 70 insertions, 0 deletions
diff --git a/UI/batch/search_transactions.html b/UI/batch/search_transactions.html
new file mode 100644
index 00000000..b675ef57
--- /dev/null
+++ b/UI/batch/search_transactions.html
@@ -0,0 +1,70 @@
+<?lsmb INCLUDE "ui-header.html"
+ include_stylesheet = [
+ "css/global.css"
+ stylesheet
+ ]
+ titlebar = text('Batch Selection') # '
+?><?lsmb PROCESS "elements.html" ?>
+<body>
+<form action="drafts.pl" method="post">
+<div class="listtop" id="title_div"><?lsmb text('Search Unapproved Transactions') ?></div>
+<div class="input" id="batch_class_div">
+ <?lsmb INCLUDE select element_data = {
+ label = text('Transaction Type') # '
+ options = class_types
+ value_attr = "value"
+ text_attr = "text"
+ name = "type"
+ default_values = [class_id]
+ } ?>
+</div>
+<!--
+Commenting this section out. Does not seem to be used by API. -CT
+
+<div class="input" id="entered_by_div">
+ <?lsmb INCLUDE select element_data = {
+ label = text('Created By') # '
+ options = users
+ value_attr = "entity_id"
+ text_attr = "username"
+ name = "created_by_eid"
+ default_values = [created_by]
+ } ?></div> -->
+<div class="input" id="reference_div">
+ <?lsmb INCLUDE input element_data = {
+ label = text('Reference/Invoice Number') #'
+ size = 20
+ value = reference
+ name = "reference"
+ } ?>
+ </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_drafts"
+ class = "submit"
+ type = "submit"
+ } ?> </div>
+</form>
+</body>
+
+</html>