major improvements

This commit is contained in:
Samuel Philipp 2021-06-13 01:09:52 +02:00
parent 848289cdc0
commit 8d2492e6c8
Signed by untrusted user: samuel-p
GPG key ID: 2AD495D17760CB4E
13 changed files with 25 additions and 27 deletions

View file

@ -1,3 +1,4 @@
{{locale}}
<table class="table">
<thead>
<tr>
@ -21,14 +22,14 @@
{% else %}
<td>***</td>
{% endif %}
<td>{{donation.amount | amount(locale)}} €</td>
<td>{{donation.amount | amount}} €</td>
</tr>
{% endfor %}
</tbody>
<tfoot>
<tr>
<th colspan="3">{{strings.total[locale]}}</th>
<th>{{donations[0].donations | sum | amount(locale)}} €</th>
<th>{{donations[0].donations | sum | amount}} €</th>
</tr>
</tfoot>
</table>

View file

@ -24,14 +24,14 @@
{% else %}
<td>***</td>
{% endif %}
<td>{{donation.amount | amount(locale)}} €</td>
<td>{{donation.amount | amount}} €</td>
</tr>
{% endfor %}
</tbody>
<tfoot>
<tr>
<th colspan="3">{{strings.total[locale]}}</th>
<th>{{year.donations | sum | amount(locale)}} €</th>
<th>{{year.donations | sum | amount}} €</th>
</tr>
</tfoot>
</table>

View file

@ -18,16 +18,16 @@
{% endif %}
<td>{{expense.type}}</td>
<td>{{expense.provider}}</td>
<td>{{expense.amount | amount(locale)}} €</td>
<td>{{expense.amount | year | amount(locale)}} €</td>
<td>{{expense.amount | amount}} €</td>
<td>{{expense.amount | year | amount}} €</td>
</tr>
{% endfor %}
</tbody>
<tfoot>
<tr>
<th colspan="3">{{strings.total[locale]}}</th>
<th>{{expenses | sum | amount(locale)}} €</th>
<th>{{expenses | sum | year | amount(locale)}} €</th>
<th>{{expenses | sum | amount}} €</th>
<th>{{expenses | sum | year | amount}} €</th>
</tr>
</tfoot>
</table>