@if (!isset($listeTableau['rappel']))

@elseif (count($rappels) === 0) @if((!isset($rappel_only) || $rappel_only == false))
@else
@endif

Rappel @if (isset($filter_start_date) && isset($filter_end_date)) du {{ date_format($filter_start_date, 'Y-m-d') }} au {{ date_format($filter_end_date, 'Y-m-d') }} @endif

Aucune donnée

@else @if((!isset($rappel_only) || $rappel_only == false))
@else
@endif

Rappel @if (isset($filter_start_date) && isset($filter_end_date)) du {{ date_format($filter_start_date, 'Y-m-d') }} au {{ date_format($filter_end_date, 'Y-m-d') }} @endif

@php //sort rappels by date with collection laravel if(!isset($rappel_only) || $rappel_only == false){ $rappels = $rappels->sortBy('date'); } @endphp @foreach ($rappels as $item) @php $arrNotes = $item->getNotesArray(); @endphp @foreach ($arrNotes as $note) @if ($loop->index == 0) @else @endif @endforeach @endforeach
Statut Employé(e) Description Recurrence Date d'échéance Rappel avant échéance Destinataire(s) Note
{{ $item->is_past ? 'Archivé' : 'Actif' }} {{ $item->employee_name }} {{ $item->description }} {{ $item->recurrence_label }} {{ date_format($item->date, 'Y-m-d') }} @if ($item->number_days_before_notification == 0) Rappel le jour de l'échéance @else Rappel {{ $item->number_days_before_notification }} jours avant échéance @endif @foreach ($item->destinataires_email as $index => $destinataire) {{ $destinataire }}{{ $index < count($item->destinataires_email) - 1 ? ', ' : '' }} @endforeach {!! $note !!}
{!! $note !!}
@endif