@php if(isset($hparams)){ $heading_page_title = $hparams['heading_page_title']??'Dashboard'; $notice_show = $hparams['notice_show']??true; } else { $heading_page_title = 'Dashboard'; $notice_show = true; } $user = auth()->user(); $notifications = $user->notifications()->where('read', 0)->orderBy('created_at', 'DESC')->get(); @endphp