summaryrefslogtreecommitdiff
path: root/UI/rp-search-generate_tax_report.html
blob: 2323acd69ff0340a089ca33e30756d65fd324da7 (plain)
  1.       <tr>
  2. <th align="right"><?lsmb text('From') ?></th>
  3. <td><?lsmb PROCESS input element_data={
  4. class => 'date',
  5. name => 'fromdate',
  6. size => '11',
  7. title => user.dateformat,
  8. value => form.fromdate,
  9. } ?></td>
  10. <th align="right"><?lsmb text('To') ?></th>
  11. <td><?lsmb PROCESS input element_data={
  12. class => 'date',
  13. name => 'todate',
  14. size => '11',
  15. title => user.dateformat,
  16. value => form.todate,
  17. } ?></td>
  18. </tr>
  19. <?lsmb IF form.selectaccountingyear.defined ?>
  20. <tr>
  21. <th align="right"><?lsmb text('Period') ?></th>
  22. <td colspan="3">
  23. <?lsmb PROCESS select element_data=form.selectaccountingmonth -?>
  24. <?lsmb PROCESS select element_data=form.selectaccountingyear -?>
  25. <?lsmb PROCESS input element_data={
  26. type => 'radio',
  27. name => 'interval',
  28. value => '0',
  29. label => text('Current'),
  30. checked => 'checked',
  31. } -?>
  32. <?lsmb PROCESS input element_data={
  33. type => 'radio',
  34. name => 'interval',
  35. value => '1',
  36. label => text('Month'),
  37. } -?>
  38. <?lsmb PROCESS input element_data={
  39. type => 'radio',
  40. name => 'interval',
  41. value => '3',
  42. label => text('Quarter'),
  43. } -?>
  44. <?lsmb PROCESS input element_data={
  45. type => 'radio',
  46. name => 'interval',
  47. value => '12',
  48. label => text('Year'),
  49. } -?>
  50. </td>
  51. </tr>
  52. <?lsmb END ?>
  53. <tr>
  54. <th></th>
  55. <td>
  56. <?lsmb PROCESS input element_data={
  57. type => 'radio',
  58. name => 'summary',
  59. value => '1',
  60. label => text('Summary'),
  61. checked => 'checked',
  62. } -?>
  63. <?lsmb PROCESS input element_data={
  64. type => 'radio',
  65. name => 'summary',
  66. value => '0',
  67. label => text('Detail'),
  68. } -?>
  69. </td>
  70. </tr>
  71. <?lsmb IF form.report.matches('^tax_') ?>
  72. <tr>
  73. <th align="right"><?lsmb text('Report for') ?></th>
  74. <td colspan="3">
  75. <?lsmb FOREACH account IN form.taxaccountlist;
  76. PROCESS input element_data=account;
  77. END -?>
  78. </td>
  79. </tr>
  80. <?lsmb IF form.gifitaxaccountlist.defined -?>
  81. <tr>
  82. <th align="right"><?lsmb text('GIFI') ?></th>
  83. <td colspan="3">
  84. <?lsmb FOREACH account IN form.gifitaxaccountlist;
  85. PROCESS input element_data=account;
  86. END -?>
  87. </td>
  88. </tr>
  89. <?lsmb END -?>
  90. <?lsmb END -?>
  91. <tr>
  92. <th align="right"><?lsmb text('Method') ?></th>
  93. <td colspan="3">
  94. <?lsmb PROCESS input element_data={
  95. name => 'method',
  96. type => 'radio',
  97. value => 'accrual',
  98. label => text('Accrual'),
  99. checked => 'checked',
  100. } -?>
  101. <?lsmb PROCESS input element_data={
  102. name => 'method',
  103. type => 'radio',
  104. value => 'cash',
  105. label => text('Cash'),
  106. } -?>
  107. </td>
  108. </tr>
  109. </table>
  110. </td>
  111. </tr>
  112. <tr>
  113. <td>
  114. <table>
  115. <tr>
  116. <th align="right"><?lsmb text('Include in Report') ?></th>
  117. <td>
  118. <?lsmb PROCESS input element_data={
  119. name => 'l_id',
  120. type => 'checkbox',
  121. value => 'Y',
  122. } -?>
  123. </td><td><?lsmb text('ID') ?></td>
  124. <td>
  125. <?lsmb PROCESS input element_data={
  126. name => 'l_invnumber',
  127. type => 'checkbox',
  128. value => 'Y',
  129. checked => 'checked',
  130. } -?>
  131. </td><td><?lsmb text('Invoice') ?></td>
  132. <td>
  133. <?lsmb PROCESS input element_data={
  134. name => 'l_transdate',
  135. type => 'checkbox',
  136. value => 'Y',
  137. checked => 'checked',
  138. } -?>
  139. </td><td><?lsmb text('Date') ?></td>
  140. </tr>
  141. <tr>
  142. <td />
  143. <td>
  144. <?lsmb PROCESS input element_data={
  145. name => 'l_name',
  146. type => 'checkbox',
  147. value => 'Y',
  148. checked => 'checked',
  149. } -?>
  150. </td><td><?lsmb IF form.db == 'ar';
  151. text('Customer');
  152. ELSIF form.db == 'ap';
  153. text('Vendor');
  154. END ?></td>
  155. <td>
  156. <?lsmb PROCESS input element_data={
  157. name => 'l_description',
  158. type => 'checkbox',
  159. value => 'Y',
  160. checked => 'checked',
  161. } -?>
  162. </td><td><?lsmb text('Description') ?></td>
  163. <td>
  164. <?lsmb PROCESS input element_data={
  165. name => 'l_netamount',
  166. type => 'checkbox',
  167. value => 'Y',
  168. checked => 'checked',
  169. } -?>
  170. </td><td><?lsmb text('Amount') ?></td>
  171. <?lsmb IF form.report.matches('^tax_') ?>
  172. <td>
  173. <?lsmb PROCESS input element_data={
  174. name => 'l_tax',
  175. type => 'checkbox',
  176. value => 'Y',
  177. checked => 'checked',
  178. } -?>
  179. </td><td><?lsmb text('Tax') ?></td>
  180. <td>
  181. <?lsmb PROCESS input element_data={
  182. name => 'l_total',
  183. type => 'checkbox',
  184. value => 'Y',
  185. checked => 'checked',
  186. } -?>
  187. </td><td><?lsmb text('Total') ?></td>
  188. </tr>
  189. <tr>
  190. <td />
  191. <?lsmb END ?>
  192. <td>
  193. <?lsmb PROCESS input element_data={
  194. name => 'l_subtotal',
  195. type => 'checkbox',
  196. value => 'Y',
  197. } -?>
  198. </td><td><?lsmb text('Subtotal') ?></td>
  199. </tr>