Mentioned wrong amount.

This commit is contained in:
James Cole
2015-04-20 20:56:28 +02:00
parent 4af9ff49a0
commit 7d32e50f25

View File

@@ -25,15 +25,15 @@
<a href="{{route('transactions.show',$entry->id)}}" title="{{{$entry->description}}}">{{{$entry->description}}}</a> <a href="{{route('transactions.show',$entry->id)}}" title="{{{$entry->description}}}">{{{$entry->description}}}</a>
</td> </td>
<td> <td>
<?php $tableSum += floatval($entry->amount);?> <?php $tableSum += floatval($entry->queryAmount);?>
@if($entry->type == 'Withdrawal') @if($entry->type == 'Withdrawal')
<span class="text-danger">{{Amount::format($entry->amount,false)}}</span> <span class="text-danger">{{Amount::format($entry->queryAmount,false)}}</span>
@endif @endif
@if($entry->type == 'Deposit') @if($entry->type == 'Deposit')
<span class="text-success">{{Amount::format($entry->amount,false)}}</span> <span class="text-success">{{Amount::format($entry->queryAmount,false)}}</span>
@endif @endif
@if($entry->type == 'Transfer') @if($entry->type == 'Transfer')
<span class="text-info">{{Amount::format($entry->amount,false)}}</span> <span class="text-info">{{Amount::format($entry->queryAmount,false)}}</span>
@endif @endif
</td> </td>
<td> <td>