@extends('restaurant.layouts.panel') @section('title', 'Notifications') @section('content')
@forelse ($notifications as $notification) @empty @endforelse
Message Received
{{ $notification->data['message'] ?? 'Notification' }} {{ $notification->created_at->diffForHumans() }} @if (!empty($notification->data['order_id'])) View Order @endif
No notifications yet.
{{ $notifications->links() }}
@endsection