{% extends 'layout_booking.html.twig' %} {% macro imageGallery(images, thumbImages, defaultAlt) %} {% if images|length > 0 %}
{% for image in images %}
{{ image.alt ?? defaultAlt }} {% if loop.index0 == 1 and images|length > 2 %}
+{{ images|length - 2 }}
{% endif %}
{% endfor %}
{% endif %} {% endmacro %} {% import _self as macros %} {% block title %}{{ booking.inquiry ? 'Dein Angebot' : 'Deine Buchung' }}{% endblock %} {% block background %}bg-outer bg-outer--summer{% endblock %} {% block content %} {% set currency = booking.pricingCurrency ?? priceBreakdown.currency %} {% set displayTotal = booking.totalPrice ?? (priceBreakdown.total ?? null) %}
{# Sidebar summary #}
{% include 'groups/booking/_offer_summary.html.twig' with { booking: booking, ctx: ctx, currency: currency, displayTotal: displayTotal, } %}
{# Main area #}
{% include '_partials/_flashes.html.twig' %}

{{ booking.inquiry ? 'Dein Angebot' : 'Deine Buchung' }}

{{ ctx.accommodation.name }}

{# Booked services #} {% if booking.boardServiceLabel or booking.additionalServices | length > 0 %}

{{ booking.inquiry ? 'Angefragte' : 'Gebuchte' }} Leistungen

    {% if booking.boardServiceLabel %}
  • {{ booking.boardServiceLabel }}
  • {% endif %} {% for service in booking.additionalServices %}
  • {{ service.label }}
  • {% endfor %}
{% endif %} {% if booking.inquiry %}
{% elseif booking.acceptedAt is not null %}
{{ icon('info', 'w-5 h-5') }}
Angebot angenommen am {{ booking.acceptedAt | date('d.m.Y') }}
{% endif %} {# hotel description #} {% if ctx.hotelCmsData is not null %}
{% set icons = ctx.hotelCmsData.icons %} {% if icons is not empty %}
    {% for icon, label in icons %}
  • {{ icon(icon, 'w-8 h-8 shrink-0 text-gray-900') }}
    {{ label }}
  • {% endfor %}
{% endif %} {{ ctx.hotelCmsData.description | raw }}

Details zur Unterkunft

{{ ctx.hotelCmsData.features | raw }}

Die Zimmer

{{ ctx.hotelCmsData.roomTypes | raw }}

Weitere Infos

{{ ctx.hotelCmsData.additionalInformation | raw }}
{{ macros.imageGallery(ctx.hotelCmsData.images.resized.l, ctx.hotelCmsData.images.resized.m, ctx.accommodation.name) }} {% endif %} {# region description #} {% if ctx.hotelCmsData is not null and ctx.hotelCmsData.region is not null %} {% set region = ctx.hotelCmsData.region %}
{% if region.altitude or region.length or region.lifts %}
    {% if region.altitude %}
  • {{ region.altitude }} m Höhe
  • {% endif %} {% if region.length %}
  • {{ region.length }} km Pisten
  • {% endif %} {% if region.lifts %}
  • {{ region.lifts }} Lifte
  • {% endif %}
{% endif %} {% if region.webcam %}

Webcam der Region

{% endif %} {{ region.description | default('') | raw }}

Skigebiet

{{ region.skiArea | default('') | raw }} {{ region.skiAreaExtended | default('') | raw }} {% if region.news %}

Aktuelles aus der Region

{{ region.news | raw }} {% endif %}
{% if region.regionMaps is not null and region.regionMaps | length > 0 %} {% set regionMapImages = region.regionMaps | map(url => {url: url}) %} {{ macros.imageGallery(regionMapImages, [], region.name) }} {% endif %} {{ macros.imageGallery(region.images.resized.l ?? [], region.images.resized.m ?? [], region.name) }} {% endif %}
{% endblock %}