@extends('Admin.Layouts.Dashboard') @push('styles') @endpush @section('content')
معلومات التذكرة
  • {{$ticket->member->name}}
  • {{$ticket?->association?->name ?? '--'}}
  • @if($ticket->created_at) @php $created_at = $ticket->created_at; @endphp
  • {{$created_at->format('D, M d, Y') . " ({$created_at->format('H:i')})"}}
  • @endif @if($ticket->updated_at) @php $updated_at = $ticket->updated_at; @endphp
  • {{$updated_at->diffForHumans(now())}}
  • @endif
@include('Admin.Tickets._form')
@if(!is_null($messages)) @php $messagesCount = $messages->count(); @endphp @foreach($messages as $message)

{{$message?->sender?->name ?? ''}} - {{"رد #".($messagesCount + 1 - $loop->iteration)}}

{{getUserTitle($message?->sender?->role)}}
@if($message->created_at)

{{$message->created_at->format('l, M d, Y')}} {{$message->created_at->format('H:i')}}

@endif

{!! $message->body !!}

{{$message->attachment}}
@endforeach @endif
@endsection @push('scripts') @endpush