@extends('layouts.admin') @section('content') @include('include.datatable-css')
{{-- Filters HTML --}}
@include('include.refresh-button')
{{-- Filters HTML End --}} @include('include.flash-message')
@if (is_countable($notifications)) @foreach ($notifications as $notification) @endforeach @endif
Title Message Type User Read Date & Time
{{ $notification->title }} {{ $notification->message }} {{ $notification->type }} @isset($notification->user) {{ $notification->user->firstName }} {{ $notification->user->lastName }} @endisset {{ $notification->read == 1 ? 'Yes' : 'No' }} {{ $notification->created_at }}
@include('include.datatable') @include('include.filters-common-js-part') @include('include.datatable-date-range-selector-js', ['url' => 'notifications']) @endsection