@php $user = auth()->user(); $alert_class = (isset($attr['class']) && !empty($attr['class'])) ? ' '.$attr['class'] : ''; $alert_type = (isset($attr['type']) && !empty($attr['type'])) ? $attr['type'] : ''; $wd_account = (blank($user->accounts) && sys_settings('alert_wd_account')=='on') ? true : false; $is_profile = (!$user->has_basic && sys_settings('alert_profile_basic')=='on') ? true : false; $is_email_verified = auth()->user()->is_verified; $link_modal = (isset($attr['link_modal']) && !empty($attr['link_modal'])) ? $attr['link_modal'] : false; $link_modal_verify = (isset($attr['link_modal_verify']) && !empty($attr['link_modal_verify'])) ? $attr['link_modal_verify'] : false; @endphp @if(($wd_account || $is_profile) && in_array($alert, ['any', 'account', 'profile']))