@php $app_local = get_default_language_code(); $default = App\Constants\LanguageConst::NOT_REMOVABLE; $slug = Illuminate\Support\Str::slug(App\Constants\SiteSectionConst::COUNTRY_SECTION); $country_section = App\Models\Admin\CountrySection::where('key',$slug)->first(); $sender_currency = App\Models\Admin\Currency::where('status',true)->where('sender',true)->get(); $receiver_currency = App\Models\Admin\Currency::where('status',true)->where('receiver',true)->get(); @endphp {{ @$country_section->value->language->$app_local->title ?? '' }} {{ __("Select Country") }} {{ $default_currency->country ?? '' }} @foreach ($sender_currency as $item) {{ $item->country ?? '' }} {{ $item->code ?? '' }} @endforeach {{ __("Sending Country") }} {{ __("Receiving Country") }} @php $senderCurrency = json_encode($sender_currency); $receiverCurrency = json_encode($receiver_currency); @endphp @push('script') @endpush