Showed the wrong value.

This commit is contained in:
James Cole 2015-04-19 14:27:08 +02:00
parent 52d23b6ef5
commit 6d1978fd9a

View File

@ -152,9 +152,9 @@
@foreach($groupedExpenses as $expense)
<tr>
<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['queryAmount'])*-1) !!}</td>
</tr>
<?php $sum += floatval($expense['amount'])*-1;?>
<?php $sum += floatval($expense['queryAmount'])*-1;?>
@endforeach
<tr>
<td><em>Sum</em></td>