@php use function App\Utils\customer_info; @endphp @extends('theme-views.layouts.app') @section('title', translate('Support_Ticket').' | '.$web_config['company_name'].' '.translate('ecommerce')) @section('content') @include('theme-views.partials._profile-aside') {{ customer_info()->f_name }}  {{ customer_info()->l_name }} priority == 'Urgent') class="badge rounded-pill bg-danger" @elseif($ticket->priority == 'High') class="badge rounded-pill bg-warning" @elseif($ticket->priority == 'Medium') class="badge rounded-pill bg-info" @else class="badge rounded-pill bg-success" @endif >{{ translate($ticket->priority) }} {{ customer_info()['email'] }} {{ translate('status') }}: {{ translate($ticket->status) }} {{ translate('priority') }}: priority == 'Urgent') class="text-danger fw-bold" @elseif($ticket->priority == 'High') class="text-warning fw-bold " @elseif($ticket->priority == 'Medium') class="text-info fw-bold" @else class="text-success fw-bold" @endif > {{ translate($ticket->priority) }} @if($ticket->status != 'close') {{ translate('Close_this_ticket') }} @endif {{ $ticket['description']}} {{ date('h:i:A | M d',strtotime($ticket['created_at'])) }} @foreach($ticket->conversations as $conversation) @if($conversation['admin_id'] == null) @if($conversation['customer_message']) {{ $conversation['customer_message']}} @endif @if (count($conversation->attachment_full_url) > 0) @foreach ($conversation->attachment_full_url as $key => $photo) @endforeach @endif {{ date('h:i:A | M d',strtotime($conversation['created_at'])) }} @else @if($conversation['admin_message']) {{$conversation['admin_message']}} @endif @if (count($conversation->attachment_full_url ) > 0) @foreach ($conversation->attachment_full_url as $key => $photo) @endforeach @endif {{ date('h:i:A | M d',strtotime($conversation['created_at'])) }} @endif @endforeach @if($ticket->status == 'open') @csrf @endif @endsection @push('script') @endpush
{{ $ticket['description']}}
{{ $conversation['customer_message']}}
{{$conversation['admin_message']}}