@extends('layouts.admin') @section('styles') @endsection @section('content')

{{ $ticket->subject }}

ID: #{{ $ticket->id }} Client: {{ $ticket->user_name }}
{{-- [NEW] সাউন্ড কন্ট্রোল বাটন --}}
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
{{-- [IMPORTANT] ক্লিক করলে সাউন্ড থামবে --}}
Customer will be notified via email.
@endsection @section('scripts') {{-- jQuery & SweetAlert --}} @endsection