@extends('index') @section('title', 'Notifications') @section('title2', 'Vos notifications') @section('content') @component('components.breadcrumb')

Vos notifications


Toutes vos alertes et mises à jour au même endroit

@endcomponent
@if ($notifications->count() > 0)
@foreach ($notifications as $notification) @endforeach
Notification Date Statut Actions
{{ $notification->data['title'] ?? 'Notification' }}
{{ $notification->data['message'] ?? '' }}
{{ $notification->created_at->diffForHumans() }} @if (is_null($notification->read_at)) Non lu @else Lu @endif @if (isset($notification->data['url'])) @endif @if (is_null($notification->read_at))
@csrf
@endif
@csrf @method('DELETE')
{{ $notifications->links() }}
@else
Aucune notification
Vous n’avez aucune notification
Retourner a l'accueil
@endif
Résumé de vos notifications
  • Non lues {{ auth()->user()->unreadNotifications->count() }}
  • Lues {{ auth()->user()->readNotifications->count() }}
@if (auth()->user()->unreadNotifications->count() > 0)
@csrf
@endif
Astuce

Consultez régulièrement vos notifications pour ne rien manquer.

@endsection