@extends('layouts.user') @section('page-title', __('Ticket') . ' ' . $ticket->code) @section('content')

{{ $ticket->subject }}

{{ $ticket->code }}

{{ ucfirst($ticket->priority) }} {{ ucfirst($ticket->status) }}
@foreach($ticket->messages as $message)

{{ $message->is_admin ? __('Support Team') : __('You') }} ยท {{ $message->created_at->format('M d, H:i') }}

{{ $message->message }}

@if($message->attachment) {{ __('View attachment') }} @endif
@endforeach
@if($ticket->status !== 'closed')
@csrf
@else
{{ __('This ticket is closed.') }}
@endif @if($ticket->status !== 'closed')
@csrf
@endif
@endsection