@lang('shop::app.customers.account.addresses.add-address') @section('breadcrumbs') @endSection

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

@lang('shop::app.customers.account.addresses.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.default-address')
@endif

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

@method('DELETE') @csrf

@lang('shop::app.customers.account.addresses.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

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

@endif