{{ $survey->structure?->name ?? '-' }}
@if ($survey->structure?->type)
{{ $survey->structure->type }}
@endif
@php
$auditLevel = $survey->audit_level?->value ?? 'Formation Sanitaire';
$auditColor = match ($auditLevel) {
'Region' => 'info',
'District' => 'warning',
default => 'primary',
};
@endphp
Audit : {{ $auditLevel }}
@if (!empty($ancestors))
@foreach (array_reverse($ancestors) as $i => $a)
@if ($i > 0)
@endif
{{ $a->name }}
@endforeach
@endif
Date collecte
{{ $survey->collected_on?->format('d/m/Y') }}
Statut
@php $s = $survey->status?->value ?? 'draft'; @endphp
{{ $statusLabels[$s] ?? $s }}
@if ($survey->validated_at)
{{ $survey->validator?->name ?? 'Système' }} ·
{{ $survey->validated_at->format('d/m/Y H:i') }}
@endif
Resp. données
{{ $survey->data_manager }}
Resp. régional
{{ $survey->regional_manager ?? '-' }}
@if ($survey->investigators->isNotEmpty())
Équipe d'évaluation
@foreach ($survey->investigators as $inv)
{{ $inv->name }}
@endforeach
@endif