summaryrefslogtreecommitdiff
path: root/templates/demo/balance_sheet.html
blob: e81aad0c0eb97993d6a6b18bf17d6339eb2a4fbb (plain)
  1. <body>
  2. <h2 align=center>
  3. <?lsmb company ?>
  4. <br><?lsmb address ?>
  5. <p>BALANCE SHEET
  6. <br>as at <?lsmb this_period ?>
  7. </h2>
  8. <?lsmb IF department ?>
  9. <h4>Department: <?lsmb department ?></h4>
  10. <?lsmb END ?>
  11. <table border=0>
  12. <tr>
  13. <th align=left width=400 colspan=2>ASSETS<br><hr align=left width=250 size=5 noshade></th>
  14. <th><?lsmb this_period ?></th>
  15. <th><?lsmb last_period ?></th>
  16. </tr>
  17. <?lsmb FOREACH asset_account ?>
  18. <?lsmb loop_count = loop.count - 1 ?>
  19. <tr>
  20. <td> </td>
  21. <td><?lsmb asset_account.${loop_count} ?></td>
  22. <td align=right><?lsmb asset_this_period.${loop_count} ?></td>
  23. <td align=right><?lsmb asset_last_period.${loop_count} ?></td>
  24. </tr>
  25. <?lsmb END ?>
  26. <tr>
  27. <td colspan=2> </td>
  28. <td><hr noshade size=1></td>
  29. <td><hr noshade size=1></td>
  30. </tr>
  31. <tr valign=top>
  32. <th align=left colspan=2>TOTAL ASSETS</th>
  33. <td align=right><?lsmb total_assets_this_period ?><hr noshade size=2></td>
  34. <td align=right><?lsmb total_assets_last_period ?><hr noshade size=2></td>
  35. </tr>
  36. <tr>
  37. <th align=left colspan=4>LIABILITIES<b><hr align=left width=250 size=5 noshade></th>
  38. </tr>
  39. <?lsmb FOREACH liability_account ?>
  40. <?lsmb loop_count = loop.count - 1 ?>
  41. <tr>
  42. <td></td>
  43. <td><?lsmb liability_account.${loop_count} ?></td>
  44. <td align=right><?lsmb liability_this_period.${loop_count} ?></td>
  45. <td align=right><?lsmb liability_last_period.${loop_count} ?></td>
  46. </tr>
  47. <?lsmb END ?>
  48. <tr>
  49. <td colspan=2> </td>
  50. <td><hr noshade size=1></td>
  51. <td><hr noshade size=1></td>
  52. </tr>
  53. <tr valign=top>
  54. <td></td>
  55. <th align=left>TOTAL LIABILITIES</th>
  56. <td align=right><?lsmb total_liabilities_this_period ?><br><hr noshade size=2</td>
  57. <td align=right><?lsmb total_liabilities_last_period ?><br><hr noshade size=2</td>
  58. </tr>
  59. <tr>
  60. <th align=left colspan=4>SHAREHOLDER'S EQUITY<br><hr align=left width=250 size=5 noshade></th>
  61. </tr>
  62. <?lsmb FOREACH equity_account ?>
  63. <?lsmb loop_count = loop.count - 1 ?>
  64. <tr>
  65. <td></td>
  66. <td><?lsmb equity_account.${loop_count} ?></td>
  67. <td align=right><?lsmb equity_this_period.${loop_count} ?></td>
  68. <td align=right><?lsmb equity_last_period.${loop_count} ?></td>
  69. </tr>
  70. <?lsmb END ?>
  71. <tr>
  72. <td colspan=2> </td>
  73. <td><hr noshade size=1></td>
  74. <td><hr noshade size=1></td>
  75. </tr>
  76. <tr valign=top>
  77. <td></td>
  78. <th align=left>TOTAL EQUITY</th>
  79. <td align=right><?lsmb total_equity_this_period ?><br><hr noshade size=2</td>
  80. <td align=right><?lsmb total_equity_last_period ?><br><hr noshade size=2</td>
  81. </tr>
  82. <tr valign=top>
  83. <th align=left colspan=2>TOTAL LIABILITIES & EQUITY</th>
  84. <td align=right><?lsmb total_this_period ?><br><hr noshade size=2></td>
  85. <td align=right><?lsmb total_last_period ?><br><hr noshade size=2></td>
  86. </tr>
  87. </table>
  88. </body>
  89. </html>