@php $langs = app('langs'); $locale = app('general_setting')->language_code; if(\Session::has('locale')){ $locale = \Session::get('locale'); } if(auth()->check()){ $locale = auth()->user()->lang_code; } @endphp
{{__('common.website')}}
@if(auth()->user()->role->type != 'affiliate' && auth()->user()->role->type != 'customer')
  • @endif
  • @if (count($notifications) > 0) {{getNumberTranslate(count($notifications))}} @endif
  • {{__('common.welcome')}} @if(auth()->user()->role->type == 'superadmin') {{__('hr.super_admin')}} @elseif(auth()->user()->role->type == 'admin') {{__('hr.admin')}} @elseif(auth()->user()->role->type == 'seller') {{__('hr.seller')}} @elseif(auth()->user()->role->type == 'staff') {{__('hr.staff')}} @endif!

    {{ auth()->user()->first_name }}
    @if(auth()->user()->role->type == 'superadmin' || auth()->user()->role->type == 'admin' || auth()->user()->role->type == 'staff') {{__('customer_panel.my_profile') }} @if(permissionCheck('company_info')) {{__('customer_panel.company_info') }} @endif @if(permissionCheck('generalsetting.index')) {{ __('common.settings') }} @endif @endif @if(auth()->user()->role->type == 'seller') {{ __('customer_panel.customer_profile') }} {{ __('seller.seller_profile') }} {{ __('common.setting') }} @endif @if(auth()->user()->role->type == 'customer') {{ __('common.dashboard') }} @endif @if (auth()->user()->secret_login) {{ __('common.log_out') }} @else {{ __('common.log_out') }}
    @csrf
    @endif