git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3419 f459cee4-fb09-11de-96c3-f9c5f16c3c76
90 lines
6.3 KiB
Twig
90 lines
6.3 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) }} €]
|
|
{% endfor %}
|
|
{{ booking_request.departure.extraCharge < 0 ? 'Aufschlag' : 'Abzug' }} Abfahrts-/Abflugort {{ booking_request.departure.name }}{#
|
|
#} {{ booking_request.travelerCount }} x {{ booking_request.departure.extraCharge|number_format(2) }} €: {{
|
|
(booking_request.travelerCount * booking_request.departure.extraCharge)|number_format(2) }} €
|
|
{% for insuranceInfo in booking_price_info['insurances'] %}
|
|
{{ insuranceInfo['count'] }}x RV {{ insuranceInfo['insurance'].name }} ({{ insuranceInfo['insurancePrice'].code -}}
|
|
) {{ insuranceInfo['insurancePriceValue']|number_format(2) }} €: {{ (insuranceInfo['count'] *
|
|
insuranceInfo['insurancePriceValue'])|number_format(2) }} €
|
|
{% endfor %}
|
|
{% for option in booking_request.travelOptions %}
|
|
{{ booking_request.travelerCount }}x zugebuchte Leistung (Erwachsener): {{ option.name }} {{ option.price|number_format(2) -}}
|
|
€: {{ (booking_request.travelerCount * option.price)|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 %}
|
|
|
|
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) %}
|
|
{% for room in booking_request.occupiedRooms %}
|
|
{% if(room.type == 1) %}
|
|
{{ loop.index }}. Einzelzimmer, {{ travelerCollection[travelerIndex].sex == 1 ? 'männlich' : 'weiblich' }}, {{ travelerCollection[travelerIndex].firstName }}, {{ travelerCollection[travelerIndex].lastName -}}, {{ travelerCollection[travelerIndex].birthDate }}, {{ travelerCollection[travelerIndex].nationalityName }}
|
|
{% set travelerIndex = travelerIndex + 1 %}
|
|
{% elseif (room.type == 2) %}
|
|
{{ loop.index }}. Doppelzimmer, {{ travelerCollection[travelerIndex].sex == 1 ? 'männlich' : 'weiblich' }}, {{ travelerCollection[travelerIndex].firstName }}, {{ travelerCollection[travelerIndex].lastName -}}, {{ travelerCollection[travelerIndex].birthDate }}, {{ travelerCollection[travelerIndex].nationalityName }}
|
|
{{ loop.index }}. Doppelzimmer, {{ 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 %}
|
|
{% elseif (room.type == 3) %}
|
|
{{ loop.index }}. Dreibettzimmer, {{ travelerCollection[travelerIndex].sex == 1 ? 'männlich' : 'weiblich' }}, {{ travelerCollection[travelerIndex].firstName }}, {{ travelerCollection[travelerIndex].lastName -}}, {{ travelerCollection[travelerIndex].birthDate }}, {{ travelerCollection[travelerIndex].nationalityName }}
|
|
{{ loop.index }}. Dreibettzimmer, {{ 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, {{ 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 %}
|
|
{% endif %}
|
|
{% endfor %}
|
|
|
|
=====================================================================================
|
|
Mitteilungen / Sonstiges:
|
|
=====================================================================================
|
|
{{ booking_request.notes ?? '-' }}
|
|
|
|
|