mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-28 06:15:39 +00:00
Referred to an id which turned out to be a index.
This commit is contained in:
@@ -149,9 +149,9 @@
|
|||||||
</div>
|
</div>
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<?php $sum = 0;?>
|
<?php $sum = 0;?>
|
||||||
@foreach($groupedExpenses as $id => $expense)
|
@foreach($groupedExpenses as $expense)
|
||||||
<tr>
|
<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>
|
<td>{!! Amount::format(floatval($expense['amount'])*-1) !!}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php $sum += floatval($expense['amount'])*-1;?>
|
<?php $sum += floatval($expense['amount'])*-1;?>
|
||||||
|
|||||||
Reference in New Issue
Block a user