@php $headerSection = App\Models\FrontendSetting::where('key', 'heder-menu-setting')->first(); $sectionData = $headerSection ? json_decode($headerSection->value, true) : null; @endphp
  • @php $appsettings = App\Models\AppSetting::first(); $generalsetting = App\Models\Setting::where('type','general-setting')->where('key', 'general-setting')->first(); $appsetting = $generalsetting ? json_decode($generalsetting->value) : null; @endphp {{ optional($appsetting)->helpline_number }}
@if ($sectionData && isset($sectionData['header_setting']) && $sectionData['header_setting'] == 1) @if($sectionData['enable_language'] == 1) {{strtoupper(app()->getLocale())}}