@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->subject }}
التفاصيل:
{{ $complaint->message }}
@if($complaint->image)رد الإدارة:
{{ $complaint->admin_response }}
@endif