Check price is defined

git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3472 f459cee4-fb09-11de-96c3-f9c5f16c3c76
This commit is contained in:
adametz 2018-10-16 12:25:05 +00:00
parent 3dec64587e
commit 8f7f2c03db

View file

@ -250,6 +250,7 @@
<td data-title="Ende">{{ travel_date.end|date }}</td>
{% if has_three_bed_room %}
<td data-title="Preis p.P. im Dreibettzimmer">
{% if travel_date.prices[5] is defined %}
{% if travel_date.prices[5].available == "1" %}
{% if travel_date.prices[5] is defined %}
{% if travel_date.prices[5].effectiveDiscountPrice %}
@ -269,11 +270,12 @@
{% else %}
nicht verfügbar
{% endif %}
{% endif %}
</td>
{% endif %}
{% if has_double_bed_room %}
<td data-title="Preis p.P im Doppelzimmer">
{% if travel_date.prices[3] is defined %}
{% if travel_date.prices[3].available == "1" %}
{% if travel_date.prices[3].effectiveDiscountPrice %}
<i class="icons-percent"></i>
@ -291,11 +293,13 @@
{% else %}
nicht verfügbar
{% endif %}
{% endif %}
</td>
{% endif %}
{% if has_singel_bed_room %}
<td data-title="Preis p.P im Einzelzimmer">
{% if travel_date.prices[1] is defined %}
{% if travel_date.prices[1].available == "1" %}
{% if travel_date.prices[1].effectiveDiscountPrice %}
<i class="icons-percent"></i>
@ -313,6 +317,7 @@
{% else %}
nicht verfügbar
{% endif %}
{% endif %}
</td>
{% endif %}
<td data-title="Abflugorte / Zuschläge">