summaryrefslogtreecommitdiff
path: root/templates/demo/income_statement.html
blob: 7618733c5d81cbf23dbb65f0c8f35ec28c9336e7 (plain)
  1. <body>
  2. <h2 align=center>
  3. <?lsmb company ?>
  4. <br><?lsmb address ?>
  5. <p>INCOME STATEMENT
  6. <br><?lsmb period ?>
  7. </h2>
  8. <?lsmb IF department ?>
  9. <h4>Department: <?lsmb department ?></h4>
  10. <?lsmb END ?>
  11. <?lsmb IF projectnumber ?>
  12. <h4>Project Number: <?lsmb projectnumber ?></h4>
  13. <?lsmb END ?>
  14. <table width=100% border=0>
  15. <tr>
  16. <th width=400 align=left colspan=2>INCOME<br><hr width=300 size=5 align=left noshade></th>
  17. <th><?lsmb this_period ?></th>
  18. <th><?lsmb last_period ?></th>
  19. </tr>
  20. <?lsmb FOREACH income_account ?>
  21. <?lsmb loop_count = loop.count - 1 ?>
  22. <tr>
  23. <td width=4> </td>
  24. <td><?lsmb income_account.${loop_count} ?></td>
  25. <td align=right><?lsmb income_this_period.${loop_count} ?></td>
  26. <td align=right><?lsmb income_last_period.${loop_count} ?></td>
  27. </tr>
  28. <?lsmb END ?>
  29. <tr>
  30. <td colspan=2> </td>
  31. <td><hr noshade size=1></td>
  32. <td><hr noshade size=1></td>
  33. </tr>
  34. <tr valign=top>
  35. <td> </td>
  36. <th align=left>TOTAL INCOME</th>
  37. <td align=right><?lsmb total_income_this_period ?><hr noshade size=2></td>
  38. <td align=right><?lsmb total_income_last_period ?><hr noshade size=2></td>
  39. </tr>
  40. <tr>
  41. <th align=left colspan=2>EXPENSES<br><hr width=300 size=5 align=left noshade></th>
  42. </tr>
  43. <?lsmb FOREACH expense_account ?>
  44. <?lsmb loop_count = loop.count - 1 ?>
  45. <tr>
  46. <td> </td>
  47. <td><?lsmb expense_account.${loop_count} ?></td>
  48. <td align=right><?lsmb expenses_this_period.${loop_count} ?></td>
  49. <td align=right><?lsmb expenses_last_period.${loop_count} ?></td>
  50. </tr>
  51. <?lsmb END ?>
  52. <tr>
  53. <td colspan=2> </td>
  54. <td><hr noshade size=1></td>
  55. <td><hr noshade size=1></td>
  56. </tr>
  57. <tr valign=top>
  58. <td> </td>
  59. <th align=left>TOTAL EXPENSES</th>
  60. <td align=right><?lsmb total_expenses_this_period ?><br><hr noshade size=2</td>
  61. <td align=right><?lsmb total_expenses_last_period ?><br><hr noshade size=2</td>
  62. </tr>
  63. <tr valign=top>
  64. <th align=left colspan=2>INCOME / (LOSS)</th>
  65. <td align=right><?lsmb total_this_period ?><br><hr noshade size=2></td>
  66. <td align=right><?lsmb total_last_period ?><br><hr noshade size=2></td>
  67. </tr>
  68. </table>
  69. </body>
  70. </html>