{{ $amp->type }} {{ $amp->name }}

{{ $amp->country }}

{{ translate('Your reservation information') }}

@if ($amp->price_type == 'local')
@endif @if (auth()->check() && auth()->user()->amp && auth()->user()->amp->id == $amp->id) @else @if (empty($boat))
@else @if ($pro) @endif @endif @endif
@if (empty($boat)) @if (!auth()->check()) {{ translate('Add a boat') }} @else {{ translate('Add a boat') }} @endif @elseif (!isset($current_book))
  • {!! file_get_contents(public_path('storage/svg/' . strtolower($boat->type->type) . '.svg')) !!}

    {{ $boat->name }} {{ $boat->immatriculation }}

  • {{ translate('Length') }}{{ (int) $boat->length }}m
  • {{ translate('Draft') }}{{ (int) $boat->draft }}m
@if ($pro && !isset($current_book)) @foreach ($currentUser->boats as $boatEl) @if ($boatEl->id == $boat->id) @continue @endif
  • {!! file_get_contents(public_path('storage/svg/' . strtolower($boatEl->type) . '.svg')) !!}

    {{ $boatEl->name }} {{ $boatEl->immatriculation }}

  • {{ translate('Length') }}{{ (int) $boatEl->length }}m
  • {{ translate('Draft') }}{{ (int) $boatEl->draft }}m
@endforeach @endif @endif @if (!isset($current_book)) @if (auth()->check() && auth()->user()->hasRole('amp') && auth()->user()->id == $amp->id)

{{ translate('About your customer') }}

{{ translate('Your customer boat') }}

@foreach ($boats as $boatType)
{!! file_get_contents(public_path("storage/svg/$boatType->svg")) !!}

{{ translate($boatType->type) }}

@endforeach
@endif @endif @if (isset($app->current_book)) @php $mooring = new Mooring($app->current_book->data->id_mooring); @endphp @if ($mooring->data->max_visit != 0)
{{ translate('Booked limited') }} {{ translate('to') }} {{ (int) $mooring->data->max_visit }}h
@endif @endif
@if (!isset($app->current_book)) @if (!empty($showPasses))

{{ translate('Select a pass (optional)') }}

@php $id_pass = []; if (auth()->check() && ($passActive = auth()->user()->subscriptions)) { foreach ($passActive as $pass) { $id_pass[$pass->id_subscription] = $pass->days; } } @endphp @foreach ($showPasses as $el) @if ($boat && $boat->length <= $el->boat_length)
id])) data-max-length="{{ $amp->data->price_type == '3days_boats' ? $el->boat_length : 'false' }}" data-max-day="{{ $id_pass[$el->id] }}" @endif> {!! file_get_contents(public_path('storage/svg/icon_navbarAMP6.svg')) !!}

PASS {{ $el->nights }} {{ translate('day(s)') }}

{{ translate('Max.Length') }} {{ $el->boat_length }}m

@if (empty($id_pass[$el->id])) @if ($amp->price_type == 'local') {{ $el->price_local }} @else {{ $el->price }} @endif € @else {{ 'J - ' . $id_pass[$el->id] }} @endif

@elseif(empty($boat))
{!! file_get_contents(public_path('storage/svg/icon_navbarAMP6.svg')) !!}

PASS {{ $el->nights }} {{ translate('day(s)') }}

{{ translate('Max.Length') }} {{ $el->boat_length }}m

@if ($amp->price_type == 'local') {{ $el->price_local }} @else {{ $el->price }} @endif €

@endif @endforeach

{{ translate('If a pass is active on your account, the concerned thumbnail above will appear in green. Then you can book a mooring freely in the concerned period.') }}

{{ translate('Learn more about pass') }}
+

{{ $amp->pass_content }}

@endif @endif
@if (!isset($app->current_book)) @if (!isset($app->choiceMooring))

{{ translate('Select a mooring') }}

@endif
@if (isset($_GET['qrcode_error']))
@if (strpos($_GET['qrcode_error'], 'false') !== false)

{{ __('Impossible de lire ce QRCode.') }}

@endif @if ($_GET['qrcode_error'] == 'image')

{{ __('Erreur lors du chargement de la photo.') }}

@endif
@endif
{!! $bookingList !!}
@else @php $mooring = new Mooring($app->choiceMooring); @endphp
{{ translate('Mooring Zone') }} {{ $mooring->MooringZone->name }}
{!! file_get_contents(public_path('storage/svg/bouee.svg')) !!}

Mooring {{ $mooring->data->name }} {{ translate('Mooring Zone') }} {{ $mooring->MooringZone->name }}

@if (!$pro) @if (strpos($mooring->data->type, 'pro') === false)
{{ Tools::priceFormat($mooring->data->price) }} €/ {{ $amp->data->night_mode ? translate('night') : translate('day') }}
@endif @endif
@endif @if ($amp->id == 96 && strtotime('now') < strtotime('1 october 2022'))
{{ __('Réservable uniquement à partir du 1er octobre') }}
@endif @if (isset($app->current_book)) {{ translate('Valider mes modifications') }} @else id == 96 && (strtotime('now') < strtotime('1 october 2022') || strtotime('now') > strtotime('31 october 2022')) )) id="submit-form" @endif class="btn btn-submit rounded-style centered-element"> @if ( $amp->id == 96 && (strtotime('now') < strtotime('1 october 2022') || strtotime('now') > strtotime('31 october 2022'))) {{ translate('NOT BOOKABLE') }} @else @if ($pro) {{ translate('SELECT') }} @else {{ translate('BOOK') }} @endif @endif @endif @endif
@script @endscript