@extends('layouts.dash') @section('title', 'Ticket #'.$ticket->id) @section('content')

#{{ $ticket->id }} — {{ $ticket->subject }}

{{ $ticket->service->name ?? 'General' }} • opened {{ $ticket->created_at->diffForHumans() }}

@if($ticket->status !== 'closed')
@csrf
@endif All Tickets
{!! badge($ticket->status) !!} {!! badge($ticket->priority) !!}
@foreach($ticket->replies as $r)
{{ $r->is_admin ? '🛡️ Support Team' : e($r->user->name ?? 'You') }}{{ $r->created_at->diffForHumans() }}
{!! nl2br(e($r->message)) !!}
@endforeach @if($ticket->status !== 'closed')
@csrf
@else
This ticket is closed. Open a new one if you need more help.
@endif
@endsection