@extends('pdf.layout') @section('content') @php $t = $d['totals']; $cols = ['employee' => false, 'scheduled' => true, 'recorded' => true, 'work' => true, 'break' => true, 'travel' => true, 'private' => true, 'lateShort' => true, 'incomplete' => true, 'status' => false]; @endphp

{{ __('reportExport.monthly.title') }}

{{ $fmt($d['month']['firstKey']) }} – {{ $fmt($d['month']['lastKey']) }} ({{ __('reportExport.monthly.days', ['count' => $d['month']['days']]) }})

{{ __('reportExport.monthly.period') }}{{ $fmt($d['month']['firstKey']) }} – {{ $fmt($d['month']['lastKey']) }}
{{ __('reportExport.monthly.workers') }}{{ $t['workersIncluded'] }}
{{ __('reportExport.monthly.recordedDays') }}{{ $t['recordedDays'] }}
{{ __('reportExport.monthly.late') }}{{ $t['lateArrivals'] }}

{{ __('reportExport.monthly.table') }}

@foreach ($cols as $col => $right)@endforeach @foreach ($d['employees'] as $e) @endforeach
{{ __('reportExport.monthly.'.$col) }}
{{ $e['name'] }}{{ $e['scheduledDays'] }}{{ $e['recordedDays'] }}{{ $h($e['workMinutes']) }}{{ $h($e['breakMinutes']) }}{{ $h($e['travelMinutes']) }}{{ $h($e['privateLeaveMinutes']) }}{{ $e['lateArrivals'] }}{{ $e['incompleteRecords'] }}{{ __('reportExport.monthlyStatus.'.$e['status']) }}
{{ __('reportExport.weekly.total') }}{{ $t['scheduledDays'] }}{{ $t['recordedDays'] }}{{ $h($t['workMinutes']) }}{{ $h($t['breakMinutes']) }}{{ $h($t['travelMinutes']) }}{{ $h($t['privateLeaveMinutes']) }}{{ $t['lateArrivals'] }}{{ $t['incompleteRecords'] }}

{{ __('reportExport.monthly.notes') }}

@foreach (['noteFactual', 'noteAbsence', 'noteGps'] as $n)

{{ __('reportExport.monthly.'.$n) }}

@endforeach @include('pdf._journeys') @endsection