{# @var travel_program \AppBundle\Entity\TravelProgram #} {% extends get_base_template() %} {% block javascripts %} {{ parent() }} {% javascripts '@AppBundle/Resources/public/js/travelProgram.js' %} {% endjavascripts %} {% endblock %} {% block body %}

{{ travel_program.title|default(page.pagetitle)|default(page.title) }}

{# ********* SLIDER ********* #} {% if travel_program.lowestPrice > 0 %}
ab {{ travel_program.lowestPrice|number_format }} € p.P.
{% endif %}
{# ********* TAB BAR ********* #} {% block travel_program_tab_bar %}
{% endblock travel_program_tab_bar %}
{# ********* REISEABLAUF ********* #}
{{ travel_program.htmlDescription|raw|keywords }} {% if (travel_program.advices is not empty) or (travel_program.generalnote is not empty) %}

Hinweise

    {% if travel_program.generalnote is not empty %} {% for notes in travel_program.generalnote.text|trim|split('\n') %} {% if notes is not empty %}
  • {{ notes|raw }}
  • {% endif %} {% endfor %} {% endif %} {% for travel_program_advice in travel_program.advices|trim|split('\n') %} {% if travel_program_advice is not empty %}
  • {{ travel_program_advice|raw }}
  • {% endif %} {% endfor %}
{% endif %}
{# ********* LEISTUNGEN ********* #}

Eingeschlossene Leistungen

    {% for travel_program_service in travel_program.included|replace({'*': ''})|split('\n') %}
  • {{ travel_program_service|raw }}
  • {% endfor %}
{% if travel_program.classDescription is not empty %} {{ travel_program.classDescription|replace({'*': ''})|raw }} {% endif %} {% if travel_program.excluded is not empty %}

Nicht eingeschlossene / zubuchbare Leistungen

    {% for travel_program_service in travel_program.excluded|replace({'*': ''})|split('\n') %}
  • {{ travel_program_service|raw }}
  • {% endfor %}
{% endif %}
{# ********* TERMINE UND PREISE ********* #}

{{ travel_program.subtitle }}

{% if travel_program.travelDates is not empty %} {% set has_three_bed_room = (travel_program.travelDates|first).prices[5] is defined %} {% if has_three_bed_room %}{% endif %} {% for travel_date in travel_program.travelDates if travel_date.status > 0 %} {# @var travel_date \AppBundle\Entity\TravelDate #} {% if has_three_bed_room %} {% endif %} {% endfor %}
Nr. Beginn EndePreis p.P im DreibettzimmerPreis p.P im Doppelzimmer Preis p.P im Einzelzimmer Abflugorte / Zuschläge Status Buchungsformular
{{ travel_date.name }} {{ travel_date.start|date }} {{ travel_date.end|date }} {% if travel_date.prices[5] is defined %} {% if travel_date.prices[5].effectiveDiscountPrice %} {% endif %} ab {{ travel_date.prices[5].effectivePrice|number_format }} € {% if travel_date.prices[5].effectiveDiscountPrice %} ab {{ travel_date.prices[5].effectiveDiscountPrice|number_format }} € {% endif %} {% endif %} {% if travel_date.prices[3].effectiveDiscountPrice %} {% endif %} ab {{ travel_date.prices[3].effectivePrice|number_format }} € {% if travel_date.prices[3].effectiveDiscountPrice %} ab {{ travel_date.prices[3].effectiveDiscountPrice|number_format }} € {% endif %} {% if travel_date.prices[1].effectiveDiscountPrice %} {% endif %} ab {{ travel_date.prices[1].effectivePrice|number_format }} € {% if travel_date.prices[1].effectiveDiscountPrice %} ab {{ travel_date.prices[1].effectiveDiscountPrice|number_format }} € {% endif %} Flughäfen {% include 'default/components/departuresModal.html.twig' with { 'departures': travel_date.departures, 'id': loop.index0 } %} Verfügbarkeit Weiter
{% else %} Momentan sind für dieses Programm keine Termine verfügbar. {% endif %}
{# ********* LANDKARTE ********* #} {% if travel_program.hasMap %}
{% if travel_program.mapHtml is not empty %} {{ travel_program.mapHtml|raw|stripslashes }} {% else %} Karte zum Reiseablauf
{% endif %}
{% endif %} {# ********* LANDINFOS ********* #}
{% for country in travel_program.countries %}

{{ country.name }}

{{ country.htmlInformation|raw }} {% endfor %}
{{ block('travel_program_tab_bar') }}
{% endblock body %}