@extends('main') @section('styles') @endsection @section('page-title') @endsection @section('content')
@if (isDesktop()) @endif
@if (session()->has('success'))
{{ session()->get('success') }}
@endif @if (session()->has('error'))
{{ session()->get('error') }}
@endif

{!! __('My account') !!} {!! __('Delivery addresses') !!}

@foreach (\Auth::user()->addresses as $key => $address)
{!! $address->region !!}
{!! Optional($address->destination)->title !!}
{!! $address->address !!}
{!! __('Edit') !!} {{-- {!! __('Remove') !!} --}}
@endforeach @if (count(\Auth::user()->addresses) < 4 )
{!! __('New address') !!}
{!! __('Add new address') !!}
{!! __('New') !!}
@endif
@if (!isDesktop()) @endif
@endsection @section('scripts') @endsection