37 lines
1.2 KiB
HTML
37 lines
1.2 KiB
HTML
<div class="table-container">
|
|
<table class="table">
|
|
<thead>
|
|
<tr>
|
|
<th>{{strings.donations.name}}</th>
|
|
<th>{{strings.donations.type}}</th>
|
|
<th>{{strings.donations.provider}}</th>
|
|
<th>{{strings.donations.location}}</th>
|
|
<th>{{strings.donations.amount}} / {{strings.donations.month}}</th>
|
|
<th>{{strings.donations.amount}} / {{strings.donations.year}}</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>
|
|
<td>{{expense.location}}</td>
|
|
<td>{{expense.amount | amount}} €</td>
|
|
<td>{{expense.amount | year | amount}} €</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
<tfoot>
|
|
<tr>
|
|
<th colspan="4">{{strings.donations.total}}</th>
|
|
<th>{{expenses | sum | amount}} €</th>
|
|
<th>{{expenses | sum | year | amount}} €</th>
|
|
</tr>
|
|
</tfoot>
|
|
</table>
|
|
</div>
|