• @if(auth()->check())
  • @if(isset($notifications) && $notifications->where('is_read', false)->count() > 0) {{ $notifications->where('is_read', false)->count() }} @endif

    Notifications

    @if(isset($notifications)) {{ $notifications->where('is_read', false)->count() }} New @endif
    @if(isset($notifications)) @forelse($notifications as $notification)
    {{ $notification->message }}

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

    @if(!$notification->is_read)
    @csrf
    @endif
    @empty

    No new notifications

    @endforelse @else

    No notifications

    @endif
    View All Notifications
  • @endif @if(auth()->check() && auth()->user()->hasAnyRole(['superadmin', 'system_admin']))
  • @endif
{{ substr(Auth::user()->name, 0, 1) }}

{{ Auth::user()->name }}

@if(Auth::user()->roles->isNotEmpty()) {{ Auth::user()->roles->first()->name }} @else {{ Auth::user()->designation ?? 'User' }} @endif

{{ substr(Auth::user()->name, 0, 1) }}
{{ Auth::user()->name }}

{{ Auth::user()->email }}

My Profile @if(auth()->user()->hasAnyRole(['superadmin', 'system_admin', 'general_manager'])) Dashboard @endif Settings
Logout
@csrf