@include('layouts.sub_menu')
    @impersonating
  • @endImpersonating {{--
  • @if(Auth::user()->dark_mode) @else @endif
  • --}}
  • @if(Auth::user()->dark_mode) @else @endif
  • @php $notifications = getNotification(); @endphp @if(getLogInUser()->hasRole('doctor') || getLogInUser()->hasRole('patient'))
  • {{ __('messages.notification.notification') }}

    @if(count($notifications) > 0) @foreach($notifications as $notification)
    {{ $notification->title }}
    {{ \Carbon\Carbon::parse($notification->created_at)->diffForHumans(null, true)}}
    @endforeach
    {{ __('messages.notification.you_don`t_have_any_new_notification') }}
    @else
    {{ __('messages.notification.you_don`t_have_any_new_notification') }}
    @endif
    {{ __('messages.notification.mark_all_as_read') }}
  • @endif
  • @if(getLogInUser()->hasRole('patient')) img-fluid @elseif(getLogInUser()->hasRole('doctor')) img-fluid @else img-fluid @endif
    @if(getLogInUser()->hasRole('patient')) img-fluid @elseif(getLogInUser()->hasRole('doctor')) img-fluid @else img-fluid @endif

    {{ getLogInUser()->full_name }}

    {{ getLogInUser()->email }}

    • {{ __('messages.user.account_setting') }}
    • @if((is_impersonating() === false))
    • {{ __('messages.user.change_password') }}
    • @endif @if(getLogInUser()->hasRole('doctor') || getLogInUser()->hasRole('patient'))
    • {{ __('messages.user.email_notification') }}
    • @endif @if(session('impersonated_by'))
    • {{ __('messages.user.return_to_admin') }}
    • @endif
    • {{ __('messages.user.change_language') }}
    • @csrf
      {{ __('messages.user.sign_out') }}