* Fertigstellung Buchungsformular (#1321) (SternTours-CRM-API-Anbindung, Mailversand, Validierung, Dynamische Preisberechnung, Persistierung von Buchungsinformationen)
* Fehler bei der Preisberechnung behoben * Farbschema geändert (Kevin Adametz) git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3289 f459cee4-fb09-11de-96c3-f9c5f16c3c76
This commit is contained in:
parent
dde3b91724
commit
3a28866cd2
36 changed files with 2200 additions and 268 deletions
|
|
@ -0,0 +1,71 @@
|
|||
{# @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) }} €
|
||||
|
||||
=====================================================================================
|
||||
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' }}
|
||||
|
||||
=====================================================================================
|
||||
Reiseteilnehmer:
|
||||
#) Geschlecht, Vorname, Nachname, Geburtsdatum
|
||||
=====================================================================================
|
||||
{% for traveler in booking_request.travelers|slice(0, booking_request.travelerCount) %}
|
||||
{{ loop.index }}) {{ traveler.sex == 1 ? 'männlich' : 'weiblich' }}, {{ traveler.firstName }}, {{ traveler.lastName -}}
|
||||
, {{ traveler.birthDate|date }}
|
||||
{% endfor %}
|
||||
|
||||
=====================================================================================
|
||||
Mitteilungen / Sonstiges:
|
||||
=====================================================================================
|
||||
{{ booking_request.notes ?? '-' }}
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue