@extends(BaseHelper::getAdminMasterLayoutTemplate()) @section('content') @php $supportedLocales = defined('LANGUAGE_MODULE_SCREEN_NAME') ? Language::getSupportedLocales() : []; @endphp {{ trans('plugins/location::bulk-import.import_available_data') }} {!! BaseHelper::clean( trans( 'plugins/location::bulk-import.import_available_data_help', ['link' => Html::link(route('country.index'), trans('plugins/location::country.name'))] ) ) !!} {{ trans('plugins/location::bulk-import.import') }}
{{ trans('plugins/location::bulk-import.menu') }} {{ trans('plugins/location::bulk-import.choose_file') }}
{{ trans('plugins/location::bulk-import.upload_file_placeholder') }}
{{ trans('plugins/location::bulk-import.choose_file_with_mime', ['types' => implode(', ', config('plugins.location.general.bulk-import.mimes', []))]) }}
{{ trans('plugins/location::bulk-import.start_import') }}
{{ trans('plugins/location::bulk-import.template') }}
Name Slug Abbreviation State Country Import Type Status Order @foreach ($supportedLocales as $localeCode => $properties) @continue($localeCode === Language::getCurrentLocale()) Name {{ Str::upper($properties['lang_code']) }} @endforeach Texas TX United States state published 0 @foreach ($supportedLocales as $localeCode => $properties) @continue($localeCode === Language::getCurrentLocale()) Texas {{ Str::upper($properties['lang_code']) }} @endforeach Washington WA United States state published 0 @foreach ($supportedLocales as $localeCode => $properties) @continue($localeCode === Language::getCurrentLocale()) @endforeach Houston houston Texas United States city published 0 @foreach ($supportedLocales as $localeCode => $properties) @continue($localeCode === Language::getCurrentLocale()) @endforeach San Antonio san-antonio Texas United States city published 0 @foreach ($supportedLocales as $localeCode => $properties) @continue($localeCode === Language::getCurrentLocale()) @endforeach
{{ trans('plugins/location::bulk-import.rules') }}
Column Rules Name (required) Slug (nullable) Abbreviation (nullable|max:2) State (nullable|required_if:type,city) Country (nullable|required_if:type,state,city) Import Type (nullable|enum:country,state,city|default:state) Status (required|enum:{{ implode(',', Botble\Base\Enums\BaseStatusEnum::values()) }}|default:{{ Botble\Base\Enums\BaseStatusEnum::PUBLISHED }}) Order (nullable|integer|min:0|max:127|default:0) Nationality (required_if:import_type,country|max:120) @foreach ($supportedLocales as $localeCode => $properties) @continue($localeCode === Language::getCurrentLocale()) Name {{ $properties['lang_code'] }} (nullable|default:{Name}) @endforeach
@endsection @push('footer') __row__ __errors__

@endpush