@include('staff.handlers.staffheader')
@if(session('success'))
{{ session('success') }}
@endif @if($errors->any())
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
{{-- Main conversation --}}
{{-- Original ticket description --}}
{{ $ticket->user->name ?? 'Customer' }} Original request

{{ $ticket->st_description }}

@foreach($ticket->attachments as $attachment) {{ basename($attachment->sta_file_path) }} @endforeach
{{-- Conversation --}}
@forelse($ticket->comments as $comment) @php $isStaff = !empty($comment->stc_staff_id); @endphp
{{ $comment->stc_comment }}
@foreach($comment->attachments as $attachment) @endforeach
{{ $comment->created_at?->format('d M Y, h:i A') }}
@empty
No replies yet. Start the conversation below.
@endforelse
{{-- Reply composer --}}
@if($ticket->st_status !== 'Closed')
@csrf
JPG, PNG, MP4, MP3, WAV ยท Max 10MB each
@else
This ticket is closed. Reopen it to continue replying.
@endif
{{-- Ticket details sidebar --}}
@include('handlers.footer')