@extends('admin.layouts.master') @section('page-header') @endsection @section('content')
بيانات المستخدم

الاسم: {{ $complaint->user?->name ?? 'غير متوفر' }}

البريد: {{ $complaint->user?->email ?? 'غير متوفر' }}

رقم المستخدم: {{ $complaint->user?->id ?? '—' }}

معلومات عامة

النوع: @if($complaint->type === 'complaint') شكوى @else اقتراح @endif

الحالة: @switch($complaint->status) @case('pending') معلّقة @break @case('under_review') قيد المراجعة @break @case('resolved') تم الحل @break @case('rejected') مرفوضة @break @default غير محدد @endswitch

تاريخ الإرسال: {{ optional($complaint->created_at)->format('Y/m/d H:i') }}

@if($complaint->admin)

تمت المعالجة بواسطة: {{ $complaint->admin->name }}

@endif
تفاصيل {{ $complaint->type === 'complaint' ? 'الشكوى' : 'الاقتراح' }}

الموضوع: {{ $complaint->subject }}


التفاصيل:

{{ $complaint->message }}

@if($complaint->image)
المرفقات: @endif @if($complaint->admin_response)

رد الإدارة:

{{ $complaint->admin_response }}

@endif
{{-- نموذج الرد --}} @if(can_admin('complaints_respond'))
الرد على {{ $complaint->type === 'complaint' ? 'الشكوى' : 'الاقتراح' }}
@endif @endsection @section('js') @include('vue') @endsection