@extends('admin.layouts.master') @section('title', 'تفاصيل الإشعار') @section('content') @php $notificationInfo = $profile['notification'] ?? []; $stats = $profile['stats'] ?? []; @endphp
@include('admin.partials.page-header', [ 'title' => 'الملف الشامل للإشعار', 'breadcrumbs' => $breadcrumbs, ]) @include('admin.partials.alerts')

تفاصيل الإشعار

{{ $notificationInfo['title'] ?? $notification->title }}

{{ $notificationInfo['type_label'] ?? $notification->type }} {{ ($notificationInfo['is_read'] ?? $notification->is_read) ? 'مقروء' : 'غير مقروء' }} {{ $notificationInfo['created_at'] ?? optional($notification->created_at)->format('Y-m-d H:i') }}
رجوع

إجمالي الإشعارات

{{ $stats['total'] ?? 0 }}

غير مقروءة

{{ $stats['unread'] ?? 0 }}

من نفس النوع

{{ $stats['same_type_count'] ?? 0 }}

إشعارات اليوم

{{ $stats['today_count'] ?? 0 }}

نص الإشعار

{{ $notificationInfo['message'] ?? $notification->message }}

بيانات إضافية
@forelse($profile['related_data'] ?? [] as $item)
{{ $item['key'] }} {{ $item['value'] }}
@empty
لا توجد بيانات إضافية
@endforelse
أحدث إشعارات من نفس النوع
{{ count($profile['recent_same_type'] ?? []) }}
@forelse($profile['recent_same_type'] ?? [] as $item) @empty @endforelse
العنوان التاريخ الحالة العمليات
{{ $item['title'] }} {{ $item['date'] }} {{ $item['is_read'] ? 'مقروء' : 'غير مقروء' }} عرض
لا توجد إشعارات مشابهة
@endsection