summaryrefslogtreecommitdiff
path: root/UI/ca-list-selector.html
blob: 7f1d66eef72ce5e8502da9b8c164ce9c930157d7 (plain)
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  4. <head>
  5. <title><?lsmb form.titlebar ?></title>
  6. <meta http-equiv="Pragma" content="no-cache" />
  7. <meta http-equiv="Expires" content="-1" />
  8. <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
  9. <link rel="stylesheet" href="css/<?lsmb form.stylesheet ?>" type="text/css" title="LedgerSMB stylesheet" />
  10. <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
  11. <meta name="robots" content="noindex,nofollow" />
  12. </head>
  13. <?lsmb PROCESS elements.html ?>
  14. <body>
  15. <form method="post" action="gl.pl">
  16. <?lsmb IF form.accounttype == '' ; form.accounttype = 'standard'; END ?>
  17. <?lsmb FOREACH hidden IN ['accno', 'sort', 'oldsort', 'accounttype', 'gifi_accno', 'gifi_description'];
  18. PROCESS input element_data={type => 'hidden', name => hidden, value => form.item(hidden)}; END ?>
  19. <table border="0" width="100%">
  20. <tr><th class="listtop"><?lsmb form.title ?></th></tr>
  21. <tr height="5"></tr>
  22. <tr valign="top">
  23. <td>
  24. <table>
  25. <tr>
  26. <th align="right"><?lsmb text('From') ?></th>
  27. <td><?lsmb PROCESS input element_data={class => 'date', name => 'datefrom' size => '11', title="yyyy-mm-dd"} ?></td>
  28. <th align="right"><?lsmb text('To') ?></th>
  29. <td><?lsmb PROCESS input element_data={class => 'date', name => 'dateto' size => '11', title="yyyy-mm-dd"} ?></td>
  30. </tr>
  31. <?lsmb IF form.all_department ?>
  32. <tr>
  33. <th align="right"><?lsmb text('Department') ?></th>
  34. <td colspan="3">
  35. <?lsmb PROCESS select element_data=selectdepartment ?></td>
  36. </tr>
  37. <?lsmb END ?>
  38. <?lsmb IF form.all_years ?>
  39. <tr>
  40. <th align="right"><?lsmb text('Period') ?></th>
  41. <td colspan="3">
  42. <?lsmb PROCESS select element_data=selectmonth ?>
  43. <?lsmb PROCESS select element_data=selectyear ?>
  44. <?lsmb FOREACH button IN intervals ?>
  45. <?lsmb PROCESS input element_data=button; button.text ?>
  46. <?lsmb END ?>
  47. </td>
  48. </tr>
  49. <?lsmb END ?>
  50. <tr>
  51. <th align="right"><?lsmb text('Include in Report') ?></th>
  52. <td colspan="3">
  53. <?lsmb FOREACH check IN includes;
  54. PROCESS input element_data=check; check.text; END ?>
  55. </td>
  56. </tr>
  57. </table>
  58. </td>
  59. </tr>
  60. <tr><td><hr size=3 noshade></td></tr>
  61. </table>
  62. <?lsmb FOREACH hidden IN ['login', 'path', 'sessionid'];
  63. PROCESS input element_data={type => 'hidden', name => hidden, value => form.$hidden}; END ?>
  64. <?lsmb FOREACH hidden IN ['l_transdate', 'l_reference', 'l_description', 'l_debit', 'l_credit', 'l_balance'];
  65. PROCESS input element_data = {
  66. type = 'hidden'
  67. name = hidden
  68. value = 'Y'
  69. }; END ?>
  70. <?lsmb PROCESS input element_data = {
  71. type = 'hidden'
  72. name = 'category'
  73. value = 'X'
  74. };?>
  75. <br />
  76. <?lsmb PROCESS button element_data={class => "submit", name => "action", value => "generate_report", text => text('List Transactions')} ?>
  77. </form>
  78. </body>
  79. </html>