git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3447 f459cee4-fb09-11de-96c3-f9c5f16c3c76
110 lines
8 KiB
Twig
110 lines
8 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 }} {{ booking_request.departure.extraCharge|number_format(2) }} € p.P.
|
|
|
|
{% for room in booking_price_info['rooms'] %}
|
|
1x {{ room['name'] }} [Personen: {{ room.adults }} x {{ room['price']|number_format(2) }} € {% if room['children'] > 0 %} + Kind: {{ room['price_children']|number_format(2) }} € {% endif %}]
|
|
{% endfor %}
|
|
|
|
{{ booking_request.departure.extraCharge < 0 ? 'Aufschlag' : 'Abzug' }} Abfahrts-/Abflugort {{ booking_request.departure.name }}{#
|
|
#} {{ (booking_request.travelerCount + booking_request.childrenCount) }} x {{ booking_request.departure.extraCharge|number_format(2) }} €: {{
|
|
(booking_request.travelerCount * booking_request.departure.extraCharge)|number_format(2) }} €
|
|
|
|
{% for insuranceInfo in booking_price_info['insurancesOut'] %}
|
|
{{ insuranceInfo['count'] }}x {{ insuranceInfo['label_first'] }} [ {{ insuranceInfo['label_last'] }} ] {{ insuranceInfo['value']|number_format(2) }} €
|
|
{% endfor %}
|
|
|
|
{% for option in booking_request.travelOptions %}
|
|
{{ (booking_request.travelerCount + booking_request.childrenCount) }}x zugebuchte Leistung: {{ option.name }} [Erwachsener: {{ option.price|number_format(2) -}}€ ]
|
|
{% if option.priceChildren > 0 %}[Kind: {{ option.priceChildren|number_format(2) -}} €] {% endif %}
|
|
{{ ((booking_request.travelerCount * option.price) + (booking_request.childrenCount * option.priceChildren))|number_format(2) }} €
|
|
{% endfor %}
|
|
|
|
{% for classOption in booking_price_info['classOptions'] %}
|
|
{{ classOption['count'] }}x {{ classOption['name'] }} {{ classOption['price']|number_format(2) }} €: {{
|
|
(classOption['count'] * classOption['price'])|number_format(2) }} €
|
|
{% endfor %}
|
|
|
|
{% for discount in booking_price_info['discount'] %}
|
|
{{ discount['count'] }}x {{ discount['label_first'] }} [ {{ discount['label_last'] }} ] {{ discount['value']|number_format(2) }} €
|
|
{% 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:
|
|
Zimmernummer, 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 ?? '-' }}
|
|
|
|
|