@extends('layout.app') @section('tickets', 'active') @section('content')
| # | Projet | Type | Description | Fichier | Date de création | Créer par | Status | @foreach ($tickets as $ticket) @if (Auth::user()->project_id === $ticket->project->id || Auth::user()->role === 1) |
|---|---|---|---|---|---|---|---|---|
| {{-- Modal du ticket --}} | {{ $ticket->project->name }} | @if ($ticket->type === 0) Bug @else Évolution @endif | {{ \Illuminate\Support\Str::limit($ticket->text, 40, '...') }} | @if ($ticket->file !== null) Fichier @endif | {{ Carbon\Carbon::parse($ticket->created_at)->format('d/m/Y à H:i') }} | {{ $ticket->user->name }} | {{ $status[$ticket->status] }} | @if ($ticket->created_by === Auth::user()->id || Auth::user()->role === 1) Modifier @endif |
Pour consulter vos tickets, merci de vous connecter : Connexion
@endauth