@extends('backend.layouts.master') @section('content')

Notifications

@forelse($notifications as $key => $notification) @empty @endforelse
ID Title Message Is Read Date
{{ ($notifications->currentPage() - 1) * $notifications->perPage() + $key + 1 }} {{ $notification->title }} {{ Str::limit($notification->message, 50) }} @if($notification->is_read) Read @else Unread @endif {{ $notification->created_at->format('Y-m-d H:i') }}
No notifications found.
{{ $notifications->links('pagination::bootstrap-5') }}
@endsection