mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-07-23 16:04:46 -07:00
Add icon to list.
This commit is contained in:
@@ -1,14 +1,31 @@
|
||||
<div class="list-group">
|
||||
<table class="table">
|
||||
@foreach($transactions as $transaction)
|
||||
|
||||
<a class="list-group-item list-group-item-action d-flex justify-content-between align-items-center" href="{{ route('transactions.show', [$transaction['transaction_group_id']]) }}">
|
||||
@if('' !== (string) $transaction['transaction_group_title'])
|
||||
{{ $transaction['transaction_group_title'] }}:
|
||||
@endif
|
||||
{{ $transaction['description'] }}
|
||||
<span class="small">
|
||||
<x-generic.amount :transaction="$transaction" />
|
||||
</span>
|
||||
</a>
|
||||
<tr>
|
||||
<td style="width:10%;">
|
||||
<x-elements.transaction-type-icon :type="$transaction['transaction_type_type']" />
|
||||
</td>
|
||||
<td>
|
||||
<a class="" href="{{ route('transactions.show', [$transaction['transaction_group_id']]) }}">
|
||||
@if('' !== (string) $transaction['transaction_group_title'])
|
||||
{{ $transaction['transaction_group_title'] }}:
|
||||
@endif
|
||||
{{ $transaction['description'] }}
|
||||
</a>
|
||||
</td>
|
||||
<td class="text-end" style="width:30%;">
|
||||
<span class="small">
|
||||
<x-generic.amount :transaction="$transaction" />
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
|
||||
|
||||
|
||||
<span>
|
||||
|
||||
|
||||
|
||||
</a>
|
||||
</div>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user