@extends('frontend.layouts.booking') @section('title', __('Guest Information')) @section('content')

{{ __('Daypass guests at :place', ['place' => $place->name]) }}

{{ __('Provide the details for each day and guest (:n total).', ['n' => $total]) }}

@if($errors->any())
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf
{{ __('Purchaser details') }} {{ __('We’ll use these details for the purchase. Toggle “It’s me” for a guest to copy them over.') }}
@foreach($dateQuantities as $date => $qty) @endforeach @php $guestIndex = 0; @endphp @foreach($dateQuantities as $date => $qty)
{{ \Carbon\Carbon::parse($date)->translatedFormat('l j F Y') }} — {{ __(':n guest(s)', ['n' => $qty]) }}
@for($i = 0; $i < $qty; $i++)
{{ __('Guest #:num', ['num' => $guestIndex + 1]) }}
@php $guestIndex++; @endphp @endfor
@endforeach
@endsection @section('page_scripts') @endsection