{{ __('Support Center - Ticket #') }}{{ $supportTicket->ticket_id }}
{{ __("User ID : ") }}{{ $supportTicket->user_id }}
@if ($supportTicket->user()->exists()){{ __("Name : ") }}{{ $supportTicket->user->name }}
@else{{ __("Name : N/A") }}
@endif
@if ($supportTicket->user()->exists())
@if (!is_null($supportTicket->user()) && $supportTicket->user->user_type == 0)
{{ __("User Type : Customer") }}
@elseif (!is_null($supportTicket->user()) && $supportTicket->user->user_type == 1){{ __("User Type : Taxi Owner") }}
@elseif (!is_null($supportTicket->user()) && $supportTicket->user->user_type == 2){{ __("User Type : Company") }}
@endif @if (!is_null($supportTicket->user()) && !is_null($supportTicket->user->whatsapp_no)){{ __("WhatsApp Number : ") }}{{ $supportTicket->user->whatsapp_no }}
@endif @else{{ __("User Type : N/A") }}
{{ __("WhatsApp Number : N/A") }}
@endif{{ __("Subject : ") }} {{ $supportTicket->subject }}
@foreach ($chats as $ticketChat)
@endforeach
@if ($ticketChat->sender_id == 0)
{{ __("You") }}
@elseif($ticketChat->sender_id != 0 && !is_null($ticketChat->sender())){{ $ticketChat->sender->name }}
@endif
{{ \Carbon\Carbon::parse($ticketChat->created_at)->format('M d, Y h:i:s A') }}