<body>

<h2 align=center>
<?lsmb company ?>
<br><?lsmb address ?>

<p>KASUMIARUANNE
<br><?lsmb period ?>
</h2>

<?lsmb if department ?>
<h4>Osakond: <?lsmb department ?></h4>
<?lsmb end department ?>

<?lsmb if projectnumber ?>
<h4>Projekti Number: <?lsmb projectnumber ?></h4>
<?lsmb end projectnumber ?>

<table width=100% border=0>
<tr>
  <th width=400 align=left colspan=2>TULUD<br><hr width=300 size=5 align=left noshade></th>
  <th><?lsmb this_period ?></th>
  <th><?lsmb last_period ?></th>
</tr>

<?lsmb foreach income_account ?>
<tr>
  <td width=4> </td>
  <td><?lsmb income_account ?></td>
  <td align=right><?lsmb income_this_period ?></td>
  <td align=right><?lsmb income_last_period ?></td>
</tr>
<?lsmb end income_account ?>

<tr>
  <td colspan=2> </td>
  <td><hr noshade size=1></td>
  <td><hr noshade size=1></td>
</tr>

<tr valign=top>
  <td> </td>
  <th align=left>TULUD KOKKU</th>
  <td align=right><?lsmb total_income_this_period ?><hr noshade size=2></td>
  <td align=right><?lsmb total_income_last_period ?><hr noshade size=2></td>
</tr>

<tr>
  <th align=left colspan=2>KULUD<br><hr width=300 size=5 align=left noshade></th>
</tr>

<?lsmb foreach expense_account ?>
<tr>
  <td> </td>
  <td><?lsmb expense_account ?></td>
  <td align=right><?lsmb expenses_this_period ?></td>
  <td align=right><?lsmb expenses_last_period ?></td>
</tr>
<?lsmb end expense_account ?>

<tr>
  <td colspan=2> </td>
  <td><hr noshade size=1></td>
  <td><hr noshade size=1></td>
</tr>

<tr valign=top>
  <td> </td>
  <th align=left>KULUD KOKKU</th>
  <td align=right><?lsmb total_expenses_this_period ?><br><hr noshade size=2</td>
  <td align=right><?lsmb total_expenses_last_period ?><br><hr noshade size=2</td>
</tr>

<tr valign=top>
  <th align=left colspan=2>KASUM / (KAHJUM)</th>
  <td align=right><?lsmb total_this_period ?><br><hr noshade size=2></td>
  <td align=right><?lsmb total_last_period ?><br><hr noshade size=2></td>
</tr>

</table>

</body>
</html>