@extends('layouts.admin-modern') @section('title', 'Détails de la Notification - Administration') @section('content')

Détails de la Notification

Consultez les informations détaillées de cette notification.

Retour à la liste @if(!$notification->read_at)
@csrf @method('PATCH')
@endif
@csrf @method('DELETE')

Contenu de la Notification

@php $data = is_array($notification->data) ? $notification->data : json_decode($notification->data, true); @endphp

{{ $data['title'] ?? 'Notification sans titre' }}

{{ $data['message'] ?? 'Aucun message disponible' }}

@if(isset($data['url']) && $data['url'])
@endif
{{ json_encode($data, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE) }}

Informations

Statut @if($notification->read_at) Lue @else Non lue @endif
Type {{ class_basename($notification->type) }}
Destinataire
@if($notification->notifiable)
{{ $notification->notifiable->name }}
{{ $notification->notifiable->email }}
@else Utilisateur supprimé @endif
Créée le
{{ $notification->created_at->format('d/m/Y') }}
{{ $notification->created_at->format('H:i:s') }}
@if($notification->read_at)
Lue le
{{ $notification->read_at->format('d/m/Y') }}
{{ $notification->read_at->format('H:i:s') }}
@endif
ID {{ $notification->id }}

Actions Rapides

@if($notification->notifiable) Voir le profil utilisateur @endif Voir notifications similaires @if(isset($data['url']) && $data['url']) Aller au lien d'action @endif
@endsection @push('scripts') @endpush