@extends('layouts.admin') @section('title', 'الإشعارات') @section('content')
@include('components.admin-sidebar')

الإشعارات

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

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

{{ number_format($stats->total) }}

النشطة

{{ number_format($stats->active) }}

هذا الأسبوع

{{ number_format($stats->this_week) }}

@forelse($notifications as $notification) @empty @endforelse
العنوان المحتوى النوع التاريخ
{{ $notification->title_ar ?? 'N/A' }}
{{ $notification->title_en ?? 'N/A' }}
{{ Str::limit($notification->body_ar ?? 'N/A', 50) }}
{{ Str::limit($notification->body_en ?? 'N/A', 50) }}
@if($notification->type == 'all') للجميع @else محدد @endif {{ \Carbon\Carbon::parse($notification->createdAt)->format('Y-m-d H:i') }}

لا توجد إشعارات

@if($notifications->hasPages())
عرض {{ $notifications->firstItem() }} إلى {{ $notifications->lastItem() }} من أصل {{ $notifications->total() }}
{{ $notifications->links('vendor.pagination.bootstrap-5') }}
@endif
@endsection