← Back to Tickets
{{ $ticket->subject }}
Ticket #{{ $ticket->id }} • @if($ticket->status === 'open') Open @elseif($ticket->status === 'pending') Pending @elseif($ticket->status === 'answered') Answered @elseif($ticket->status === 'closed') Closed @endif • Created {{ $ticket->created_at->format('M d, Y h:ia') }}
@if(session('success'))
✓ {{ session('success') }}
@endif
@foreach ($ticket->replies as $reply) @if(!$reply->is_internal_note) @php $isMe = $reply->user_id === auth()->id(); $isCustomer = $reply->user_id === $ticket->user_id && $ticket->user_id !== auth()->id(); $isAdmin = !$isMe && !$isCustomer; @endphp
{{ substr($reply->user->name ?? '?', 0, 1) }}
@if($isMe) You @elseif($isCustomer) {{ $ticket->user->name ?? 'Customer' }} @else Support Team @endif {{ $reply->created_at->diffForHumans() }}
{{ $reply->body }}
{{-- Attachments --}} @if($ticket->attachments->where('reply_id', $reply->id)->count() > 0)
@foreach ($ticket->attachments->where('reply_id', $reply->id) as $attachment) {{ $attachment->file_name }} @endforeach
@endif
@endif @endforeach
@if($ticket->status !== 'closed')

Post a Reply

@csrf
This will notify the @if($ticket->vendor_id === auth()->id()) customer @else platform @endif.
@else
🔒
This ticket has been closed. If you have a question regarding a similar issue, please open a new ticket.
@endif