{{ __('Ticket ID') }}
{{ __('#') . $ticket->ticketId }}
{{ __('Created by') }}
{{ $ticket->user->name }}
{{ __('Status') }}
@if($ticket->status === 1){{ __('Open') }}
@endif @if($ticket->status === 0){{ __('Closed') }}
@endif{{ __('Priority') }}
@if($ticket->priority === 1){{ __('High') }}
@endif @if($ticket->priority === 2){{ __('Normal') }}
@endif @if($ticket->priority === 3){{ __('Low') }}
@endif @if(auth()->user()->can('edit-ticket')) @endif{{ $ticket->user->name }}
{{ $ticket->created_at }}
{{ $ticket->message }}
@foreach($ticket->comments as $com){{ $com->user->name }}
{{ $com->created_at }}
{{ $com->comment }}
@endforeach @if(auth()->user()->can('create-comment')) @endif