mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-22 06:23:12 -06:00
12ae548dab
- Small feedback bug in migration controller - Better database create scripts. - Fixed bug in seed scripts. - Cleanup and fixed sorting in various helpers - Extended some tests to catch changed code. - Created show(journal) and edit(journal) (untested) [skip-ci]
34 lines
1.2 KiB
PHP
34 lines
1.2 KiB
PHP
<table class="table table-bordered table-striped table-condensed">
|
|
<tr>
|
|
<th> </th>
|
|
<th>Description</th>
|
|
<th>Date</th>
|
|
<th>Amount</th>
|
|
</tr>
|
|
@foreach($account->transactionList as $journal)
|
|
<tr>
|
|
|
|
<td>
|
|
@if($journal->transactiontype->type == 'Withdrawal')
|
|
<span class="glyphicon glyphicon-arrow-left" title="Withdrawal"></span>
|
|
@endif
|
|
@if($journal->transactiontype->type == 'Deposit')
|
|
<span class="glyphicon glyphicon-arrow-right" title="Deposit"></span>
|
|
@endif
|
|
@if($journal->transactiontype->type == 'Transfer')
|
|
<span class="glyphicon glyphicon-resize-full" title="Transfer"></span>
|
|
@endif
|
|
|
|
</td>
|
|
<td><a href="{{route('transactions.show',$journal->id)}}">{{{$journal->description}}}</a></td>
|
|
<td>{{$journal->date->format('jS M Y')}}</td>
|
|
<td>
|
|
@foreach($journal->transactions as $t)
|
|
@if($t->account_id == $account->id)
|
|
{{mf($t->amount)}}
|
|
@endif
|
|
@endforeach
|
|
</td>
|
|
</tr>
|
|
@endforeach
|
|
</table> |