2021-06-07 22:16:21 +00:00
|
|
|
<table class="table">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>{{strings.name[locale]}}</th>
|
|
|
|
<th>{{strings.type[locale]}}</th>
|
|
|
|
<th>{{strings.provider[locale]}}</th>
|
|
|
|
<th>{{strings.amount[locale]}} / {{strings.month[locale]}}</th>
|
|
|
|
<th>{{strings.amount[locale]}} / {{strings.year[locale]}}</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for expense in expenses %}
|
|
|
|
<tr>
|
|
|
|
{% if expense.name[locale] %}
|
|
|
|
<td>{{expense.name[locale]}}</td>
|
|
|
|
{% else %}
|
|
|
|
<td>{{expense.name}}</td>
|
|
|
|
{% endif %}
|
|
|
|
<td>{{expense.type}}</td>
|
|
|
|
<td>{{expense.provider}}</td>
|
2021-06-12 23:09:52 +00:00
|
|
|
<td>{{expense.amount | amount}} €</td>
|
|
|
|
<td>{{expense.amount | year | amount}} €</td>
|
2021-06-07 22:16:21 +00:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
<tfoot>
|
|
|
|
<tr>
|
|
|
|
<th colspan="3">{{strings.total[locale]}}</th>
|
2021-06-12 23:09:52 +00:00
|
|
|
<th>{{expenses | sum | amount}} €</th>
|
|
|
|
<th>{{expenses | sum | year | amount}} €</th>
|
2021-06-07 22:16:21 +00:00
|
|
|
</tr>
|
|
|
|
</tfoot>
|
|
|
|
</table>
|