@php if (isset($currentWorkspace)) { $setting = App\Models\Utility::getcompanySettings($currentWorkspace->id); $SITE_RTL = $setting->site_rtl; if ($setting->theme_color) { $color = $setting->theme_color; } else { $color = 'theme-3'; } } else { $setting = App\Models\Utility::getAdminPaymentSettings(); // $SITE_RTL = env('SITE_RTL'); $SITE_RTL = $setting['site_rtl']; if ($setting['color']) { $color = $setting['color']; } else { $color = 'theme-3'; } } if (\App::getLocale() == 'ar' || \App::getLocale() == 'he') { $SITE_RTL = 'on'; } $meta_setting = App\Models\Utility::getAdminPaymentSettings(); $meta_images = \App\Models\Utility::get_file('uploads/logo/'); $logo = \App\Models\Utility::get_file('logo/'); use App\Models\Utility; @endphp {{ config('app.name', 'Taskly') }} - @yield('page-title') @if ($setting['cust_darklayout'] == 'on') @if (isset($SITE_RTL) && $SITE_RTL == 'on') @endif @else @if (isset($SITE_RTL) && $SITE_RTL == 'on') @else @endif @endif @if (isset($SITE_RTL) && $SITE_RTL == 'on') @else @endif @if ($setting['cust_darklayout'] == 'on') @endif @php $color = !empty($setting['color']) ? $setting['color'] : 'theme-3'; if (isset($setting['color_flag']) && $setting['color_flag'] == 'true') { $color = 'custom-color'; } else { $color = $color; } @endphp