@php $template = auth()->user()->hasRole('buyer') ? 'dashboards.user.index' : 'dashboards.vendor.index'; @endphp @extends($template) @section('content')

Notifications

@forelse($notifications as $notification) @empty @endforelse
Notification
{!! $notification->content_body !!}
No notifications yet!!!
@endsection