@extends('admin.layouts.home') @section('title', 'Notification List') @section('content')

Notification List

Filter Notifications
Reset
Notifications
@foreach($notifications as $notification) @endforeach
ID From To Type Text Status Created Actions
{{ $notification->id }}
{{ $notification->sender->name }} {{ $notification->sender->name }} (ID: {{ $notification->sender->id }})
{{ $notification->receiver->name }} {{ $notification->receiver->name }} (ID: {{ $notification->receiver->id }})
{{ ucwords(str_replace('_', ' ', $notification->type)) }} {{ Str::limit($notification->text, 50) }} {{ $notification->seen ? 'Read' : 'Unread' }} {{ $notification->created_at->format('M d, Y H:i') }}
{{ $notification->created_at->diffForHumans() }}
@csrf @method('DELETE')
{{ $notifications->appends(request()->query())->links('pagination::bootstrap-5') }}
@endsection