93 lines
6.5 KiB
Twig
93 lines
6.5 KiB
Twig
{# @var booking_request \AppBundle\Entity\BookingRequest #}
|
|
=====================================================================================
|
|
Reisedaten:
|
|
=====================================================================================
|
|
Reiseprogramm: {{ travel_date.travelProgram.title }} ({{ travel_date.name }})
|
|
Kategorie: Standard
|
|
Reisezeitraum: {{ travel_date.start|date }} - {{ travel_date.end|date }}
|
|
Abfahrts-/Abflugort: {{ booking_request.departure.name }}
|
|
|
|
------------------------------------------------------------
|
|
|
|
{% for summary_entry in summary %}
|
|
{% if(summary_entry.value != "!") %}
|
|
{{ summary_entry.value|number_format(2) }} € : {{ summary_entry.label|striptags }}
|
|
{% else %}
|
|
{{ summary_entry.label|striptags }}
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
------------------------------------------------------------
|
|
Gesamtpreis: {{ booking_price_info['total']|number_format(2) }} €
|
|
|
|
Anzahlung: {{ booking_price_info.deposit_total|number_format(2) }} € (ist sofort fällig)
|
|
|
|
Restzahlung: {{ booking_price_info.final_payment|number_format(2) }} € (bis zum {{ booking_price_info.final_payment_date}})
|
|
|
|
=====================================================================================
|
|
Reiseleistungen:
|
|
=====================================================================================
|
|
Eingeschlossene Leistungen:
|
|
{% for travel_program_service in travel_date.travelProgram.included|split('\n') %}
|
|
[x] {{ travel_program_service|raw }}
|
|
{% endfor %}
|
|
|
|
Nicht eingeschlossene, zubuchbare Leistungen:
|
|
{% for travel_program_service in travel_date.travelProgram.excluded|split('\n') %}
|
|
[o] {{ travel_program_service|raw }}
|
|
{% endfor %}
|
|
|
|
=====================================================================================
|
|
Reiseanmelder{% if booking_request.salutation == 2 %}in{% endif %}
|
|
|
|
|
|
=====================================================================================
|
|
Vorname: {{ booking_request.firstName }}
|
|
Nachname: {{ booking_request.lastName }}
|
|
Adresse: {{ booking_request.streetAddress }}
|
|
PLZ: {{ booking_request.zipCode }}
|
|
Ort: {{ booking_request.city }}
|
|
Telefonnummer: {{ booking_request.phone }}
|
|
Fax: {{ booking_request.fax ?? 'keine Angabe' }}
|
|
E-Mail: {{ booking_request.email ?? 'keine Angabe' }}
|
|
|
|
=====================================================================================
|
|
Reiseteilnehmer:
|
|
Nr., Zimmertyp, Geschlecht, Vorname, Nachname, Geburtsdatum
|
|
=====================================================================================
|
|
{% set travelerIndex = 0 %}
|
|
{% set travelerCollection = booking_request.travelers|slice(0, (booking_request.travelerCount + booking_request.childrenCount)) %}
|
|
{% for room in booking_request.occupiedRooms %}
|
|
{% if(room.type == 1) %}
|
|
{{ loop.index }}. Einzelzimmer Erwachsener, {{ travelerCollection[travelerIndex].sex == 1 ? 'männlich' : 'weiblich' }}, {{ travelerCollection[travelerIndex].firstName }}, {{ travelerCollection[travelerIndex].lastName -}}, {{ travelerCollection[travelerIndex].birthDate }}, {{ travelerCollection[travelerIndex].nationalityName }}
|
|
{% set travelerIndex = travelerIndex + 1 %}
|
|
{% if(room.child == 1) %}
|
|
{{ loop.index }}. Einzelzimmer Kind, {{ travelerCollection[travelerIndex].sex == 1 ? 'männlich' : 'weiblich' }}, {{ travelerCollection[travelerIndex].firstName }}, {{ travelerCollection[travelerIndex].lastName -}}, {{ travelerCollection[travelerIndex].birthDate }}, {{ travelerCollection[travelerIndex].nationalityName }}
|
|
{% set travelerIndex = travelerIndex + 1 %}
|
|
{% endif %}
|
|
{% elseif (room.type == 2) %}
|
|
{{ loop.index }}. Doppelzimmer Erwachsener, {{ travelerCollection[travelerIndex].sex == 1 ? 'männlich' : 'weiblich' }}, {{ travelerCollection[travelerIndex].firstName }}, {{ travelerCollection[travelerIndex].lastName -}}, {{ travelerCollection[travelerIndex].birthDate }}, {{ travelerCollection[travelerIndex].nationalityName }}
|
|
{{ loop.index }}. Doppelzimmer Erwachsener, {{ travelerCollection[travelerIndex+1].sex == 1 ? 'männlich' : 'weiblich' }}, {{ travelerCollection[travelerIndex+1].firstName }}, {{ travelerCollection[travelerIndex+1].lastName -}}, {{ travelerCollection[travelerIndex+1].birthDate }}, {{ travelerCollection[travelerIndex].nationalityName }}
|
|
{% set travelerIndex = travelerIndex + 2 %}
|
|
{% if(room.child == 1) %}
|
|
{{ loop.index }}. Doppelzimmer Kind, {{ travelerCollection[travelerIndex].sex == 1 ? 'männlich' : 'weiblich' }}, {{ travelerCollection[travelerIndex].firstName }}, {{ travelerCollection[travelerIndex].lastName -}}, {{ travelerCollection[travelerIndex].birthDate }}, {{ travelerCollection[travelerIndex].nationalityName }}
|
|
{% set travelerIndex = travelerIndex + 1 %}
|
|
{% endif %}
|
|
{% elseif (room.type == 3) %}
|
|
{{ loop.index }}. Dreibettzimmer Erwachsener, {{ travelerCollection[travelerIndex].sex == 1 ? 'männlich' : 'weiblich' }}, {{ travelerCollection[travelerIndex].firstName }}, {{ travelerCollection[travelerIndex].lastName -}}, {{ travelerCollection[travelerIndex].birthDate }}, {{ travelerCollection[travelerIndex].nationalityName }}
|
|
{{ loop.index }}. Dreibettzimmer Erwachsener, {{ travelerCollection[travelerIndex+1].sex == 1 ? 'männlich' : 'weiblich' }}, {{ travelerCollection[travelerIndex+1].firstName }}, {{ travelerCollection[travelerIndex+1].lastName -}}, {{ travelerCollection[travelerIndex+1].birthDate }}, {{ travelerCollection[travelerIndex].nationalityName }}
|
|
{{ loop.index }}. Dreibettzimmer Erwachsener, {{ travelerCollection[travelerIndex+2].sex == 1 ? 'männlich' : 'weiblich' }}, {{ travelerCollection[travelerIndex+2].firstName }}, {{ travelerCollection[travelerIndex+2].lastName -}}, {{ travelerCollection[travelerIndex+2].birthDate }}, {{ travelerCollection[travelerIndex].nationalityName }}
|
|
{% set travelerIndex = travelerIndex + 3 %}
|
|
{% if(room.child == 1) %}
|
|
{{ loop.index }}. Dreibettzimmer Kind, {{ travelerCollection[travelerIndex].sex == 1 ? 'männlich' : 'weiblich' }}, {{ travelerCollection[travelerIndex].firstName }}, {{ travelerCollection[travelerIndex].lastName -}}, {{ travelerCollection[travelerIndex].birthDate }}, {{ travelerCollection[travelerIndex].nationalityName }}
|
|
{% set travelerIndex = travelerIndex + 1 %}
|
|
{% endif %}
|
|
{% endif %}
|
|
{% endfor %}
|
|
|
|
=====================================================================================
|
|
Mitteilungen / Sonstiges:
|
|
=====================================================================================
|
|
{{ booking_request.notes ?? '-' }}
|
|
|
|
|