@extends('backend.partials.master') @section('title') {{ __('support.supprot') }} {{ __('levels.view') }} @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) }}
{{-- reply form --}}
@csrf
@error('message') {{ $message }} @enderror
@error('attached_file') {{ $message }} @enderror
@foreach($chats as $chat)
user {{@$chat->user->name}}
{{@$chat->user->email}}
{{ \Carbon\Carbon::parse()->format('d M Y h:i A')}}
{!! $chat->message !!}
@if(@$chat->file) @endif
@endforeach
user {{@$singleSupport->user->name}}
{{@$singleSupport->user->email}}
{{ \Carbon\Carbon::parse($singleSupport->created_at)->format('d M Y h:i A')}}
{!! $singleSupport->description !!}
{{-- download file --}} @if(@$singleSupport->file) @endif
@endsection() @push('styles') @endpush @push('scripts') @endpush