2015-06-20 00:29:25 -05:00
|
|
|
<div class="box">
|
|
|
|
<div class="box-header with-border">
|
2015-06-21 03:50:45 -05:00
|
|
|
<h3 class="box-title">{{ 'categories'|_ }}</h3>
|
2015-05-16 07:51:23 -05:00
|
|
|
</div>
|
2015-06-21 03:50:45 -05:00
|
|
|
<div class="box-body table-responsive no-padding">
|
|
|
|
<table class="table table-hover">
|
|
|
|
<thead>
|
2015-05-16 07:51:23 -05:00
|
|
|
<tr>
|
2015-06-21 03:50:45 -05:00
|
|
|
<th>{{ 'categories'|_ }}</th>
|
2016-02-06 13:17:55 -06:00
|
|
|
<th colspan="2">{{ 'spent'|_ }}</th>
|
2015-05-16 07:51:23 -05:00
|
|
|
</tr>
|
2015-06-21 03:50:45 -05:00
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for cat in categories.getCategories %}
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<a href="{{ route('categories.show',cat.id) }}">{{ cat.name }}</a>
|
|
|
|
</td>
|
2015-12-11 11:15:37 -06:00
|
|
|
<td>{{ cat.spent|formatAmount }}</td>
|
2016-02-06 13:17:55 -06:00
|
|
|
<td style="width:20px;">
|
2016-03-22 10:55:04 -05:00
|
|
|
<i class="fa fa-fw fa-info-circle text-muted firefly-info-button"
|
2016-03-22 10:59:29 -05:00
|
|
|
data-location="category-entry" data-category-id="{{ cat.id }}"
|
2016-03-22 10:55:04 -05:00
|
|
|
></i>
|
2016-02-06 13:17:55 -06:00
|
|
|
</td>
|
2015-06-21 03:50:45 -05:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
<tfoot>
|
|
|
|
<tr>
|
|
|
|
<td><em>{{ 'sum'|_ }}</em></td>
|
2015-12-11 11:15:37 -06:00
|
|
|
<td>{{ categories.getTotal|formatAmount }}</td>
|
2015-06-21 03:50:45 -05:00
|
|
|
</tr>
|
|
|
|
</tfoot>
|
|
|
|
</table>
|
|
|
|
</div>
|
2015-05-20 12:56:14 -05:00
|
|
|
</div>
|