summaryrefslogtreecommitdiff
path: root/UI/am-yearend.html
blob: 33159a97c0ba8c1e1772c588cf1fb6720d8f86b0 (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('Yearend') ?></th>
  13. <td><?lsmb PROCESS input element_data={
  14. class => 'date',
  15. name => 'todate',
  16. size => 11,
  17. title => user.dateformat,
  18. } -?></td>
  19. </tr>
  20. <tr>
  21. <th align="right"><?lsmb text('Reference') ?></th>
  22. <td><?lsmb PROCESS input element_data={
  23. name => 'reference',
  24. size => 20,
  25. value => text('Yearend'),
  26. } -?></td>
  27. </tr>
  28. <tr>
  29. <th align="right"><?lsmb text('Description') ?></th>
  30. <td><?lsmb PROCESS textarea element_data={
  31. name => 'description',
  32. rows => 3,
  33. cols => 50,
  34. } -?></td>
  35. </tr>
  36. <tr>
  37. <th align="right"><?lsmb text('Retained Earnings') ?></th>
  38. <td><?lsmb PROCESS select element_data=accounts -?></td>
  39. </tr>
  40. <tr>
  41. <th align="right"><?lsmb text('Method') ?></th>
  42. <td><?lsmb PROCESS input element_data={
  43. name => 'method',
  44. type => 'radio',
  45. value => 'accrual',
  46. checked => 'checked',
  47. label => text('Accrual'),
  48. };
  49. PROCESS input element_data={
  50. name => 'method',
  51. type => 'radio',
  52. value => 'cash',
  53. label => text('Cash'),
  54. } -?></td>
  55. </tr>
  56. </table>
  57. </td>
  58. </tr>
  59. </table>
  60. <hr size="3" noshade="noshade" />
  61. <?lsmb FOREACH hidden IN hiddens.keys;
  62. PROCESS input element_data={
  63. type => 'hidden',
  64. name => hidden,
  65. value => hiddens.item(hidden)
  66. }; END ?>
  67. <?lsmb FOREACH button IN buttons; PROCESS button element_data=button; END ?>
  68. </form>
  69. </body>
  70. </html>