@extends(EcommerceHelper::viewPath('customers.master'))
@section('title', __('Address books'))
@section('content')
@if($addresses->isNotEmpty())
@if ($addresses->isNotEmpty())
@foreach ($addresses as $address)
@include(EcommerceHelper::viewPath('customers.address.item'), ['address' => $address])
@endforeach
@endif
@else
@include(EcommerceHelper::viewPath('customers.partials.empty-state'), [
'title' => __('No addresses!'),
'subtitle' => __('You have not added any addresses yet.'),
'actionUrl' => route('customer.address.create'),
'actionLabel' => __('Add a new address'),
])
@endif
@endsection