@section('title') Support Ticket #{{ $ticket->id }} @endsection @section('breadcrumbs') {{ Breadcrumbs::render('tickets.show', $ticket) }} @endsection
{{-- Main Chat Area --}}
{{-- Ticket Header --}}
{{ $ticket->subject }} Ticket #{{ $ticket->id }} • Created {{ $ticket->created_at->diffForHumans() }}
Back
{{-- Status Pills --}}
{{ ucfirst($ticket->category) }} {{ ucfirst($ticket->priority) }} Priority @php $statusConfig = [ 'open' => ['color' => 'primary', 'icon' => 'ki-timer'], 'in_progress' => ['color' => 'success', 'icon' => 'ki-abstract-26'], 'closed' => ['color' => 'danger', 'icon' => 'ki-cross-circle'], ]; $config = $statusConfig[$ticket->status] ?? [ 'color' => 'primary', 'icon' => 'ki-timer', ]; @endphp {{ ucfirst(str_replace('_', ' ', $ticket->status)) }}
{{-- Chat Messages --}}

Conversation

@forelse ($ticket->messages as $message) @if (!$message->is_admin) {{-- Customer Message --}}
{{ substr($message->user->name, 0, 1) }}
{{ $message->user->name }} {{ $message->created_at->format('M d, H:i') }}
{{ $message->message }}
{{ $message->created_at->diffForHumans() }}
@else {{-- Support Team Message --}}
{{ $message->created_at->format('M d, H:i') }} Support Team
{{ $message->message }}
{{ $message->created_at->diffForHumans() }}
@endif @empty

No Messages Yet

Start the conversation by sending your first message below

@endforelse
{{-- Reply Footer --}} @if ($ticket->status !== 'closed') @else @endif
{{-- Sidebar --}}
{{-- Ticket Info Card --}}

Ticket Information Details about this support ticket

{{-- Status Overview --}}
Status
{{ ucfirst(str_replace('_', ' ', $ticket->status)) }}
{{-- Category --}}
Category
{{ ucfirst($ticket->category) }}
{{-- Priority --}}
Priority
{{ ucfirst($ticket->priority) }}
{{-- Created Date --}}
Created
{{ $ticket->created_at->format('M d, Y') }}
{{-- Last Updated --}}
Last Updated
{{ $ticket->updated_at->diffForHumans() }}
{{-- Messages Count --}}
Total Messages
{{ $ticket->messages->count() }}
{{-- Help Card --}}

Need More Help?

Our support team typically responds within 24 hours