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">{{ 'accountBalances'|_ }}</h3>
|
2015-05-16 06:53:08 -05:00
|
|
|
</div>
|
2015-06-21 03:50:45 -05:00
|
|
|
<div class="box-body table-responsive no-padding">
|
|
|
|
<table class="table table-hover sortable">
|
|
|
|
<thead>
|
2015-05-16 06:53:08 -05:00
|
|
|
<tr>
|
2015-06-21 03:50:45 -05:00
|
|
|
<th>{{ 'name'|_ }}</th>
|
|
|
|
<th>{{ 'balanceStart'|_ }}</th>
|
2015-08-29 01:35:11 -05:00
|
|
|
<th>{{ 'balanceEnd'|_ }}</th>
|
2015-06-21 03:50:45 -05:00
|
|
|
<th>{{ 'difference'|_ }}</th>
|
2015-05-16 06:53:08 -05:00
|
|
|
</tr>
|
2015-06-21 03:50:45 -05:00
|
|
|
</thead>
|
|
|
|
<tbody>
|
2015-12-12 10:51:07 -06:00
|
|
|
{% for account in accountReport.getAccounts %}
|
2015-06-21 03:50:45 -05:00
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<a href="{{ route('accounts.show',account.id) }}" title="{{ account.name }}">{{ account.name }}</a>
|
|
|
|
</td>
|
|
|
|
<td data-value="{{ account.startBalance }}">{{ account.startBalance|formatAmount }}</td>
|
|
|
|
<td data-value="{{ account.endBalance }}">{{ account.endBalance|formatAmount }}</td>
|
|
|
|
<td data-value="{{ (account.endBalance - account.startBalance) }}">{{ (account.endBalance - account.startBalance)|formatAmount }}</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
<tfoot>
|
|
|
|
<tr>
|
|
|
|
<td><em>{{ 'sumOfSums'|_ }}</em></td>
|
2015-12-12 10:51:07 -06:00
|
|
|
<td>{{ accountReport.getStart|formatAmount }}</td>
|
|
|
|
<td>{{ accountReport.getEnd|formatAmount }}</td>
|
|
|
|
<td>{{ accountReport.getDifference|formatAmount }}</td>
|
2015-06-21 03:50:45 -05:00
|
|
|
</tr>
|
|
|
|
</tfoot>
|
|
|
|
</table>
|
|
|
|
</div>
|
2015-05-20 12:56:14 -05:00
|
|
|
</div>
|