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