mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-23 23:13:18 -06:00
38 lines
1.2 KiB
Twig
38 lines
1.2 KiB
Twig
<div class="list-group">
|
|
{% for journal in transactions %}
|
|
|
|
<a class="list-group-item" title="{{journal.date.format('jS M Y')}}" href="{{route('transactions.show',journal.id)}}">
|
|
|
|
{% if not journal.type %}
|
|
{% if journal.transactiontype.type == 'Withdrawal' %}
|
|
<i class="fa fa-long-arrow-left fa-fw" title="Withdrawal"></i>
|
|
{% endif %}
|
|
{% if journal.transactiontype.type == 'Deposit' %}
|
|
<i class="fa fa-long-arrow-right fa-fw" title="Deposit"></i>
|
|
{% endif %}
|
|
{% if journal.transactiontype.type == 'Transfer' %}
|
|
<i class="fa fa-fw fa-exchange" title="Transfer"></i>
|
|
{% endif %}
|
|
{% else %}
|
|
{% if journal.type == 'Withdrawal' %}
|
|
<i class="fa fa-long-arrow-left fa-fw" title="Withdrawal"></i>
|
|
{% endif %}
|
|
{% if journal.type == 'Deposit' %}
|
|
<i class="fa fa-long-arrow-right fa-fw" title="Deposit"></i>
|
|
{% endif %}
|
|
{% if journal.type == 'Transfer' %}
|
|
<i class="fa fa-fw fa-exchange" title="Transfer"></i>
|
|
{% endif %}
|
|
{% endif %}
|
|
|
|
{{ journal.description }}
|
|
|
|
<span class="pull-right small">
|
|
{{ journal|formatJournal }}
|
|
|
|
</span>
|
|
|
|
</a>
|
|
{% endfor %}
|
|
</div>
|