-
@if (generalSetting()->chatting_method !== null || generalSetting()->chatting_method == 'log')
-
{{ count($notifications ?? []) }}
{{ __('common.no_unread_notification') }}
@forelse ($notifications as $notification) {{ __('common.no_unread_notification') }} @endforelse@empty
{{-- End Notification --}}
@if (generalSetting()->website_btn == 1)
@endif
{{-- @if (generalSetting()->dashboard_btn == 1)
@if (Auth::user()->role_id == $coltroller_role)
@lang('common.dashboard')
@endif
@endif --}}
@if (generalSetting()->report_btn == 1)
@if (Auth::user()->role_id == $coltroller_role)
@endif
@endif
{{-- --}}
 && file_exists(@profile()) ? asset(profile()) : asset('/backEnd/assets/img/avatar.png') }})
{{ Auth::user()->email }}
{{ Auth::user()->full_name }} @if (isset(Auth::user()->wallet_balance)) @if (Auth::user()->role_id == 2 || Auth::user()->role_id == 3)
@endif @endif
@if (Auth::user()->is_saas == 1)
@lang('common.saas_dashboard')
@endif
@if (Auth::user()->role_id == '2' && Auth::user()->is_saas == 0)
@lang('common.view_profile')
{{-- --}}
@elseif(Auth::user()->role_id != '3' && Auth::user()->is_saas == 0 && Auth::user()->staff)
@lang('common.view_profile')
{{-- --}}
@endif
@if (config('app.app_sync') && auth()->user()->role_id != 1)
@if (auth()->user()->staff && auth()->user()->staff->parent_id && auth()->user()->role_id == 3)
@lang('common.VIEW_AS_' . strtoupper(auth()->user()->staff->previousRole->name))
@elseif(auth()->user()->staff && auth()->user()->staff->parent_id)
@lang('common.VIEW_AS_PARENT')
@endif
@endif
@if (moduleStatusCheck('Saas') == true &&
Auth::user()->is_administrator == 'yes' &&
Auth::user()->role_id == 1 &&
Auth::user()->is_saas == 0)
@if (Session::get('isSchoolAdmin') == true)
@lang('common.view_as_saas_admin')
@else
@lang('common.view_as_school_admin')
@endif
@endif
@lang('common.password')
{{-- --}}
@lang('common.logout')
{{-- --}}