@php if(Auth::check()){ $notification = DB::table('chat_notification')->where('user_id', Auth::user()->id )->where('status', '0' )->orderBy('id','DESC')->get(); } @endphp