@extends('shop::customers.account.index') @section('page_title') {{ __('shop::app.customer.account.address.edit.page-title') }} @endsection @section('page-detail-wrapper')
{{ __('shop::app.customer.account.address.edit.title') }}
{!! view_render_event('bagisto.shop.customers.account.address.edit.before', ['address' => $address]) !!}
@method('PUT') @csrf {!! view_render_event('bagisto.shop.customers.account.address.edit_form_controls.before', ['address' => $address]) !!}
{!! view_render_event('bagisto.shop.customers.account.address.edit_form_controls.company_name.after') !!}
{!! view_render_event('bagisto.shop.customers.account.address.edit_form_controls.first_name.after') !!}
{!! view_render_event('bagisto.shop.customers.account.address.edit_form_controls.last_name.after') !!}
{!! view_render_event('bagisto.shop.customers.account.address.edit_form_controls.vat_id.after') !!} @php $addresses = old('address1') ?? explode(PHP_EOL, $address->address1); @endphp
@if ( core()->getConfigData('customer.address.information.street_lines') && core()->getConfigData('customer.address.information.street_lines') > 1 ) @for ($i = 1; $i < core()->getConfigData('customer.address.information.street_lines'); $i++)
@endfor @endif {!! view_render_event('bagisto.shop.customers.account.address.edit_form_controls.street-addres.after') !!} @include ('shop::customers.account.address.country-state', ['countryCode' => old('country') ?? $address->country, 'stateCode' => old('state') ?? $address->state]) {!! view_render_event('bagisto.shop.customers.account.address.edit_form_controls.country-state.after') !!}
{!! view_render_event('bagisto.shop.customers.account.address.edit_form_controls.create.after') !!}
{!! view_render_event('bagisto.shop.customers.account.address.edit_form_controls.postcode.after') !!}
{!! view_render_event('bagisto.shop.customers.account.address.edit_form_controls.after', ['address' => $address]) !!}
default_address ? 'checked' : '' }}> {{ __('shop::app.customer.account.address.default-address') }}
{!! view_render_event('bagisto.shop.customers.account.address.edit.after', ['address' => $address]) !!} @endsection