dbfdg @php use App\Models\Utility; $setting = Utility::settings(); $company_logo = $setting['company_logo_dark'] ?? ''; $company_logos = $setting['company_logo_light'] ?? ''; $company_favicon = $setting['company_favicon'] ?? ''; $logo = \App\Models\Utility::get_file('uploads/logo/'); $color = !empty($setting['color']) ? $setting['color'] : 'theme-3'; if(isset($setting['color_flag']) && $setting['color_flag'] == 'true') { $themeColor = 'custom-color'; } else { $themeColor = $color; } $company_logo = \App\Models\Utility::GetLogo(); $SITE_RTL = isset($setting['SITE_RTL']) ? $setting['SITE_RTL'] : 'off'; $lang = \App::getLocale('lang'); if ($lang == 'ar' || $lang == 'he') { $SITE_RTL = 'on'; } elseif($SITE_RTL == 'on') { $SITE_RTL = 'on'; } else { $SITE_RTL = 'off'; } $metatitle = isset($setting['meta_title']) ? $setting['meta_title'] : ''; $metsdesc = isset($setting['meta_desc']) ? $setting['meta_desc'] : ''; $meta_image = \App\Models\Utility::get_file('uploads/meta/'); $meta_logo = isset($setting['meta_image']) ? $setting['meta_image'] : ''; $get_cookie = isset($setting['enable_cookie']) ? $setting['enable_cookie'] : ''; @endphp {{-- --}} {{ Utility::getValByName('title_text') ? Utility::getValByName('title_text') : config('app.name', 'ERPGO') }} - @yield('page-title') @if ($SITE_RTL == 'on') @endif @if ($setting['cust_darklayout'] == 'on') @endif @if ($SITE_RTL != 'on' && $setting['cust_darklayout'] != 'on') @endif @if ($SITE_RTL == 'on') @else @endif @if ($setting['cust_darklayout'] == 'on') @endif
@yield('content')
@if ($get_cookie == 'on') @include('layouts.cookie_consent') @endif @if (\App\Models\Utility::getValByName('cust_darklayout') == 'on') @endif @stack('custom-scripts')