@extends('layouts.metronic') @section('title')

Tichete

@endsection @section('content')
@if (Auth::user()->role->code == 'CLIENT')

@else
@endif
@foreach($projects as $project)

{{$project->name}}

@foreach ($project->tickets as $ticket)
@if ($ticket->status == "Deschis" && Auth::user()->role->code != "CLIENT") @endif
@if (Auth::user()->role->code != "CLIENT") @if ($ticket->user_names != null) Asignat lui: @foreach($ticket->user_names as $user_name) {{$user_name}}, @endforeach @endif @endif Creat la data: {{$ticket->created_at->format('d-m-Y')}}
@endforeach
@endforeach
@endsection @section('script') @endsection @section('menuVariables') @endsection