@extends('layouts.member') @section('title', 'تفاصيل ' . ($reportObjection->type == 'report' ? 'البلاغ' : 'الاعتراض') . ' - #' . $reportObjection->id) @section('content')
{{ $reportObjection->subject }} - {{ $reportObjection->created_at->format('Y/m/d') }}
تاريخ الإرسال: {{ $reportObjection->created_at->format('Y/m/d H:i') }}
{{ $reportObjection->target ? $reportObjection->target->name : 'غير محدد' }}
@if($reportObjection->target){{ $reportObjection->target->email }}
{{ $reportObjection->target_type == 'superadmin' ? 'سوبر أدمن' : 'مشرف' }}
@endif{{ $reportObjection->created_at->format('Y/m/d') }}
{{ $reportObjection->created_at->format('H:i') }}
{{ $reportObjection->status_text }}
@if($reportObjection->reviewed_at)راجع في: {{ $reportObjection->reviewed_at->format('Y/m/d H:i') }}
@endif{{ $reportObjection->subject }}
{{ $reportObjection->details }}
{{ $reportObjection->reviewer->name }}
{{ $reportObjection->reviewed_at->format('Y/m/d H:i') }}
@php $reviewerRole = $reportObjection->reviewer->roles->first(); $roleNames = [ 'super-admin' => 'سوبر أدمن', 'moderator' => 'مشرف' ]; @endphp @if($reviewerRole){{ $roleNames[$reviewerRole->name] ?? $reviewerRole->name }}
@endif @elseمراجعة تلقائية
{{ $reportObjection->reviewed_at->format('Y/m/d H:i') }}
@endif{{ $reportObjection->status == 'approved' ? 'تم قبول الطلب' : 'تم رفض الطلب' }}
{{ $reportObjection->review_reply }}
@if($reportObjection->reviewer)- {{ $reportObjection->reviewer->name }} ({{ $reportObjection->target_type == 'superadmin' ? 'سوبر أدمن' : 'مشرف' }})
@endif{{ $reportObjection->type == 'report' ? 'البلاغ' : 'الاعتراض' }} ما زال قيد المراجعة
@if($reportObjection->status == 'pending')