summaryrefslogtreecommitdiff
path: root/UI/rc-reconciliation.html
blob: b0174ba4ab8556b883437fecc6af81e193b7318d (plain)
  1. <?lsmb INCLUDE 'ui-header.html' ?>
  2. <?lsmb PROCESS elements.html ?>
  3. <body>
  4. <form method="post" action="<?lsmb form.script ?>">
  5. <table width="100%">
  6. <tr><th class="listtop"><?lsmb form.title ?></th></tr>
  7. <tr><td> </td></tr>
  8. <tr>
  9. <td>
  10. <table>
  11. <tr>
  12. <th align="right"><?lsmb text('Account') ?></th>
  13. <td colspan="3"><?lsmb PROCESS select element_data=form.accountselect ?></td>
  14. </tr>
  15. <tr>
  16. <th align="right"><?lsmb text('From') ?></th>
  17. <td colspan="3"><?lsmb PROCESS input element_data={
  18. class => 'date',
  19. name => 'fromdate',
  20. size => '11',
  21. title => user.dateformat,
  22. } ?> <?lsmb text('To') ?> <?lsmb PROCESS input element_data={
  23. class => 'date',
  24. name => 'todate',
  25. size => '11',
  26. title => user.dateformat,
  27. } ?>
  28. </td>
  29. </tr>
  30. <?lsmb IF form.all_years ?>
  31. <tr>
  32. <th align="right"><?lsmb text('Period') ?></th>
  33. <td colspan="3">
  34. <?lsmb PROCESS select element_data=form.selectaccountingmonth -?>
  35. <?lsmb PROCESS select element_data=form.selectaccountingyear -?>
  36. <?lsmb PROCESS input element_data={
  37. name => 'interval',
  38. type => 'radio',
  39. value => '0',
  40. label => text('Current'),
  41. checked => 'checked',
  42. } -?>
  43. <?lsmb PROCESS input element_data={
  44. name => 'interval',
  45. type => 'radio',
  46. value => '1',
  47. label => text('Month'),
  48. } -?>
  49. <?lsmb PROCESS input element_data={
  50. name => 'interval',
  51. type => 'radio',
  52. value => '3',
  53. label => text('Quarter'),
  54. } -?>
  55. <?lsmb PROCESS input element_data={
  56. name => 'interval',
  57. type => 'radio',
  58. value => '12',
  59. label => text('Year'),
  60. } -?>
  61. </td>
  62. </tr>
  63. <?lsmb END -?>
  64. <?lsmb IF form.report ?>
  65. <tr>
  66. <td colspan="2" align="right">
  67. <?lsmb PROCESS input element_data={
  68. type => 'checkbox',
  69. name => 'outstanding',
  70. value => '1',
  71. label => text('Outstanding'),
  72. checked => 'checked',
  73. }; ?>
  74. </td>
  75. <td colspan="2" align="right">
  76. <?lsmb PROCESS input element_data={
  77. type => 'checkbox',
  78. name => 'cleared',
  79. value => '1',
  80. label => text('Cleared'),
  81. }; ?>
  82. </td>
  83. </tr>
  84. <?lsmb END ?>
  85. <tr>
  86. <td />
  87. <td colspan="3">
  88. <?lsmb PROCESS input element_data={
  89. type => 'radio',
  90. name => 'summary',
  91. value => '1',
  92. label => text('Summary'),
  93. checked => 'checked',
  94. };
  95. PROCESS input element_data={
  96. type => 'radio',
  97. name => 'summary',
  98. value => '0',
  99. label => text('Detail'),
  100. }; ?>
  101. </td>
  102. </tr>
  103. <tr>
  104. <td />
  105. <td colspan="3">
  106. <?lsmb PROCESS input element_data={
  107. type => 'checkbox',
  108. name => 'fx_transaction',
  109. value => '1',
  110. label => text('Include Exchange Rate Difference'),
  111. checked => 'checked',
  112. }; ?>
  113. </td>
  114. </tr>
  115. </table>
  116. </td>
  117. </tr>
  118. <tr><td colspan="2"><hr size="3" noshade="noshade" /></td></tr>
  119. </table>
  120. <?lsmb FOREACH hidden IN hiddens.keys;
  121. PROCESS input element_data={
  122. type => 'hidden',
  123. name => hidden,
  124. value => hiddens.item(hidden)
  125. }; END ?>
  126. <?lsmb FOREACH button IN buttons; PROCESS button element_data=button; END ?>
  127. </form>
  128. </body>
  129. </html>