@php $statusColors = [ 'draft' => 'secondary', 'submitted' => 'primary', 'validated' => 'success', ]; $statusLabels = [ 'draft' => 'Brouillon', 'submitted' => 'Soumise', 'validated' => 'Validée', ]; @endphp
Toutes les collectes
@if ($search || $campaignId || $regionId || $status) @endif
@if (session('surveys.success')) @endif @if (count($selected) > 0) @endif @role('Admin') @endrole
Chargement…
@forelse ($surveys as $s) @empty @endforelse
# @if ($sortField === 'id') @endif Formation sanitaire Campagne Date @if ($sortField === 'collected_on') @endif Responsable @if ($sortField === 'data_manager') @endif Participants Statut
{{ $s->id }} @if ($s->structure) {{ $s->structure->name }} @if ($s->structure->type) {{ $s->structure->type }} @endif @else - @endif {{ $s->campaign?->name ?? '-' }} {{ $s->collected_on?->format('d/m/Y') }} {{ $s->data_manager }} {{ $s->participants_count }} @php $st = $s->status?->value ?? 'draft'; @endphp {{ $statusLabels[$st] ?? $st }}
@role('Admin') @endrole
Aucune collecte ne correspond aux filtres.