summaryrefslogtreecommitdiff
path: root/UI/batch/search_transactions.html
blob: b675ef5711d68a5ce26a92aca37054debe29a7ae (plain)
  1. <?lsmb INCLUDE "ui-header.html"
  2. include_stylesheet = [
  3. "css/global.css"
  4. stylesheet
  5. ]
  6. titlebar = text('Batch Selection') # '
  7. ?><?lsmb PROCESS "elements.html" ?>
  8. <body>
  9. <form action="drafts.pl" method="post">
  10. <div class="listtop" id="title_div"><?lsmb text('Search Unapproved Transactions') ?></div>
  11. <div class="input" id="batch_class_div">
  12. <?lsmb INCLUDE select element_data = {
  13. label = text('Transaction Type') # '
  14. options = class_types
  15. value_attr = "value"
  16. text_attr = "text"
  17. name = "type"
  18. default_values = [class_id]
  19. } ?>
  20. </div>
  21. <!--
  22. Commenting this section out. Does not seem to be used by API. -CT
  23. <div class="input" id="entered_by_div">
  24. <?lsmb INCLUDE select element_data = {
  25. label = text('Created By') # '
  26. options = users
  27. value_attr = "entity_id"
  28. text_attr = "username"
  29. name = "created_by_eid"
  30. default_values = [created_by]
  31. } ?></div> -->
  32. <div class="input" id="reference_div">
  33. <?lsmb INCLUDE input element_data = {
  34. label = text('Reference/Invoice Number') #'
  35. size = 20
  36. value = reference
  37. name = "reference"
  38. } ?>
  39. </div>
  40. <div class="input" id="amounts_div">
  41. <?lsmb INCLUDE input element_data = {
  42. label = "Minimum Value"
  43. name = "amount_gt"
  44. class = "numeric"
  45. size = 20
  46. value = amount_gt
  47. type = "text"
  48. } ?>
  49. <?lsmb INCLUDE input element_data = {
  50. label = "Maximum Value"
  51. name = "amount_lt"
  52. value = amount_lt
  53. size = 20
  54. class = "numeric"
  55. type = "text"
  56. } ?>
  57. </div>
  58. <div class="input" id="buttons_div">
  59. <?lsmb INCLUDE button element_data = {
  60. text = text('Search')
  61. name = "action"
  62. value = "list_drafts"
  63. class = "submit"
  64. type = "submit"
  65. } ?> </div>
  66. </form>
  67. </body>
  68. </html>