firefly-iii/resources/twig/partials/reports/accounts.twig

31 lines
1.1 KiB
Twig
Raw Normal View History

2015-06-20 00:29:25 -05:00
<div class="box">
<div class="box-header with-border">
2015-05-16 06:53:08 -05:00
<i class="fa fa-credit-card fa-fw"></i>
{{ 'accountBalances'|_ }}
</div>
<table class="table table-bordered table-striped">
<tr>
<th>{{ 'name'|_ }}</th>
2015-05-17 05:53:32 -05:00
<th>{{ 'balanceStart'|_ }}</th>
<th>{{ 'balanceStart'|_ }}</th>
2015-05-16 06:53:08 -05:00
<th>{{ 'difference'|_ }}</th>
</tr>
{% for account in accounts.getAccounts %}
<tr>
<td>
<a href="{{ route('accounts.show',account.id) }}" title="{{ account.name }}">{{ account.name }}</a>
</td>
<td>{{ account.startBalance|formatAmount }}</td>
<td>{{ account.endBalance|formatAmount }}</td>
<td>{{ (account.endBalance - account.startBalance)|formatAmount }}</td>
</tr>
{% endfor %}
<tr>
2015-05-17 10:27:56 -05:00
<td><em>{{ 'sumOfSums'|_ }}</em></td>
2015-05-16 06:53:08 -05:00
<td>{{ accounts.getStart|formatAmount }}</td>
<td>{{ accounts.getEnd|formatAmount }}</td>
<td>{{ accounts.getDifference|formatAmount }}</td>
</tr>
</table>
2015-05-20 12:56:14 -05:00
</div>