@extends('layout.mainlayout') @section('content')
@if ($userType != '0')
@component('components.pageheader') @slot('title_1') @endslot @slot('title') Liste de mes Tâches @endslot @endcomponent
@foreach ($tasks as $task) @endforeach
Action Date Rapport Libellé Tâche Statut Date de création Date de fin
{{-- --}}
@csrf @method('DELETE')
{{ $task->rapport->libelle }} {{ $task->title }} {{ $task->statut }} {{ $task->created_at }} {{ $task->finished_at ? $task->finished_at : 'N/A' }}
@else
@component('components.pageheader') @slot('title_1') @endslot @slot('title') Liste de mes Tâches @endslot @endcomponent
@foreach ($tasks as $task) @endforeach
Action Date Rapport Libellé Tâche Statut Date de création Date de fin
{{-- --}}
@csrf @method('DELETE')
{{ $task->rapport->libelle }} {{ $task->title }} {{ $task->statut }} {{ $task->created_at }} {{ $task->finished_at ? $task->finished_at : 'N/A' }}
@component('components.pageheader') @slot('title_1') @endslot @slot('title') Liste de toutes les Tâches @endslot @endcomponent
@foreach ($tasks as $task) @endforeach
Action Nom Créateur Date Rapport Libellé Tâche Statut Date de création Date de fin
{{-- --}}
@csrf @method('DELETE')
{{ $task->rapport->user_id }} {{ $task->rapport->libelle }} {{ $task->title }} {{ $task->statut }} {{ $task->created_at }} {{ $task->finished_at ? $task->finished_at : 'N/A' }}
@endif
@endsection @section('script') @endsection