@@ -133,7 +123,7 @@
{# #TODO additional section classes if not home #}
-
+
@@ -157,7 +147,7 @@
offers_sidebar_widget_block: block('offers_sidebar_widget') ?? null,
feedbacks_sidebar_widget_block: block('feedbacks_sidebar_widget') ?? null,
} %}
-
+
{% block body %}{% endblock %}
@@ -170,8 +160,12 @@
{% include 'default/components/footer.html.twig' %}
-
+
+
+
+
+
{% embed 'default/components/embed/modal.html.twig' with {id: 'default'} %}{% endembed %}
diff --git a/trunk/app/Resources/views/default/admin/fewoGroupImage.html.twig b/trunk/app/Resources/views/default/admin/fewoGroupImage.html.twig
index 3731473d..89650f56 100644
--- a/trunk/app/Resources/views/default/admin/fewoGroupImage.html.twig
+++ b/trunk/app/Resources/views/default/admin/fewoGroupImage.html.twig
@@ -15,7 +15,7 @@
{{ form_row(form.file, {label: 'Bild'}) }}
{% else %}
-
 }})
+
{% endif %}
{{ form_row(form.fileName, {label: 'Name'}) }}
diff --git a/trunk/app/Resources/views/default/admin/lodgingGroupEdit.html.twig b/trunk/app/Resources/views/default/admin/lodgingGroupEdit.html.twig
index 97d01267..fa337174 100644
--- a/trunk/app/Resources/views/default/admin/lodgingGroupEdit.html.twig
+++ b/trunk/app/Resources/views/default/admin/lodgingGroupEdit.html.twig
@@ -35,7 +35,7 @@
{% for image in lodgingGroup.images %}
{% if image.comp == 'pre' %}
-  }}) |
+  }}) |
{{ image.pos }} |
{{ image.fileName }} |
{{ image.description }} |
@@ -85,7 +85,7 @@
{% for image in lodgingGroup.images %}
{% if image.comp == 'post' %}
-  }}) |
+  }}) |
{{ image.pos }} |
{{ image.fileName }} |
{{ image.description }} |
diff --git a/trunk/app/Resources/views/default/admin/lodgingsEditCalendar.html.twig b/trunk/app/Resources/views/default/admin/lodgingsEditCalendar.html.twig
index d26f857d..152c7057 100644
--- a/trunk/app/Resources/views/default/admin/lodgingsEditCalendar.html.twig
+++ b/trunk/app/Resources/views/default/admin/lodgingsEditCalendar.html.twig
@@ -6,6 +6,7 @@
{% endif %}
+
- {% if counter%2 == 0 %}
+ {% if counter%2 == 0 or calendar|length ==counter %}
{% endif %}
+
+
{% endfor %}
diff --git a/trunk/app/Resources/views/default/components/booking/fewoSummary.html.twig b/trunk/app/Resources/views/default/components/booking/fewoSummary.html.twig
index 7ce20e5b..ddbb2994 100644
--- a/trunk/app/Resources/views/default/components/booking/fewoSummary.html.twig
+++ b/trunk/app/Resources/views/default/components/booking/fewoSummary.html.twig
@@ -1,16 +1,54 @@
+{% if(isPossible) %}
|
- + {{ total_price_per_night|number_format(2) }} €
+ Datum:
|
- ({{ fewo_booking_request.numberDays }} {{ fewo_booking_request.numberDays < 2 ? 'Nacht' : 'Nächte' }} x {{ fewo_price.perNight|number_format(2) }} €)
+ {{ fewo_booking_request.fromDate|date }} - {{ fewo_booking_request.toDate|date }}
|
+
+
|
+
+
+ {% for season, values in priceResult.season %}
+
+ |
+ Saison:
+ |
+
+ {{ season }}
+ |
+
+
+ |
+ Mindestbelegung:
+ |
+
+ {{ values.minimumStay }} {{ values.minimumStay < 2 ? 'Nacht' : 'Nächte' }}
+ |
+
+
+
+
+ |
+ + {{ values.price|number_format(2) }} €
+ |
+
+ {{ values.numberDays }} {{ values.numberDays < 2 ? 'Nacht' : 'Nächte' }} x {{ values.perNight|number_format(2) }} €
+ |
+
+
+
+
|
+
+
+ {% endfor %}
|
- + {{ fewo_price.flatPrice|number_format(2) }} €
+ + {{ priceResult.flatPrice|number_format(2) }} €
|
Service-Gebühr
@@ -18,7 +56,7 @@
|
|
- + {{ fewo_lodging.deposit|number_format(2) }} €
+ + {{ priceResult.deposit|number_format(2) }} €
|
Kaution
@@ -26,9 +64,15 @@
|
|
- = {{ total_price|number_format(2) }} €
+ = {{ priceResult.total_price|number_format(2) }} €
|
Gesamtpreis der Reise |
+{% else %}
+
+ Leider ist der gewünschter Zeitraum ist nicht buchbar.
+ Bitte ändern Sie das Datum, rote Felder sind bereits gebucht.
+
+{% endif %}
\ No newline at end of file
diff --git a/trunk/app/Resources/views/default/components/departuresModal.html.twig b/trunk/app/Resources/views/default/components/departuresModal.html.twig
index 59953d0a..773dc25d 100644
--- a/trunk/app/Resources/views/default/components/departuresModal.html.twig
+++ b/trunk/app/Resources/views/default/components/departuresModal.html.twig
@@ -20,13 +20,14 @@
{# @var departure \AppBundle\Entity\TravelDeparturePoint #}
- {% if departure.flightTime[startWeekday] is defined %}
+ {% if departure.flightTime is defined %}
+ {% if departure.flightTime.startWeekday is defined %}
{% if departure.flightTime[startWeekday] != "" %}
Flugzeiten
{% endif %}
{% endif %}
{{ departure.name }}
- {% if departure.flightTime[startWeekday] is defined %}
+ {% if departure.flightTime.startWeekday is defined %}
{% for flightTime in departure.flightTime[startWeekday]|split('\n') %}
{% if flightTime != "" %}
@@ -35,6 +36,7 @@
{% endfor %}
{% endif %}
+ {% endif %}
|
{{ departure.extraCharge|number_format(2) }} € |
diff --git a/trunk/app/Resources/views/default/components/header.html.twig b/trunk/app/Resources/views/default/components/header.html.twig
index d647981a..bb5ec7ae 100644
--- a/trunk/app/Resources/views/default/components/header.html.twig
+++ b/trunk/app/Resources/views/default/components/header.html.twig
@@ -1,6 +1,6 @@