@foreach ($data['user']->support_messages()->orderBy('created_at', 'desc')->get() as $support_message)
{{ $support_message['title'] }}
{{ $support_message['created_at'] }}
{{ __('api.support_statuses.' . $support_message['status']) }}

{{ $support_message['message'] }}

@foreach ($support_message->support_notes()->get() as $support_note)
{{ $support_note['name'] }}
{{ $support_note->pivot['created_at'] }}
رد الادارة

{{ $support_note->pivot['note'] }}

@endforeach @if (in_array($support_message['status'], ['new', 'processing']))
@csrf
@endif
@endforeach