@php $users = \Auth::user(); $profile = \App\Models\Utility::get_file('uploads/avatar'); $logo = \App\Models\Utility::get_file('uploads/logo/'); $company_logo = Utility::getValByName('company_logo'); $company_small_logo = Utility::getValByName('company_small_logo'); $currantLang = $users->currentLanguage(); $fullLang = cache()->remember('full_language_data_' . $currantLang, now()->addHours(24), function () use ($currantLang) { return \App\Models\Languages::languageData($currantLang); }); $languages = Utility::languages(); $businesses = App\Models\Business::allBusiness(); $currantBusiness = $users->currentBusiness(); //$bussiness_id = !empty($users->current_business)?$users->current_business:''; $bussiness_id = $users->current_business; @endphp @if (isset($setting['cust_theme_bg']) && $setting['cust_theme_bg'] == 'on')
@else
@endif
@impersonating($guard = null) @endImpersonating