@extends('backend.master') @section('title', 'Notifications') @section('content')

Notifications

Unread: {{ $unreadCount }}
@if($notifications->count())
@foreach($notifications as $notification) @endforeach
# Title Message Amount Type Status Created At
{{ $notification->id }} {{ $notification->title ?? 'Notification' }} {{ $notification->message ?? 'N/A' }} @if(!is_null($notification->amount)) {{ number_format($notification->amount, 2) }} TK @else - @endif {{ $notification->type ?? '-' }} @if(is_null($notification->read_at)) Unread @else Read @endif {{ $notification->created_at->format('d M Y, h:i A') }}
{{ $notifications->links() }}
@else
No notifications found.
@endif
@endsection