@extends("layouts.{$layout}") @section('title', 'الإشعارات اليدوية') @section('page-title', 'الإشعارات اليدوية') @section('content')

الإشعارات اليدوية

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

@if($stats['unread'] > 0) @endif
آخر تحديث: {{ now()->format('H:i') }}

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

{{ number_format($stats['total']) }}

غير مقروء

{{ number_format($stats['unread']) }}

مقروء

{{ number_format($stats['read']) }}

بملاحظات

{{ number_format($stats['with_notes']) }}

اليوم

{{ number_format($stats['today']) }}

قائمة الإشعارات اليدوية

@if($notifications->count() > 0)
@foreach($notifications as $notificationRecipient) @php $notification = $notificationRecipient->notification @endphp
@if($notificationRecipient->read)
@else
@endif

{{ $notification->title }} @if(!$notificationRecipient->read) جديد @endif

@if(!$notificationRecipient->read) @endif @if($notification->attachment) @endif

{{ Str::limit($notification->content, 150) }}

من: {{ $notification->creator->name }} {{ $notification->sent_at ? $notification->sent_at->format('Y/m/d H:i') : $notification->created_at->format('Y/m/d H:i') }} @if($notificationRecipient->has_notes) بملاحظات @endif
@if($notificationRecipient->read) قُرئ في: {{ $notificationRecipient->read_at->format('Y/m/d H:i') }} @endif
@endforeach
@if($notifications->hasPages())
{{ $notifications->links() }}
@endif @else

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

لم يتم إرسال أي إشعارات يدوية إليك بعد

@endif
@endsection