mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-02 13:39:19 -06:00
55 lines
1.7 KiB
Twig
55 lines
1.7 KiB
Twig
<table class="table table-hover sortable">
|
|
<thead>
|
|
<tr>
|
|
<th data-defaultsort="disabled">{{ 'description'|_ }}</th>
|
|
<th data-defaultsign="month">{{ 'date'|_ }}</th>
|
|
<th data-defaultsign="az">{{ 'account'|_ }}</th>
|
|
<th data-defaultsign="az">{{ 'budget'|_ }}</th>
|
|
<th data-defaultsign="_19" style="text-align: right;">{{ 'amount'|_ }}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for row in result %}
|
|
{% if loop.index > listLength %}
|
|
<tr class="overListLength">
|
|
{% else %}
|
|
<tr>
|
|
{% endif %}
|
|
<td data-sortable="false">
|
|
<a href="{{ route('transactions.show', row.transaction_group_id) }}">
|
|
{{ row.description }}
|
|
</a>
|
|
</td>
|
|
<td data-value="{{ row.date_sort }}">
|
|
{{ row.date }}
|
|
</td>
|
|
|
|
<td data-sortable="false">
|
|
<a href="{{ route('accounts.show', row.destination_account_id) }}">
|
|
{{ row.destination_account_name }}
|
|
</a>
|
|
</td>
|
|
<td data-sortable="false">
|
|
<a href="{{ route('budgets.show', row.budget_id) }}">
|
|
{{ row.budget_name }}
|
|
</a>
|
|
</td>
|
|
|
|
<td data-value="{{ row.amount }}" style="text-align: right;">
|
|
{{ formatAmountBySymbol(row.amount, row.currency_symbol, row.currency_decimal_places) }}
|
|
</td>
|
|
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
<tfoot>
|
|
{% if result|length > listLength %}
|
|
<tr>
|
|
<td colspan="5" class="active">
|
|
<a href="#" class="listLengthTrigger">{{ trans('firefly.show_full_list',{number:incomeTopLength}) }}</a>
|
|
</td>
|
|
</tr>
|
|
{% endif %}
|
|
</tfoot>
|
|
</table>
|