Notifications

@if($notifications->count() > 0)
@foreach($notifications as $notification)
@if(!$notification->read_at)
@endif

{{ $notification->title }}

{{ $notification->created_at->diffForHumans() }}

{{ $notification->message }}

@if($notification->data)
@if(isset($notification->data['order_id'])) View Order → @endif @if(isset($notification->data['withdrawal_id'])) View Withdrawal → @endif
@endif
@if(!$notification->read_at) @endif
@csrf @method('DELETE')
@endforeach
{{ $notifications->links() }}
@else

No notifications

You're all caught up! No new notifications at the moment.

@endif