@extends('user.layouts') @section('title', 'Notification') @section('header') @endsection @section('content')

Notification

Create and manage notifications

@foreach($notification as $notifi) @php $notificationTime = $notifi->created_at ? $notifi->created_at->copy()->timezone('Asia/Kolkata') : null; @endphp @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 MODAL --}} {{-- DELETE MODAL --}} @endsection @section('footer') @endsection