@extends('layout.mainlayout') @section('content')
@if (session('success'))
{{ session('success') }}
@endif

Rapports Soumis

Tâches Soumis

Tâches En Cours

@foreach ($tasks as $index => $task) @if ($task->statut === 'En Cours') @endif @endforeach
Libellé Tâche Statut Date Création
{{ $task->title }} {{ $task->statut }} {{ $task->created_at }}
{{-- @if (auth()->check() && auth()->user()->user_type === 'admin') --}} {{--

Mes Tâches En Cours

@foreach ($tasks as $index => $task) @if ($task->statut === 'En Cours') @endif @endforeach
Libellé Tâche Statut Date Création
{{ $task->title }} {{ $task->statut }} {{ $task->created_at }}

Toutes les Tâches En Cours

@foreach ($allTasks as $index => $task) @if ($task->statut === 'En Cours') @endif @endforeach
Libellé Tâche Statut Date Création
{{ $task->title }} {{ $task->statut }} {{ $task->created_at }}
--}} {{-- @endif --}}

Projets En Cours

@foreach ($projets as $index => $projet) @if ($projet->statut === 'En Cours') @endif @endforeach
Libellé Projet Statut Date Création
{{ $projet->name }} {{ $projet->statut }} {{ $projet->created_at }}

Modules En Cours

@foreach ($modules as $index => $module) @if ($module->statut === 'En Cours') @endif @endforeach
Libellé Projet Libellé Module Statut Date Création
{{ $module->projet ? $module->projet->name : 'N/A' }} {{ $module->name }} {{ $module->statut }} {{ $module->created_at }}
@endsection @section('script') @endsection