summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-07-21 21:57:54 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-07-21 21:57:54 +0000
commit0b90e3ba5dcf65df66ddd75f036a133beae2c317 (patch)
tree45ecc9081ced612748ceb98194dfb536206b9018
parent6edb22810a2b61250e7f230a1f6e9088182e00e5 (diff)
Adding missing search screen
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2216 4979c152-3d1c-0410-bac9-87ea11338e46
-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>