@extends(BaseHelper::getAdminMasterLayoutTemplate())
@section('content')
{{ trans('core/base::tables.name') }}
{{ trans('core/base::tables.email') }}
{{ trans('plugins/ecommerce::ecommerce.phone') }}
{{ trans('plugins/ecommerce::ecommerce.address') }}
{{ trans('plugins/ecommerce::store-locator.is_primary') }}
@foreach ($storeLocators as $storeLocator)
{{ $storeLocator->name }}
{{ $storeLocator->email }}
{{ $storeLocator->phone }}
{{ $storeLocator->full_address }}
{{ $storeLocator->is_primary ? trans('core/base::base.yes') : trans('core/base::base.no') }}
@if (!$storeLocator->is_primary && $storeLocators->count() > 1)
@endif
@endforeach
{{ trans('plugins/ecommerce::setting.store_locator.form.add_new') }}
@if (count($storeLocators) > 1)
{{ trans('plugins/ecommerce::ecommerce.or') }}
{{ trans('plugins/ecommerce::setting.store_locator.form.change_primary_store') }}
@endif
@endsection
@push('footer')
@include('plugins/ecommerce::settings.store-locator-item', ['locator' => null])
{{ trans('core/base::forms.cancel') }}
{{ trans('plugins/ecommerce::setting.store_locator.form.save_location') }}
@include('plugins/ecommerce::settings.store-locator-item', ['locator' => null])
{{ trans('core/base::forms.cancel') }}
{{ trans('plugins/ecommerce::setting.store_locator.form.save_location') }}
{!! trans('plugins/ecommerce::setting.store_locator.form.delete_location_confirmation') !!}
{{ trans('core/base::tables.cancel') }}
{{ trans('plugins/ecommerce::ecommerce.accept') }}
@if (count($storeLocators) > 1)
@include('plugins/ecommerce::settings.store-locator-change-primary', compact('storeLocators'))
{{ trans('core/base::tables.cancel') }}
{{ trans('plugins/ecommerce::ecommerce.accept') }}
@endif
@endpush