@extends('user.layouts.app') @section('title', 'Ticket #' . $ticket->ticket_number) @section('content')
← Back to Tickets

Ticket Details

Subject

{{ $ticket->subject }}

Ticket ID

{{ $ticket->ticket_number }}

Status

{{ ucfirst($ticket->status) }}

Order

#{{ $ticket->order->order_number }}

@if($ticket->status === 'open')
@csrf
@endif

Conversation

@foreach($ticket->messages as $message)

{{ $message->message }}

@if($message->attachment_path) @endif

{{ $message->created_at->format('M d, h:i A') }} @if($message->user_id !== auth()->id()) • {{ $message->user->name }} (Support) @endif

@endforeach
@if($ticket->status === 'open')
@csrf
@else
This ticket is closed. You can no longer reply.
@endif
@endsection