summaryrefslogtreecommitdiff
path: root/UI/pos-receipts.html
blob: 7af5ff26a2c1c6bd820ca45ca1c5201cb65ed169 (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>
  7. <th class="listtop"><?lsmb form.title ?></th>
  8. </tr>
  9. <tr><td> </td></tr>
  10. <tr>
  11. <td>
  12. <table>
  13. <tr>
  14. <th align="right"><?lsmb text('From') ?></th>
  15. <td><?lsmb PROCESS input element_data={
  16. class => 'date',
  17. name => 'fromdate',
  18. size => 11,
  19. title => user.dateformat,
  20. value => form.fromdate} ?></td>
  21. <th align="right"><?lsmb text('To') ?></th>
  22. <td><?lsmb PROCESS input element_data={
  23. class => 'date',
  24. name => 'todate',
  25. size => 11,
  26. title => user.dateformat,
  27. value => form.todate} ?></td>
  28. </tr>
  29. <?lsmb IF form.selectaccountingyear.defined ?>
  30. <tr>
  31. <th align="right"><?lsmb text('Period') ?></th>
  32. <td colspan="3">
  33. <?lsmb PROCESS select element_data=form.selectaccountingmonth;
  34. PROCESS select element_data=form.selectaccountingyear;
  35. PROCESS input element_data={type => 'radio', name => 'interval', value => '0', label => text('Current'), checked => 'checked'};
  36. PROCESS input element_data={type => 'radio', name => 'interval', value => '1', label => text('Month')};
  37. PROCESS input element_data={type => 'radio', name => 'interval', value => '3', label => text('Quarter')};
  38. PROCESS input element_data={type => 'radio', name => 'interval', value => '12', label => text('Year')} ?>
  39. </td>
  40. </tr>
  41. <?lsmb END ?>
  42. </table>
  43. </td>
  44. </tr>
  45. <tr>
  46. <td><hr size="3" noshade="noshade" /></td>
  47. </tr>
  48. </table>
  49. <br />
  50. <?lsmb FOREACH hidden IN hiddens.keys;
  51. PROCESS input element_data={
  52. type => 'hidden',
  53. name => hidden,
  54. value => hiddens.item(hidden)
  55. }; END;
  56. PROCESS button element_data=buttons.0 ?>
  57. </form>
  58. </body>
  59. </html>