@extends('layouts.main_dashboard.app') @section('title', __('dashboard.User Notifications')) @section('page_heading', __('dashboard.User Notifications')) @section('breadcrumb') @endsection @section('actions') {{ __('dashboard.Add New Notification') }} @endsection @section('content')

{{ __('dashboard.User Notifications') }}

@if($notifications->isEmpty())
{{ __('dashboard.No notifications found.') }}
@else
@foreach($notifications as $notification) @endforeach
{{ __('dashboard.Title') }} {{ __('dashboard.Sent by') }} {{ __('dashboard.Sent to') }} {{ __('dashboard.Actions') }}
{{ $notification->title }} {{ $notification->creator->first_name ?? 'N/A' }} {{ $notification->creator->last_name ?? '' }} {{ $notification->users->count() }} {{ __('dashboard.users') }}
{{ $notifications->appends(request()->query())->links() }}
@endif
@endsection @section('scripts') @endsection