@lang('shop::app.customers.account.addresses.index.add-address') @if ((core()->getConfigData('general.general.breadcrumbs.shop'))) @section('breadcrumbs') @endSection @endif

@lang('shop::app.customers.account.addresses.index.title')

@lang('shop::app.customers.account.addresses.index.add-address')
@if (! $addresses->isEmpty()) {!! view_render_event('bagisto.shop.customers.account.addresses.list.before', ['addresses' => $addresses]) !!}
@foreach ($addresses as $address)

{{ $address->first_name }} {{ $address->last_name }} @if ($address->company_name) ({{ $address->company_name }}) @endif

@if ($address->default_address)
@lang('shop::app.customers.account.addresses.index.default-address')
@endif

@lang('shop::app.customers.account.addresses.index.edit')

@method('DELETE') @csrf

@lang('shop::app.customers.account.addresses.index.delete')

@if (! $address->default_address)
@method('PATCH') @csrf
@endif

{{ $address->address }}, {{ $address->city }}, {{ $address->state }}, {{ $address->country }}, {{ $address->postcode }}

@endforeach
{!! view_render_event('bagisto.shop.customers.account.addresses.list.after', ['addresses' => $addresses]) !!} @else
Empty Address

@lang('shop::app.customers.account.addresses.index.empty-address')

@endif