@php $currentLocal = request()->get('locale', \App\Models\Setting::$defaultSettingsLocale); $itemValue = (!empty($settings) and !empty($settings['referral_how_work']) and !empty($settings['referral_how_work']->translate(mb_strtolower($currentLocal)))) ? $settings['referral_how_work']->translate(mb_strtolower($currentLocal))->value : ''; if (!empty($itemValue) and !is_array($itemValue)) { $itemValue = json_decode($itemValue, true); } @endphp
{{ csrf_field() }} @if(!empty(getGeneralSettings('content_translate')))
@error('locale')
{{ $message }}
@enderror
@else @endif
{{ trans('update.referral_how_work_setting_description_field_hint') }}