@extends('backend.admin-master') @section('site-title') {{__('Ticket Details')}} @endsection @section('style') @endsection @section('content')

{{__('Support Ticket Details')}}

{{__('All Tickets')}}
  • {{__('Ticket ID:')}} #{{$ticket_details->id}}
  • {{__('Title:')}} {{$ticket_details->title}}
  • {{__('Subject:')}} {{$ticket_details->subject}}
  • {{__('Description:')}} {{$ticket_details->description}}
  • {{__('Status:')}} {{$ticket_details->status}}
  • {{__('Priority:')}} {{$ticket_details->priority}}
  • {{__('User:')}} {{$ticket_details->user->name ?? __('anonymous')}}
  • {{__('Department:')}} {{$ticket_details->department->name ?? __('anonymous')}}
  • @if($ticket_details->admin_id)
  • {{__('Admin:')}} {{$ticket_details->admin->name ?? __('anonymous')}}
  • @endif

{{__('All Conversation')}}

@if($q == 'all' && count($all_messages) > 1)
@endif @forelse($all_messages as $msg)
{{substr($msg->user_info()->name ?? 'Unknown',0,1)}} @if($msg->notify == 'on') @endif
{{$msg->user_info()->name ?? 'Unknown'}}
{{date_format($msg->created_at,'d M Y H:i:s')}} | {{$msg->created_at->diffForHumans()}}
{!! $msg->message !!}
@if(file_exists('assets/uploads/ticket/'.$msg->attachment)) {{$msg->attachment}} @endif
@empty

{{__('no message found')}}

@endforelse
{{__('Replay To Message')}}
@csrf
{{__('max file size 200mb, only zip file is allowed')}}
@include('backend.partials.media-upload.media-upload-markup') @endsection @section('script') @include('backend.partials.media-upload.media-js') @endsection