summaryrefslogtreecommitdiff
path: root/templates/demo/balance_sheet.html
blob: c82ada28ee5b9b8a24bcc73b06f812a6feb40244 (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 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 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. <body>
  14. <h2 align="center">
  15. <?lsmb company ?>
  16. <br /><?lsmb address ?>
  17. <br /><?lsmb text('Balance Sheet') ?>
  18. <br />as at <?lsmb this_period ?>
  19. </h2>
  20. <?lsmb IF department ?>
  21. <h4><?lsmb text('Department:') ?> <?lsmb department ?></h4>
  22. <?lsmb END ?>
  23. <table border="0">
  24. <tr>
  25. <th align="left" width="400" colspan="2" style="text-transform: uppercase"><?lsmb text('Assets') ?><br /><hr align="left" width="250" size="5" noshade="noshade" /></th>
  26. <th><?lsmb this_period ?></th>
  27. <th><?lsmb last_period ?></th>
  28. </tr>
  29. <?lsmb FOREACH asset_account ?>
  30. <?lsmb loop_count = loop.count - 1 ?>
  31. <tr>
  32. <td> </td>
  33. <td><?lsmb asset_account.${loop_count} ?></td>
  34. <td align="right"><?lsmb asset_this_period.${loop_count} ?></td>
  35. <td align="right"><?lsmb asset_last_period.${loop_count} ?></td>
  36. </tr>
  37. <?lsmb END ?>
  38. <tr>
  39. <td colspan="2"> </td>
  40. <td><hr noshade="noshade" size="1" /></td>
  41. <td><hr noshade="noshade" size="1" /></td>
  42. </tr>
  43. <tr valign="top">
  44. <th align="left" colspan="2" style="text-transform: uppercase"><?lsmb text('Total Assets') ?></th>
  45. <td align="right"><?lsmb total_assets_this_period ?><hr noshade="noshade" size="2" /></td>
  46. <td align="right"><?lsmb total_assets_last_period ?><hr noshade="noshade" size="2" /></td>
  47. </tr>
  48. <tr>
  49. <th align="left" colspan="4" style="text-transform: uppercase"><?lsmb text('Liabilities') ?><hr align="left" width="250" size="5" noshade="noshade" /></th>
  50. </tr>
  51. <?lsmb FOREACH liability_account ?>
  52. <?lsmb loop_count = loop.count - 1 ?>
  53. <tr>
  54. <td></td>
  55. <td><?lsmb liability_account.${loop_count} ?></td>
  56. <td align="right"><?lsmb liability_this_period.${loop_count} ?></td>
  57. <td align="right"><?lsmb liability_last_period.${loop_count} ?></td>
  58. </tr>
  59. <?lsmb END ?>
  60. <tr>
  61. <td colspan="2"> </td>
  62. <td><hr noshade="noshade" size="1" /></td>
  63. <td><hr noshade="noshade" size="1" /></td>
  64. </tr>
  65. <tr valign="top">
  66. <td></td>
  67. <th align="left" style="text-transform: uppercase"><?lsmb text('Total Liabilities') ?></th>
  68. <td align="right"><?lsmb total_liabilities_this_period ?><br /><hr noshade="noshade" size="2" /></td>
  69. <td align="right"><?lsmb total_liabilities_last_period ?><br /><hr noshade="noshade" size="2" /></td>
  70. </tr>
  71. <tr>
  72. <th align="left" colspan="4" style="text-transform: uppercase"><?lsmb text("Shareholder's Equity") ?><br /><hr align="left" width="250" size="5" noshade="noshade" /></th>
  73. </tr>
  74. <?lsmb FOREACH equity_account ?>
  75. <?lsmb loop_count = loop.count - 1 ?>
  76. <tr>
  77. <td></td>
  78. <td><?lsmb equity_account.${loop_count} ?></td>
  79. <td align="right"><?lsmb equity_this_period.${loop_count} ?></td>
  80. <td align="right"><?lsmb equity_last_period.${loop_count} ?></td>
  81. </tr>
  82. <?lsmb END ?>
  83. <tr>
  84. <td colspan="2"> </td>
  85. <td><hr noshade="noshade" size="1" /></td>
  86. <td><hr noshade="noshade" size="1" /></td>
  87. </tr>
  88. <tr valign="top">
  89. <td></td>
  90. <th align="left" style="text-transform: uppercase"><?lsmb text('Total Equity') ?></th>
  91. <td align="right"><?lsmb total_equity_this_period ?><br /><hr noshade="noshade" size="2" /></td>
  92. <td align="right"><?lsmb total_equity_last_period ?><br /><hr noshade="noshade" size="2" /></td>
  93. </tr>
  94. <tr valign="top">
  95. <th align="left" colspan="2" style="text-transform: uppercase"><?lsmb escape(text('Total Liabilities & Equity')) ?></th>
  96. <td align="right"><?lsmb total_this_period ?><br /><hr noshade="noshade" size="2" /></td>
  97. <td align="right"><?lsmb total_last_period ?><br /><hr noshade="noshade" size="2" /></td>
  98. </tr>
  99. </table>
  100. </body>
  101. </html>