2018-09-10 20:24:19 +02:00
|
|
|
{% for period in periods %}
|
|
|
|
|
<div class="box box-default">
|
|
|
|
|
<div class="box-header with-border">
|
|
|
|
|
<h3 class="box-title"><a href="{{ period.route }}">{{ period.title }}</a>
|
|
|
|
|
</h3>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="box-body no-padding">
|
|
|
|
|
<table class="table table-hover">
|
2019-06-23 11:13:36 +02:00
|
|
|
{% if period.total_transactions > 0 %}
|
2019-05-29 18:30:52 +02:00
|
|
|
<tr>
|
|
|
|
|
<td style="width:33%;">{{ 'transactions'|_ }}</td>
|
2019-06-23 11:13:36 +02:00
|
|
|
<td style="text-align: right;">{{ period.total_transactions }}</td>
|
2019-05-29 18:30:52 +02:00
|
|
|
</tr>
|
2018-09-10 20:24:19 +02:00
|
|
|
{% endif %}
|
2019-05-29 18:30:52 +02:00
|
|
|
|
|
|
|
|
{% for entry in period.spent %}
|
2019-06-23 11:13:36 +02:00
|
|
|
{% if entry.amount != 0 %}
|
2018-09-10 20:24:19 +02:00
|
|
|
<tr>
|
|
|
|
|
<td style="width:33%;">{{ 'spent'|_ }}</td>
|
2019-05-29 18:30:52 +02:00
|
|
|
<td style="text-align: right;">
|
2019-06-23 11:13:36 +02:00
|
|
|
<span title="{{ entry.count }}">
|
|
|
|
|
{{ formatAmountBySymbol(entry.amount, entry.currency_symbol, entry.currency_decimal_places) }}
|
|
|
|
|
</span>
|
2019-05-29 18:30:52 +02:00
|
|
|
</td>
|
2018-09-10 20:24:19 +02:00
|
|
|
</tr>
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% endfor %}
|
|
|
|
|
|
2019-05-29 18:30:52 +02:00
|
|
|
{% for entry in period.earned %}
|
2019-06-23 11:13:36 +02:00
|
|
|
{% if entry.amount != 0 %}
|
2018-09-10 20:24:19 +02:00
|
|
|
<tr>
|
|
|
|
|
<td style="width:33%;">{{ 'earned'|_ }}</td>
|
2019-06-23 11:13:36 +02:00
|
|
|
<td style="text-align: right;">
|
|
|
|
|
<span title="{{ entry.count }}">
|
|
|
|
|
{{ formatAmountBySymbol(entry.amount*-1, entry.currency_symbol, entry.currency_decimal_places) }}
|
|
|
|
|
</span>
|
|
|
|
|
</td>
|
2018-09-10 20:24:19 +02:00
|
|
|
</tr>
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% endfor %}
|
|
|
|
|
|
2019-06-25 19:24:01 +02:00
|
|
|
{% for entry in period.transferred %}
|
|
|
|
|
{% if entry.amount != 0 %}
|
|
|
|
|
<tr>
|
|
|
|
|
<td style="width:33%;">{{ 'transferred'|_ }}</td>
|
|
|
|
|
<td style="text-align: right;">
|
|
|
|
|
<span title="{{ entry.count }}">
|
|
|
|
|
{{ formatAmountBySymbol(entry.amount*-1, entry.currency_symbol, entry.currency_decimal_places) }}
|
|
|
|
|
</span>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% endfor %}
|
|
|
|
|
|
2019-06-23 11:13:36 +02:00
|
|
|
{% for entry in period.transferred_away %}
|
|
|
|
|
{% if entry.amount != 0 %}
|
2018-09-10 20:24:19 +02:00
|
|
|
<tr>
|
2019-06-23 11:13:36 +02:00
|
|
|
<td style="width:33%;">{{ 'transferred_away'|_ }}</td>
|
|
|
|
|
<td style="text-align: right;">
|
|
|
|
|
<span title="{{ entry.count }}">
|
|
|
|
|
{{ formatAmountBySymbol(entry.amount*-1, entry.currency_symbol, entry.currency_decimal_places) }}
|
|
|
|
|
</span>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
|
|
{% for entry in period.transferred_in %}
|
|
|
|
|
{% if entry.amount != 0 %}
|
|
|
|
|
<tr>
|
|
|
|
|
<td style="width:33%;">{{ 'transferred_in'|_ }}</td>
|
|
|
|
|
<td style="text-align: right;">
|
|
|
|
|
<span title="{{ entry.count }}">
|
|
|
|
|
{{ formatAmountBySymbol(entry.amount*-1, entry.currency_symbol, entry.currency_decimal_places) }}
|
|
|
|
|
</span>
|
2019-05-29 18:30:52 +02:00
|
|
|
</td>
|
2018-09-10 20:24:19 +02:00
|
|
|
</tr>
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2018-10-07 09:45:50 +02:00
|
|
|
|
2019-01-01 15:43:03 +01:00
|
|
|
{% endfor %}
|