mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Referred to an id which turned out to be a index.
This commit is contained in:
parent
0656ccbdd9
commit
52d23b6ef5
@ -149,9 +149,9 @@
|
||||
</div>
|
||||
<table class="table">
|
||||
<?php $sum = 0;?>
|
||||
@foreach($groupedExpenses as $id => $expense)
|
||||
@foreach($groupedExpenses as $expense)
|
||||
<tr>
|
||||
<td><a href="{{route('accounts.show',$id)}}">{{{$expense['name']}}}</a></td>
|
||||
<td><a href="{{route('accounts.show',$expense['id'])}}">{{{$expense['name']}}}</a></td>
|
||||
<td>{!! Amount::format(floatval($expense['amount'])*-1) !!}</td>
|
||||
</tr>
|
||||
<?php $sum += floatval($expense['amount'])*-1;?>
|
||||
|
Loading…
Reference in New Issue
Block a user