summaryrefslogtreecommitdiff
path: root/UI/gl-report.html
blob: 031ef0099ecf568481a5f1792d3bc761c1fec37d (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 height="5"></tr>
  20. <tr>
  21. <td><?lsmb options ?></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 row.$column.href ?>
  54. <a href="<?lsmb row.$column.href?>"><?lsmb row.$column.text ?></a>
  55. <?lsmb ELSE ?>
  56. <?lsmb row.$column ?>
  57. <?lsmb END ?>
  58. </td>
  59. <?lsmb END ?>
  60. </tr>
  61. <?lsmb END ?>
  62. <?lsmb END ?>
  63. <tr class=listtotal>
  64. <?lsmb FOREACH column IN columns ?>
  65. <th align=right class=listtotal><?lsmb totals.$column ?></th>
  66. <?lsmb END ?>
  67. </tr>
  68. </table>
  69. </td>
  70. </tr>
  71. <tr>
  72. <td><hr size=3 noshade></td>
  73. </tr>
  74. </table>
  75. <br />
  76. <form method=post action=gl.pl>
  77. <?lsmb FOREACH pair IN form.callback.split('&') ?><?lsmb hidden = pair.split('=') ?>
  78. <?lsmb IF NOT loop.first ?>
  79. <?lsmb PROCESS input element_data={type => 'hidden', name => hidden.0, value => hidden.1} ?>
  80. <?lsmb END ?><?lsmb END ?>
  81. <?lsmb PROCESS input element_data={type => 'hidden', name => 'callback', value => form.callback} ?>
  82. <?lsmb FOREACH button IN buttons ?><?lsmb PROCESS button element_data=button ?><?lsmb END ?>
  83. </form>
  84. </body>
  85. </html>