@extends('layouts.dash2') @section('title', $title) @section('content')
@include('partials._mobile_header', [ 'title' => 'Notifications', 'showBackButton' => true, 'showNotifications' => false, 'showDarkMode' => true, 'financeUser' => Auth::user() ])
@if(count($notifications) > 0)
@csrf
@foreach($notifications as $notification)
@if(!$notification->is_read)
@endif
@if($notification->title)

{{ $notification->title }}

@endif

{{ $notification->message }}

{{ $notification->created_at->format('M d, Y') }}
{{ $notification->created_at->format('h:i A') }}
@if(!$notification->is_read) Read @endif
@endforeach
@if($notifications->hasPages())
{{ $notifications->links() }}
@endif @else

No Notifications Yet

You're all caught up! Notifications will appear here when there are updates related to your account.

@endif
@endsection