@extends('layouts.app') @section('content')

Reports

{!! Form::open(['method' => 'get']) !!}
{!! Form::label('project','Project',['class' => 'control-label']) !!} {!! Form::select('project', $projects, old('project',$currentProject), ['class' => 'form-control']) !!}

{!! Form::submit('Select project',['class' => 'btn btn-info']) !!}
{!! Form::close() !!}
@foreach ($entries as $date => $info) @foreach($info as $currency => $row) @endforeach @endforeach
Month Income Expenses Fees Total
{{ $date }} {{ number_format($row['income'],2) }} {{ $currency }} {{ number_format($row['expenses'],2) }} {{ $currency }} {{ number_format($row['fees'],2) }} {{ $currency }} {{ number_format($row['total'],2) }} {{ $currency }}
@stop