Taches archivées
@foreach ($taskGetArchive as $task) @php $link=''; @endphp @if ($task->type_dest == 'fiche_rapport') @php $link='rapports/' @endphp @endif @if ($task->type_dest == 'fiche_operation') @php $link='operations/' @endphp @endif @if ($task->type_dest == 'fiche_client') @php $link='clients/' @endphp @endif @if ($task->type_dest == 'fiche_users') @php $link='users/' @endphp @endif @if ($task->type_dest == 'rdv') @php $link='/' @endphp @endif @if ($task->type_dest == 'demandes') @php $link='/' @endphp @endif @endforeach
Date Date d'archivage Expéditeur Destinataire(s) Type Commentaires
{{ date('d/m/Y à H:i', strtotime($task->date_creation_task)) }} {{ date('d/m/Y à H:i', strtotime($task->updated_at)) }} {{ $task->user_firstname }} {{ $task->user_lastname }} @foreach ($receipt[$task->task_id] as $value) {{ $value }}
@endforeach
{{ $task->type_task_desc }} {{ $task->comment_task }} @if (auth()->user()->user_type == 1 || Auth::user()->user_id == $task->sender_id)
@csrf @method('delete')
@endif