{{ __('Ticket detail') }}

{{ __('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'))
@csrf @method('PATCH')
@if($ticket->status == 1) @endif @if($ticket->status == 0) @endif
@endif
{{ $ticket->subject }}

{{ $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'))
@csrf
{{ __('Reply') }}
@endif
@push('scripts') @endpush