@extends('layouts.admin') @section('styles') @endsection @section('content')
@include('admin.partials.pro-hero', [ 'icon' => 'fas fa-comments', 'title' => $ticket->subject, 'subtitle' => __('Ticket') . ' #' . $ticket->id . ' — ' . __('Client') . ': ' . $ticket->user_name, 'breadcrumbs' => [ ['label' => __('Dashboard'), 'url' => route('admin.dashboard')], ['label' => __('Tickets'), 'url' => route('admin.tickets.index')], ['label' => '#' . $ticket->id, 'url' => null], ], ])

{{ __('Ticket Controls') }}

Sound ON
{{ __('Back') }}
{{ substr($ticket->user_name, 0, 1) }}
{{ __('Issue Description') }} {{ $ticket->message }}
{{ \Carbon\Carbon::parse($ticket->created_at)->format('h:i A') }}
@foreach($replies as $reply) @php $isAdmin = !empty($reply->admin_id); @endphp
{{ $isAdmin ? 'A' : substr($reply->customer_name ?? 'C', 0, 1) }}
{{ $reply->message }}
{{ \Carbon\Carbon::parse($reply->created_at)->diffForHumans() }}
@endforeach
@csrf
{{ __('Customer will be notified via email.') }}
@endsection @section('scripts') @endsection