@extends('layouts.app') @section('content')

تقرير إشعارات المستخدمين

{{ number_format($totalCount) }}

إجمالي الإشعارات (للفلتر الحالي)

{{ number_format($readCount) }}

الإشعارات المقروءة

{{ number_format($unreadCount) }}

الإشعارات غير المقروءة

فلاتر البحث المتقدمة
@php $hasFilters = request()->except('page'); @endphp
إعادة تعيين
سجل الإشعارات
@forelse($notifications as $n) @php $isRead = $n->getRawOriginal('is_read') == 1; @endphp @empty @endforelse
# الرسالة والتفاصيل المستلم نوع الإشعار رقم الحجز الحالة التاريخ خيارات
{{ $n->id }}
{{ \Illuminate\Support\Str::limit($n->title, 40) }}
@if($n->description)
{{ \Illuminate\Support\Str::limit($n->description, 50) }}
@endif
@if($n->user) {{ \Illuminate\Support\Str::limit($n->user->full_name, 15) }} @else ID: {{ $n->to_user_id }} @endif @php $typeClass = match($n->type_id) { 1, 2 => 'badge-soft-primary', // حجوزات 3 => 'badge-soft-info', // محادثة 4, 6 => 'badge-soft-danger', // الغاء 5 => 'badge-soft-warning', // نظام default => 'badge-soft-secondary' }; $typeIcon = match($n->type_id) { 1, 2 => 'fa-calendar-check', 3 => 'fa-comments', 4, 6 => 'fa-ban', 5 => 'fa-cogs', default => 'fa-bell' }; @endphp {{ $n->type_label }} @if($n->booking_id) #{{ $n->booking_id }} @else - @endif @if($isRead) مقروء @else غير مقروء @endif {{ \Carbon\Carbon::parse($n->created_on)->format('Y-m-d H:i') }}
لا توجد إشعارات تطابق معايير البحث
@if($notifications->hasPages()) @endif
@endsection