summaryrefslogtreecommitdiff
path: root/UI/ca-list-transactions.html
blob: 01647731645f6b44b8105b9e33bd96da253c8ed4 (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. <table width="100%">
  16. <tr>
  17. <th class="listtop"><?lsmb form.title ?></th>
  18. </tr>
  19. <tr><td colspan="<?lsmb columns.size ?>"> </td></tr>
  20. <tr>
  21. <td><?lsmb FOREACH option IN options; IF option.text ?><a href="<?lsmb option.href ?>"><?lsmb option.text ?></a><?lsmb ELSE; option ?><br /><?lsmb END; END ?></td>
  22. </tr>
  23. <tr>
  24. <td>
  25. <table width="100%">
  26. <tr class="listheading">
  27. <?lsmb FOREACH column IN columns ?><?lsmb IF heading.$column.href ?>
  28. <th class="listheading"><a class="listheading" href="<?lsmb heading.$column.href ?>"><?lsmb heading.$column.text ?></a></th>
  29. <?lsmb ELSE ?>
  30. <th class="listheading"><?lsmb heading.$column ?></th>
  31. <?lsmb END ?>
  32. <?lsmb END ?>
  33. </tr>
  34. <?lsmb FOREACH row IN rows ?>
  35. <?lsmb IF row.is_subtotal ?>
  36. <tr class="listsubtotal">
  37. <?lsmb FOREACH column IN columns ?>
  38. <th align="right" class="listsubtotal"><?lsmb row.$column ?></th>
  39. <?lsmb END ?>
  40. </tr>
  41. <?lsmb ELSE ?>
  42. <tr class="listrow<?lsmb row.i ?>">
  43. <?lsmb FOREACH column IN columns ?>
  44. <?lsmb IF column == 'balance' ?>
  45. <td align="right">
  46. <?lsmb ELSIF column == 'debit' ?>
  47. <td align="right">
  48. <?lsmb ELSIF column == 'credit' ?>
  49. <td align="right">
  50. <?lsmb ELSE ?>
  51. <td>
  52. <?lsmb END ?>
  53. <?lsmb IF column == 'accno'; FOREACH link IN row.accno ?>
  54. <a href="<?lsmb link.href ?>"><?lsmb link.text ?></a>
  55. <?lsmb END; ELSIF row.$column.href ?>
  56. <a href="<?lsmb row.$column.href?>"><?lsmb row.$column.text ?></a>
  57. <?lsmb ELSE ?>
  58. <?lsmb row.$column ?>
  59. <?lsmb END ?>
  60. </td>
  61. <?lsmb END ?>
  62. </tr>
  63. <?lsmb END ?>
  64. <?lsmb END ?>
  65. <tr class="listtotal">
  66. <?lsmb FOREACH column IN columns ?>
  67. <th align="right" class="listtotal"><?lsmb totals.$column ?></th>
  68. <?lsmb END ?>
  69. </tr>
  70. </table>
  71. </td>
  72. </tr>
  73. <tr>
  74. <td><hr size="3" noshade="noshade" /></td>
  75. </tr>
  76. </table>
  77. <br />
  78. <form method="post" action="ca.pl">
  79. <?lsmb FOREACH pair IN form.callback.split('&amp;') ?><?lsmb hidden = pair.split('=') ?>
  80. <?lsmb IF NOT loop.first ?>
  81. <?lsmb PROCESS input element_data={type => 'hidden', name => hidden.0, value => hidden.1} ?>
  82. <?lsmb END ?><?lsmb END ?>
  83. <?lsmb PROCESS input element_data={type => 'hidden', name => 'callback', value => form.callback} ?>
  84. <?lsmb FOREACH button IN buttons ?><?lsmb PROCESS button element_data=button ?><?lsmb END ?>
  85. </form>
  86. </body>
  87. </html>