summaryrefslogtreecommitdiff
path: root/UI/batch/filter.html
blob: 3cb690894c69ed98375b78a5877a414947824177 (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="vouchers.pl" method="post">
  10. <div class="listtop" id="title_div"><?lsmb text('Batch Selection') ?></div>
  11. <div class="input" id="batch_class_div">
  12. <?lsmb INCLUDE select element_data = {
  13. label = text('Batch Type') # '
  14. options = batch_classes
  15. value_attr = "id"
  16. text_attr = "class"
  17. name = "class_id"
  18. default_values = [class_id]
  19. } ?>
  20. <?lsmb INCLUDE input element_data = {
  21. label = text("Approved")
  22. name = "approved"
  23. value = '1'
  24. type = "checkbox"
  25. } ?>
  26. </div>
  27. <div class="input" id="entered_by_div">
  28. <?lsmb INCLUDE select element_data = {
  29. label = text('Created By') # '
  30. options = batch_users
  31. value_attr = "entity_id"
  32. text_attr = "username"
  33. name = "created_by"
  34. default_values = [created_by]
  35. } ?></div>
  36. <div class="input" id="description_div">
  37. <?lsmb INCLUDE input element_data = {
  38. label = text('Description')
  39. size = 20
  40. value = description
  41. name = "description"
  42. } ?>
  43. </div>
  44. <div class="input" id="amounts_div">
  45. <?lsmb INCLUDE input element_data = {
  46. label = "Minimum Value"
  47. name = "amount_gt"
  48. class = "numeric"
  49. size = 20
  50. value = amount_gt
  51. type = "text"
  52. } ?>
  53. <?lsmb INCLUDE input element_data = {
  54. label = "Maximum Value"
  55. name = "amount_lt"
  56. value = amount_lt
  57. size = 20
  58. class = "numeric"
  59. type = "text"
  60. } ?>
  61. </div>
  62. <div class="input" id="buttons_div">
  63. <?lsmb INCLUDE button element_data = {
  64. text = text('Search')
  65. name = "action"
  66. value = "list_batches"
  67. class = "submit"
  68. type = "submit"
  69. } ?> </div>
  70. </form>
  71. </body>
  72. </html>