{{-- For testing environment --}} @if (config('templatecookie.testing_mode')) @php $headerCountries = Modules\Location\Entities\Country::select('id', 'name', 'slug', 'icon')->active()->get(); $headerCurrencies = Modules\Currency\Entities\Currency::all(); $languages = loadLanguage(); $defaultLanguage = Modules\Language\Entities\Language::where('code', config('templatecookie.default_language'))->first(); @endphp @endif {{-- For testing environment --}}
@auth('user') @if (!authUser()->status) @endif @endauth
@if ($cms_setting?->footer_phone_no) @endif @if ($setting->language_changing) @endif @if (count($headerCurrencies) && $setting->currency_switcher) @php $currency_count = count($headerCurrencies) && count($headerCurrencies) > 1; $current_currency_code = currentCurrencyCode(); @endphp @endif @if ($setting->app_country_type === 'multiple_base')
@php $selected_country = session('selected_country'); @endphp
@endif
@php $form_action = route('website.job'); if (session('header_search_role') == 'candidate') { $form_action = route('website.candidate'); } elseif (session('header_search_role') == 'company') { $form_action = route('website.company'); } @endphp
@auth('user') @endauth @guest @endguest