@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; $kyc_alert = Panel::profile_module_alert('BasicKYC', ['type' => 'warning', 'class' => 'alert-thick alert-plain']); @endphp @if(($wd_account || $is_profile || $kyc_alert) && in_array($alert, ['any', 'account', 'profile']))
@if($wd_account && in_array($alert, ['any', 'account']))

{{ __('Add an account that you’d like to receive payment or withdraw fund.') }}

@endif @if($is_profile && in_array($alert, ['any', 'profile']))

{{ __('Update your account information from your profile to complete account setup.') }}

@endif {!! (!auth()->user()->has_basic && gss('kyc_profile_complete', 'yes') == 'yes') ? '' : $kyc_alert !!}
@endif @if(!$is_email_verified && in_array($alert, ['any', 'verify_email']))

{{ __('Please verify your email address to deposit funds or to achieve bonuses.') }}

@endif