@foreach (CadreLegal::destinatairesPour($resiliation->client) as $destinataire)
@php $notification = $resiliation->notifications->firstWhere('destinataire', $destinataire); @endphp
{{ CadreLegal::destinataire($destinataire)['libelle'] }}
@if ($notification?->statut === 'envoyee')
Envoyée le {{ $notification->envoyee_le?->format('d/m/Y') }}
@elseif ($notification && ! $notification->concerne)
Non concerné
@else
Lettre prête — à déposer contre décharge ou à envoyer en recommandé AR
@endif
@if (! $notification || $notification->concerne)
Ouvrir
{{ SortieDocument::LIBELLE }}
@endif