@extends('backend.partials.master') @section('title') {{ $singleSupport->subject }} @endsection @section('maincontent')

{{ $singleSupport->subject }}

{{ __('support.user_name') }}
: {{ $singleSupport->user->name }}
{{ __('support.user_email') }}
: {{ $singleSupport->user->email }}
{{ __('support.service') }}
: {{ $singleSupport->service }}
{{ __('support.department_id') }}
: {{$singleSupport->department->title}}
{{ __('support.priority') }}
: {{ $singleSupport->priority }}
{{ __('support.date') }}
: {{ dateFormat($singleSupport->date) }}
@if(hasPermission('support_reply') == true )
@csrf
@error('message') {{ $message }} @enderror
@error('attached_file') {{ $message }} @enderror
@endif @foreach($chats as $chat)
user {{@$chat->user->name}}
{{ \Carbon\Carbon::parse($chat->created_at)->format('d M Y h:i A')}}
{!! $chat->message !!}
@if(@$chat->file) @endif
@endforeach
user {{@$singleSupport->user->name}}
{{ \Carbon\Carbon::parse($singleSupport->date)->format('d M Y')}} {{ \Carbon\Carbon::parse($singleSupport->created_at)->format('h:i A')}}
{!! $singleSupport->description !!}
{{-- download file --}} @if(@$singleSupport->file) @endif
@endsection() @push('styles') @endpush @push('scripts') @endpush