{% extends 'layout_booking.html.twig' %} {% 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 %} {% if booking.discount is not null and priceBreakdown is not null %} {% set discountAmount = (priceBreakdown.total * booking.discount / 100) | round | number_format(0, '.', '') %} {% set discountedTotal = booking.totalPrice ?? (priceBreakdown.total - discountAmount) %} {% endif %} {% set displayTotal = discountedTotal ?? (priceBreakdown.total ?? null) %}
{{ ctx.accommodation.name }}
{# Booked services #} {% if booking.boardServiceLabel or booking.additionalServices | length > 0 %}{{ booking.remarks | nl2br }}
Angenommen am {{ booking.acceptedAt | date('d.m.Y') }} um {{ booking.acceptedAt | date('H:i') }} Uhr
{% endif %} {% endif %}