summaryrefslogtreecommitdiff
path: root/UI/rp-search-income_statement.html
blob: 3af19469812977adf97e2a341de10ed5b435f5f0 (plain)
  1.       <tr>
  2. <th align="right"><?lsmb text('Project') ?></th>
  3. <td colspan="3"><?lsmb PROCESS select element_data=form.selectproject ?></td>
  4. </tr>
  5. <tr>
  6. <th align="right"><?lsmb text('From') ?></th>
  7. <td><?lsmb PROCESS input element_data={
  8. class => 'date',
  9. name => 'fromdate',
  10. size => '11',
  11. title => user.dateformat,
  12. value => form.fromdate,
  13. } ?></td>
  14. <th align="right"><?lsmb text('To') ?></th>
  15. <td><?lsmb PROCESS input element_data={
  16. class => 'date',
  17. name => 'todate',
  18. size => '11',
  19. title => user.dateformat,
  20. value => form.todate,
  21. } ?></td>
  22. </tr>
  23. <?lsmb IF form.selectaccountingyear.defined ?>
  24. <tr>
  25. <th align="right"><?lsmb text('Period') ?></th>
  26. <td colspan="3">
  27. <?lsmb PROCESS select element_data=form.selectaccountingmonth -?>
  28. <?lsmb PROCESS select element_data=form.selectaccountingyear -?>
  29. <?lsmb PROCESS input element_data={
  30. type => 'radio',
  31. name => 'interval',
  32. value => '0',
  33. label => text('Current'),
  34. checked => 'checked',
  35. } -?>
  36. <?lsmb PROCESS input element_data={
  37. type => 'radio',
  38. name => 'interval',
  39. value => '1',
  40. label => text('Month'),
  41. } -?>
  42. <?lsmb PROCESS input element_data={
  43. type => 'radio',
  44. name => 'interval',
  45. value => '3',
  46. label => text('Quarter'),
  47. } -?>
  48. <?lsmb PROCESS input element_data={
  49. type => 'radio',
  50. name => 'interval',
  51. value => '12',
  52. label => text('Year'),
  53. } -?>
  54. </td>
  55. </tr>
  56. <?lsmb END ?>
  57. <tr><th align="right"><?lsmb text('Compare to') ?></th><td colspan="3" /></tr>
  58. <tr>
  59. <th align="right"><?lsmb text('From') ?></th>
  60. <td><?lsmb PROCESS input element_data={
  61. class => 'date',
  62. name => 'comparefromdate',
  63. size => '11',
  64. title => user.dateformat,
  65. } ?></td>
  66. <th align="right"><?lsmb text('To') ?></th>
  67. <td><?lsmb PROCESS input element_data={
  68. class => 'date',
  69. name => 'comparetodate',
  70. size => '11',
  71. title => user.dateformat,
  72. } ?></td>
  73. </tr>
  74. <?lsmb IF form.selectaccountingyear.defined;
  75. compare_month = {
  76. options => form.selectaccountingmonth.options,
  77. name => 'comparemonth',
  78. };
  79. compare_year = {
  80. options => form.selectaccountingyear.options,
  81. name => 'compareyear',
  82. };
  83. -?>
  84. <tr>
  85. <th align="right"><?lsmb text('Period') ?></th>
  86. <td colspan="3">
  87. <?lsmb PROCESS select element_data=compare_month -?>
  88. <?lsmb PROCESS select element_data=compare_year -?>
  89. </td>
  90. </tr>
  91. <?lsmb END ?>
  92. <tr>
  93. <th align="right"><?lsmb text('Decimal Places') ?></th>
  94. <td colspan="3"><?lsmb PROCESS input element_data={
  95. name => 'decimalplaces',
  96. size => '3',
  97. value => '2',
  98. } ?>
  99. </td>
  100. </tr>
  101. </table>
  102. </td>
  103. </tr>
  104. <tr>
  105. <td>
  106. <table>
  107. <tr>
  108. <th align="right"><?lsmb text('Method') ?></th>
  109. <td colspan="3">
  110. <?lsmb PROCESS input element_data={
  111. name => 'method',
  112. type => 'radio',
  113. value => 'accrual',
  114. label => text('Accrual'),
  115. checked => 'checked',
  116. } -?>
  117. <?lsmb PROCESS input element_data={
  118. name => 'method',
  119. type => 'radio',
  120. value => 'cash',
  121. label => text('Cash'),
  122. } -?>
  123. </td>
  124. </tr>
  125. <tr>
  126. <th align="right"><?lsmb text('Include in Report') ?></th>
  127. <td colspan="3">
  128. <?lsmb PROCESS input element_data={
  129. name => 'l_heading',
  130. type => 'checkbox',
  131. value => 'Y',
  132. label => text('Heading'),
  133. } -?>
  134. <?lsmb PROCESS input element_data={
  135. name => 'l_subtotal',
  136. type => 'checkbox',
  137. value => 'Y',
  138. label => text('Subtotal'),
  139. } -?>
  140. <?lsmb PROCESS input element_data={
  141. name => 'l_accno',
  142. type => 'checkbox',
  143. value => 'Y',
  144. label => text('Account Number'),
  145. } -?>
  146. </td>
  147. </tr>