@php $type = App\Constants\GlobalConst::SETUP_PAGE; $menues = DB::table('setup_pages')->where('status', 1)->where('type', Str::slug($type))->get(); @endphp
@auth
{{ __('Notification') }}
{{ __('You Have') }} {{ count(get_user_notifications()) }} {{ __('notification') }}
    @foreach (get_user_notifications() as $item)
  • user
    {{ @$item->message->title }}
    {{ @$item->created_at->diffForHumans() }}
    {{ @$item->message->message }}
  • @endforeach
@else @endauth
@push('script') @endpush