{{-- Toolbar (hidden when printing) --}}
arrow_back Back
{{-- Header --}}
verified_user

Compliance Report

Scope: {{ $scopeLabel }} · {{ $user->roleLabel() }}

Prepared by {{ $user->name }}

{{ $generatedAt->format('j M Y, H:i') }}

{{-- Org summary --}}
@php $cards = [ ['Services', $summary['services'], '#0E7C7B'], ['Care Workers', $summary['workers'], '#0B1B2B'], ['Compliance', $summary['compliance'].'%', '#0E7C7B'], ['Overdue', $summary['overdue'], '#C1473A'], ]; @endphp @foreach($cards as [$label, $value, $color])

{{ $value }}

{{ $label }}

@endforeach
{{-- Per-service, top → down --}} @forelse($serviceBlocks as $b)

{{ $b['service']->name }}

{{ $b['service']->code }} @if($b['service']->serviceManager) · SM: {{ $b['service']->serviceManager->name }} @endif @if($b['service']->registeredManager) · RM: {{ $b['service']->registeredManager->name }} @endif

{{ $b['compliance'] }}%

{{ $b['workers']->count() }} workers · {{ $b['overdue'] }} overdue

@forelse($b['workers'] as $w) @empty @endforelse
Care Worker Completed Overdue Compliance
{{ $w['user']->name }} {{ $w['completed'] }}/{{ $w['total'] }} {{ $w['overdue'] }}
{{ $w['compliance'] }}%
No care workers at this service.
@empty

No services in your scope.

@endforelse

Segra LMS · Compliance Report · Generated {{ $generatedAt->format('j M Y H:i') }}