{# Travel Information #}
|
Reise
|
{{ bookingCreateDto.travel.label }}
|
|
Zeitraum
|
{{ bookingCreateDto.travel.dateFrom|date('d.m.Y') }} - {{ bookingCreateDto.travel.dateTo|date('d.m.Y') }}
|
|
Unterkunft
|
{{ bookingCreateDto.travel.hotel.name }}
|
|
Teilnehmer
|
{{ summaryData.participantCount }}
|
{% if bookingCreateDto.bookingStatus != 'F' %}
|
Status
|
{{ bookingCreateDto.bookingStatus|map_status }}
|
{% endif %}
{% include 'booking/_summary_hotel.html.twig' %}
{# Mutability information (edit mode only) #}
{% if bookingCreateDto.mode == constant('App\\Form\\Model\\BookingDto::MODE_EDIT') and mutableData %}
Aktualisierung möglich bis
|
Zusatzleistungen
|
{% if mutableData.items['additional_services'].mutable %}
{{ mutableData.items['additional_services'].mutableBefore|date('d.m.Y') }}
{% else %}
nicht mehr möglich
{% endif %}
|
|
Beförderung
|
{% if mutableData.items['transportation'].mutable %}
{{ mutableData.items['transportation'].mutableBefore|date('d.m.Y') }}
{% else %}
nicht mehr möglich
{% endif %}
|
|
Zustiege
|
{% if mutableData.items['pickup'].mutable %}
{{ mutableData.items['pickup'].mutableBefore|date('d.m.Y') }}
{% else %}
nicht mehr möglich
{% endif %}
|
|
Unterkunft
|
{% if mutableData.items['accommodation'].mutable %}
{{ mutableData.items['accommodation'].mutableBefore|date('d.m.Y') }}
{% else %}
nicht mehr möglich
{% endif %}
|
{% endif %}
{# Rooms Section #}
{% if summaryData.pricingData.rooms is not empty %}
Unterkunft
{% for roomPricing in summaryData.pricingData.rooms %}
|
{{ roomPricing.quantity }}x {{ roomPricing.label }}
|
{{ roomPricing.totalPrice | format_currency('EUR') }}
|
{% endfor %}
{% endif %}
{# Services Section #}
{% if summaryData.pricingData.services is not empty %}
Leistungen
{% for serviceGroup in summaryData.pricingData.services %}
{{ serviceGroup.groupName }}
{% for servicePricing in serviceGroup.services %}
|
{{ servicePricing.participantCount }}x {{ servicePricing.label }}
|
{{ servicePricing.totalPrice | format_service_price }}
|
{% endfor %}
{% endfor %}
{% endif %}
{# Surcharges Section (Edit mode only) #}
{% if summaryData.pricingData.surcharges is defined and summaryData.pricingData.surcharges is not empty %}
Zu-/Abschläge
{% for surchargePricing in summaryData.pricingData.surcharges %}
|
{{ surchargePricing.participantCount }}x {{ surchargePricing.label }}
|
{{ surchargePricing.totalPrice|format_currency('EUR') }}
|
{% endfor %}
{% endif %}
{# Total Section #}
{% if summaryData.totalPrice > 0 %}
{# Show subtotal and voucher discounts when vouchers are applied #}
{% set acceptedVouchers = bookingCreateDto.getAcceptedVouchers() %}
{% if acceptedVouchers and acceptedVouchers.hasVouchers() %}
Kostenübersicht
{# Subtotal before vouchers #}
|
Gesamtpreis
|
{{ summaryData.totalPrice|format_currency('EUR') }}
|
{# Voucher discounts breakdown #}
{% for voucher in acceptedVouchers.vouchers %}
|
{% if voucher.promotional %}
Aktionsgutschein ({{ voucher.code }})
{% elseif voucher.goodwill %}
Kulanzgutschein ({{ voucher.code }})
{% elseif voucher.purchase %}
Kaufgutschein ({{ voucher.code }})
{% endif %}
|
- {{ voucher.amount|format_currency('EUR') }}
|
{% endfor %}
{# Amount to pay after vouchers #}
Zu zahlen
{{ summaryData.payableAmount|format_currency('EUR') }}
{% else %}
Gesamtpreis
{{ summaryData.payableAmount|format_currency('EUR') }}
{% endif %}
{% endif %}