@php($h = \App\Services\MonthlyWorkforce\ReportExport::hours(...))
RAMA GIPSER AG · WORKFORCE
{{ __('workforce.subtitle') }}
{{ __('workforce.'.$label) }}
{{ $key==='sites'?count(array_filter($report['sites'],fn($s)=>$s['id']>0)):($unit==='h'?$h($report['totals'][$key]):$report['totals'][$key]) }} {{ $unit }}{{ __('workforce.loading') }}
{{ __('smgv.months.'.$doc['month']) }} {{ $doc['year'] }} · {{ $doc['timezone'] }} · {{ __('workforce.hoursUnit') }}
| {{ __('workforce.date') }} | Feiertag | Lage (Baustelle) | IST Arbeitszeit | Reisezeit | Überzeit | Zuschläge | Mittagsentschädigung | Absenzen | Total | {{ __('workforce.status') }} |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ substr($day['date'],8) }}{{ ['','Mo','Di','Mi','Do','Fr','Sa','So'][$day['weekday']] }} | {{ $day['holiday_name']??'—' }} | {{ implode(' / ',$day['site_names'])?:'—' }} | {{ $day['known']||$day['prod']>0?$h($day['prod']):'—' }} | {{ $day['known']||$day['travel']>0?$h($day['travel']):'—' }} | — | {{ $h($day['supplements']) }} | — | {{ \App\Services\MonthlyWorkforce\ReportExport::absenceText($day['absences'])?:'—' }}@if($day['approved_leave']){{ __('workforce.approvedLeave') }}@endif | {{ $day['known']||$day['combined']>0?$h($day['combined']):'—' }} | {{ __('workforce.statuses.'.$day['status']) }}@if($day['corrected']){{ __('workforce.statuses.corrected') }}@endif |
{{ __('workforce.details') }} · {{ $day['date'] }}{{ $day['employee'] }} · {{ __('workforce.workHours') }} {{ $h($day['prod']) }} h · {{ __('workforce.travelHours') }} {{ $h($day['travel']) }} h · {{ __('workforce.scheduled') }} {{ $h($day['soll']) }} h @if($day['ambiguous']){{ __('workforce.ambiguousAllocation') }} @endif @foreach($day['details'] as $detail){{ $detail['worksite']['name']??__('workforce.unallocated') }} · {{ $detail['start']??'—' }} → {{ $detail['end']??'—' }} · {{ __('workforce.break') }} {{ $detail['break_minutes']===null?'—':$h((int)$detail['break_minutes']) }} h · GPS: {{ __('workforce.'.$detail['gps']) }} · {{ $detail['source'] }} @endforeach
@foreach($day['corrections'] as $correction){{ $correction['category'] }}: {{ $h($correction['minutes']) }} h · {{ $correction['reason'] }} @endforeach{{ $day['historical']?__('workforce.historicalSource'):__('workforce.digitalSource') }} {{ $doc['closed']?__('workforce.closedSnapshot'):__('workforce.approvalNote') }} | ||||||||||
| {{ __('workforce.noRows') }} | ||||||||||
| Total · {{ $doc['totals']['working_days'] }} {{ __('workforce.workdays') }} | {{ $h($doc['totals']['prod']) }} | {{ $h($doc['totals']['travel']) }} | — | {{ $h($doc['totals']['supplements']) }} | — | {{ \App\Services\MonthlyWorkforce\ReportExport::absenceText($doc['totals']['absences']) }} | {{ $h($doc['totals']['combined']) }} | |||
{{ __('workforce.originalCategories') }}
| {{ __('workforce.'.$key) }} | @endforeach||||||||
|---|---|---|---|---|---|---|---|---|
| @if($site['id']){{ $site['name'] }}@else{{ $site['name'] }}@endif | {{ $site['address'] }} {{ $site['city'] }} | {{ $site['active']===null?'—':__('workforce.'.($site['active']?'active':'inactive')) }} | {{ $site['employees'] }} | {{ $site['days'] }} | @foreach(['prod','travel','combined'] as $key){{ $h($site[$key]) }} h | @endforeach@if($site['id'])PDF@endif | ||
| {{ __('workforce.empty') }} | ||||||||
{{ __('workforce.ambiguousAllocation') }}
{{ __('workforce.summaryHint') }}
{{ __('workforce.unconfigured') }}
{{ __('workforce.correctionLink') }}{{ __('workforce.unconfigured') }}