@extends('theme-views.layouts.app') @section('title', translate('Support_Ticket').' | '.$web_config['name']->value.' '.translate(' Ecommerce')) @section('content') @include('theme-views.partials._profile-aside') {{ \App\CPU\customer_info()->f_name }} {{ \App\CPU\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 >{{ $ticket->priority }} {{ \App\CPU\customer_info()->email }} {{ translate('status') }}: {{ $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 > {{ $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_message'] == null ) {{ $conversation['customer_message']}} {{ date('h:i:A | M d',strtotime($conversation['created_at'])) }} @endif @if($conversation['customer_message'] == null) {{$conversation['admin_message']}} {{ date('h:i:A | M d',strtotime($conversation['created_at'])) }} @endif @endforeach @csrf @endsection @push('script') @endpush
{{ $ticket['description']}}
{{ $conversation['customer_message']}}
{{$conversation['admin_message']}}