Rapport d'évaluation DQA

{{ config('variables.templateName') }} - {{ config('variables.templateSuffix') }} · Généré le {{ now()->format('d/m/Y à H:i') }}
@php $ancestors = $survey->structure ? array_reverse($survey->structure->ancestors()) : []; @endphp

Informations de la collecte

@if ($survey->regional_manager) @endif
Formation sanitaire {{ $survey->structure?->name ?? '-' }} @if ($survey->structure?->type) {{ $survey->structure->type }} @endif
Campagne {{ $survey->campaign?->name }} ({{ $survey->campaign?->programme?->name }})
Date de collecte {{ $survey->collected_on?->format('d/m/Y') }}
Responsable données {{ $survey->data_manager }}
Responsable régional {{ $survey->regional_manager }}
Statut @php $st = $survey->status ?? \App\Enums\SurveyStatus::Draft; @endphp {{ $st->label() }}

Synthèse

Score global
{{ $globalScorePct !== null ? $globalScorePct . '%' : '-' }}
Participants
{{ $survey->participants->count() }}
Dimensions scorées
{{ $survey->dimensionScores->count() }}
Recommandations
{{ $recommendations->count() }}
@if ($survey->dimensionScores->isNotEmpty())

Scores par dimension

@foreach ($survey->dimensionScores as $ds) @php $pct = $ds->max_value > 0 ? round(($ds->value / $ds->max_value) * 100) : 0; $barCls = $pct >= 80 ? 'progress-success' : ($pct >= 50 ? 'progress-warning' : 'progress-danger'); @endphp @endforeach
Dimension Score Progression
{{ $ds->dimension?->label }} {{ $ds->value }} / {{ $ds->max_value }} ({{ $pct }}%)
@endif

Participants interrogés

@foreach ($survey->participants as $p) @endforeach
Nom Fonction Contact
{{ $p->last_name }} {{ $p->first_name }} {{ $p->role ?? '-' }} {{ $p->contact ?? '-' }}
@if ($recommendations->isNotEmpty())

Recommandations

@foreach ($recommendations as $rec) @endforeach
Dimension Actions recommandées Ressources Responsables Échéance
{{ $rec->dimensionScore?->dimension?->label ?? '-' }} {{ $rec->actions ?? '-' }} {{ $rec->resources ?? '-' }} {{ $rec->responsibles ?? '-' }} {{ $rec->deadline?->format('d/m/Y') ?? '-' }}
@endif