Forgot to commit one view.

This commit is contained in:
James Cole 2015-02-27 16:53:06 +01:00
parent b2c1527b17
commit c1290c4e9b

View File

@ -1,6 +1,6 @@
@extends('layouts.default') @extends('layouts.default')
@section('content') @section('content')
{{ Breadcrumbs::renderIfExists(Route::getCurrentRoute()->getName(), $date) }} {!! Breadcrumbs::renderIfExists(Route::getCurrentRoute()->getName(), $date) !!}
<div class="row"> <div class="row">
<div class="col-lg-5 col-md-5 col-sm-12"> <div class="col-lg-5 col-md-5 col-sm-12">
<div class="panel panel-default"> <div class="panel panel-default">
@ -10,11 +10,11 @@
@foreach($income as $entry) @foreach($income as $entry)
<tr> <tr>
<td> <td>
@if($entry->encrypted == 1) @if($entry->encrypted === true)
<a href="{{route('transactions.show',$entry->id)}}" title="{{{Crypt::decrypt($entry->description)}}}">{{{Crypt::decrypt($entry->description)}}}</a> <a href="{{route('transactions.show',$entry->id)}}" title="{{{Crypt::decrypt($entry->description)}}}">{{{Crypt::decrypt($entry->description)}}}</a>
@else @else
<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>
@endif @endif
</td> </td>
<td> <td>
<?php $tableSum += floatval($entry->amount);?> <?php $tableSum += floatval($entry->amount);?>
@ -39,7 +39,7 @@
@if(isset($displaySum) && $displaySum === true) @if(isset($displaySum) && $displaySum === true)
<tr> <tr>
<td><em>Sum</em></td> <td><em>Sum</em></td>
<td colspan="3">{{Amount::format($tableSum)}}</td> <td colspan="3">{!! Amount::format($tableSum) !!}</td>
</tr> </tr>
@endif @endif
@ -59,12 +59,12 @@
@else @else
<td><em>{{{$expense['name']}}}</em></td> <td><em>{{{$expense['name']}}}</em></td>
@endif @endif
<td>{{Amount::format($expense['amount'])}}</td> <td>{!! Amount::format($expense['amount']) !!}</td>
</tr> </tr>
@endforeach @endforeach
<tr> <tr>
<td><em>Sum</em></td> <td><em>Sum</em></td>
<td>{{Amount::format($sum)}}</td> <td>{!! Amount::format($sum) !!}</td>
</tr> </tr>
</table> </table>
</div> </div>
@ -81,15 +81,15 @@
<table class="table table-bordered"> <table class="table table-bordered">
<tr> <tr>
<td>In</td> <td>In</td>
<td>{{Amount::format($in)}}</td> <td>{!! Amount::format($in) !!}</td>
</tr> </tr>
<tr> <tr>
<td>Out</td> <td>Out</td>
<td>{{Amount::format($sum)}}</td> <td>{!! Amount::format($sum) !!}</td>
</tr> </tr>
<tr> <tr>
<td>Difference</td> <td>Difference</td>
<td>{{Amount::format($in - $sum)}}</td> <td>{!! Amount::format($in - $sum) !!}</td>
</tr> </tr>
</table> </table>
</div> </div>
@ -125,16 +125,16 @@
<em>{{{$budget['name']}}}</em> <em>{{{$budget['name']}}}</em>
@endif @endif
</td> </td>
<td>{{Amount::format($budget['amount'])}}</td> <td>{!! Amount::format($budget['amount']) !!}</td>
<td>{{Amount::format($budget['spent'],false)}}</td> <td>{!! Amount::format($budget['spent'],false) !!}</td>
<td>{{Amount::format($budget['amount'] + $budget['spent'])}}</td> <td>{!! Amount::format($budget['amount'] + $budget['spent']) !!}</td>
</tr> </tr>
@endforeach @endforeach
<tr> <tr>
<td><em>Sum</em></td> <td><em>Sum</em></td>
<td>{{Amount::format($sumEnvelope)}}</td> <td>{!! Amount::format($sumEnvelope) !!}</td>
<td>{{Amount::format($sumSpent)}}</td> <td>{!! Amount::format($sumSpent) !!}</td>
<td>{{Amount::format($sumLeft)}}</td> <td>{!! Amount::format($sumLeft) !!}</td>
</tr> </tr>
</table> </table>
</div> </div>
@ -158,12 +158,12 @@
<em>{{{$category['name']}}}</em> <em>{{{$category['name']}}}</em>
@endif @endif
</td> </td>
<td>{{Amount::format($category['amount'],false)}}</td> <td>{!! Amount::format($category['amount'],false) !!}</td>
</tr> </tr>
@endforeach @endforeach
<tr> <tr>
<td><em>Sum</em></td> <td><em>Sum</em></td>
<td>{{Amount::format($sum)}}</td> <td>{!! Amount::format($sum) !!}</td>
</tr> </tr>
</table> </table>
</div> </div>
@ -187,16 +187,16 @@
?> ?>
<tr> <tr>
<td><a href="{{route('accounts.show',$id)}}">{{{$account['name']}}}</a></td> <td><a href="{{route('accounts.show',$id)}}">{{{$account['name']}}}</a></td>
<td>{{Amount::format($account['startBalance'])}}</td> <td>{!! Amount::format($account['startBalance']) !!}</td>
<td>{{Amount::format($account['endBalance'])}}</td> <td>{!! Amount::format($account['endBalance']) !!}</td>
<td>{{Amount::format($account['difference'])}}</td> <td>{!! Amount::format($account['difference']) !!}</td>
</tr> </tr>
@endforeach @endforeach
<tr> <tr>
<td><em>Sum</em></td> <td><em>Sum</em></td>
<td>{{Amount::format($sumStart)}}</td> <td>{!! Amount::format($sumStart) !!}</td>
<td>{{Amount::format($sumEnd)}}</td> <td>{!! Amount::format($sumEnd) !!}</td>
<td>{{Amount::format($sumDiff)}}</td> <td>{!! Amount::format($sumDiff) !!}</td>
</tr> </tr>
</table> </table>
</div> </div>