Notification Details

Notification Information
Notification ID:
{{ $notification->id }}
Notification Type:
@if($notification->notified_at) Real-Time Notification @endif @if($notification->digest_sent_at) @if($notification->notified_at)
@endif Digest Email @endif
@if($notification->notified_at)
Real-Time Sent At:
{{ $notification->notified_at->format('F j, Y g:i A') }} ({{ $notification->notified_at->diffForHumans() }})
@endif @if($notification->digest_sent_at)
Digest Sent At:
{{ $notification->digest_sent_at->format('F j, Y g:i A') }} ({{ $notification->digest_sent_at->diffForHumans() }})
@endif
Created At:
{{ $notification->created_at->format('F j, Y g:i A') }} ({{ $notification->created_at->diffForHumans() }})
User Information
@if($notification->user) @php $userProfile = $notification->user->profile ?? null; $userName = $userProfile ? ($userProfile->first_name . ' ' . $userProfile->last_name) : 'N/A'; @endphp
Name:
{{ trim($userName) !== 'N/A' ? $userName : 'User #' . substr($notification->user_id, 0, 8) }}
User ID:
{{ $notification->user->id }}
@else

User not found or deleted

@endif
Scholarship Information
@if($notification->scholarship)
Country:
{{ $notification->scholarship->country ?? 'N/A' }}
Degree Level:
{{ ucfirst($notification->scholarship->degree_level ?? 'N/A') }}
Status:
@if($notification->scholarship->status === 'approved') Approved @elseif($notification->scholarship->status === 'pending') Pending @else Rejected @endif
Deadline:
{{ $notification->scholarship->deadline ? $notification->scholarship->deadline->format('F j, Y') : 'Not specified' }}
Scholarship ID:
{{ $notification->scholarship->id }}
@if($notification->scholarship->description)
Description:

{{ Str::limit($notification->scholarship->description, 500) }}

@endif @else

Scholarship not found or deleted

@endif