@extends('user.layouts') @section('title', 'Notification') @section('header') @endsection @section('content')
{{-- HEADER --}}

Notification

Create and manage notifications

{{-- FILTER --}}
Search Notifications

Search notifications using date or title

{{-- FROM DATE --}}
{{-- TO DATE --}}
{{-- TITLE --}}
{{-- BUTTONS --}}
{{-- TABLE --}}
@foreach ($notification as $notifi) {{-- SN --}} {{-- TITLE --}} {{-- DESCRIPTION --}} {{-- CREATED DATE --}} @php $notificationTime = $notifi->created_at ? $notifi->created_at->copy()->timezone('Asia/Kolkata') : null; @endphp {{-- DELETE --}} @endforeach
SN TITLE DESCRIPTION CREATED ON ACTION
{{ $loop->iteration }}
{{ $notifi->title }}
{{ $notifi->description }} @if($notificationTime)
{{ $notificationTime->format('d-m-Y') }}
{{ $notificationTime->format('h:i A') }}
@else N/A @endif
{{-- CREATE NOTIFICATION MODAL --}} {{-- DELETE MODAL --}} @endsection @section('footer') @endsection