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

Reports: {{$employee->name}} ({{$employee->getRole->role}}) Back

@if($employee->role==3)
Year
Month
Exports
Imports
T1
Exports+T1
@foreach ($employee->years as $y)
{{$y->year}}
@foreach ($y->months as $m)
{{$getThis->global()->monthName($m->month)}}
{{$m->data['exports']}}
{{$m->data['imports']}}
{{$m->data['t1']}}
{{$m->data['exportT1']}}
@endforeach
@endforeach @endif @if($employee->role==4)
Year
Month
Totals
@foreach ($employee->years as $y)
{{$y->year}}
@foreach ($y->months as $m)
{{$getThis->global()->monthName($m->month)}}
{{$m->data['total_invoices']}} invoices -@if ($m->total_gbp > 0 ) £ {{number_format($m->total_gbp,2,'.',',')}} @endif @if ($m->total_eur > 0 ), €; {{number_format($m->total_eur,2,'.',',')}} @endif
@endforeach
@endforeach @endif
@endsection