@extends(Auth::user()->role === 'store_stuff' ? 'backend.manager.layouts.manager-app' : 'backend.app') @section('title', 'Notifications') @section('content')
@forelse ($notifications as $notification)

{{ data_get($notification->data, 'message', data_get($notification->data, 'subject', 'New notification')) }}

{{ $notification->created_at?->diffForHumans() }}
@if (!$notification->read()) @endif
@empty

No notifications found.

@endforelse
@if ($notifications->hasPages()) @endif
@endsection @push('scripts') @endpush