mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-23 23:13:18 -06:00
25 lines
798 B
Twig
25 lines
798 B
Twig
<div class="box">
|
|
<div class="box-header with-border">
|
|
<i class="fa fa-bar-chart fa-fw"></i>
|
|
{{ 'categories'|_ }}
|
|
</div>
|
|
<table class="table table-bordered">
|
|
<tr>
|
|
<th>{{ 'categories'|_ }}</th>
|
|
<th>{{ 'spent'|_ }}</th>
|
|
</tr>
|
|
{% for cat in categories.getCategories %}
|
|
<tr>
|
|
<td>
|
|
<a href="{{ route('categories.show',cat.id) }}">{{ cat.name }}</a>
|
|
</td>
|
|
<td><span class="text-danger">{{ (cat.spent)|formatAmountPlain }}</span></td>
|
|
</tr>
|
|
{% endfor %}
|
|
<tr>
|
|
<td><em>{{ 'sum'|_ }}</em></td>
|
|
<td class="text-danger">{{ categories.getTotal|formatAmountPlain }}</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|