@extends('layouts.app') @section('content')

Notification Details

Back to Notifications
@if(session('success'))
{{ session('success') }}
@endif

{{ $notification->title }}

@if($notification->is_read) Read @else Unread @endif

{{ $notification->body }}

Type
{{ str_replace('_', ' ', $notification->type) }}
Created
{{ $notification->created_at->format('M j, Y \a\t g:i A') }}
@if($notification->read_at)
Read At
{{ $notification->read_at->format('M j, Y \a\t g:i A') }}
@endif @if($notification->notifiable_type && $notification->notifiable_id)
Related To
{{ class_basename($notification->notifiable_type) }} #{{ $notification->notifiable_id }}
@endif
@if($notification->data)

Additional Data

{{ json_encode(json_decode($notification->data), JSON_PRETTY_PRINT) }}
@endif
@if(!$notification->is_read)
@csrf @method('PATCH')
@endif
@csrf @method('DELETE')
@endsection