templates/FrontCommun/VoyagesOrganise/details/description.html.twig line 1

Open in your IDE?
  1. {% if configAffichage is defined and configAffichage!= null and configAffichage.VOYAGE.BLOC_CARNET is defined and configAffichage.VOYAGE.BLOC_CARNET ==2 %}
  2.     <div id="description2" class="property-description detail-block e">
  3.         <div class="detail-title description-vo-detail-title-edit">
  4.             {% if type ==8 %}
  5.                 <h2 class="title-left description-vo-title-left-edit"> {{ "Carnet de l'événement"|trans }} </h2>
  6.             {% else %}
  7.                 <h2 class="title-left description-vo-title-left-edit"> {{ "Carnet de voyage"|trans }} </h2>
  8.             {% endif %}
  9.         </div>
  10.         {% set index=1 %}
  11.         <ul class="cbp_tmtimeline description-programme-edit">
  12.             {% for description in details.descriptionsNonLateral %}
  13.                 {% if description.type.libelle=="Programme" %}
  14.                     <li class="description-programme-list-edit">
  15.                         <div class="cbp_tmicon">
  16.                             {{ index }}
  17.                         </div>
  18.                         <div class="cbp_tmlabel">
  19.                             {% if description.photo!=null %}
  20.                                 <div class="hidden-xs">
  21.                                     <img src="{{ description.photo }}" alt="" class="img-circle thumb_visit">
  22.                                 </div>
  23.                             {% endif %}
  24.                             <h4 class="description-libelle-edit">{{ description.libelle }}</h4>
  25.                             <div>
  26.                                 <p class="description-paragraphe-edit">{{ description.texte |raw }}</p>
  27.                             </div>
  28.                         </div>
  29.                     </li>
  30.                     {% set index=index+1 %}
  31.                 {% endif %}
  32.             {% endfor %}
  33.         </ul>
  34.     </div>
  35. {% elseif configAffichage is defined and configAffichage!= null and configAffichage.VOYAGE.BLOC_CARNET is defined and configAffichage.VOYAGE.BLOC_CARNET ==3 %}
  36.     <div id="description3" class="property-description detail-block">
  37.         <div class="detail-title description-vo-detail-title-edit">
  38.             {% if type ==8 %}
  39.                 <h2 class="title-left description-vo-title-left-edit"> {{ "Carnet de l'événement"|trans }} </h2>
  40.             {% else %}
  41.                 <h2 class="title-left description-vo-title-left-edit"> {{ "Carnet de voyage"|trans }} </h2>
  42.             {% endif %}
  43.         </div>
  44.         <div class="panel ">
  45.             {% for description in details.descriptionsNonLateral %}
  46.                 {% if description.type.libelle=="Programme" %}
  47.                     <div class="card description-programme-edit">
  48.                         <div class="panel-heading">
  49.                             <div class="panel-title description-panel-title-edit">
  50.                                 <a data-toggle="collapse" data-parent="#"
  51.                                    href="#{{ loop.index }} " {% if loop.first %} class="collapsed" {% endif %}>
  52.                                     <div class="itinerary-header description-itinerary-header-edit">
  53.                                         <h4 class="description-itinerary-h4-edit">{{ description.libelle }}</h4>
  54.                                     </div>
  55.                                 </a>
  56.                             </div>
  57.                         </div>
  58.                         <div id="{{ loop.index }}"
  59.                              class="panel-collapse collapse  {% if loop.first %} in {% endif %}  ">
  60.                             <div class="panel-body card-body">
  61.                                 {% if description.photo!=null %}
  62.                                     <div class="mr-4"><img src="{{ description.photo }}"></div>
  63.                                 {% endif %}
  64.                                 <p class="font-lg description-itinerary-paragraphe-edit"> {{ description.texte |raw }}</p>
  65.                             </div>
  66.                         </div>
  67.                     </div>
  68.                 {% endif %}
  69.             {% endfor %}
  70.         </div>
  71.     </div>
  72. {% else %}
  73.     {% if details.descriptionsNonLateral is defined and details.descriptionsNonLateral is not null and details.descriptionsNonLateral|length>0 %}
  74.         <div id="description" class="property-description detail-block e">
  75.             <div class="detail-title description-vo-detail-title-edit">
  76.                 {% if type ==8 %}
  77.                     <h2 class="title-left description-vo-title-left-edit"> {{ "Carnet de l'événement"|trans }} </h2>
  78.                 {% else %}
  79.                     <h2 class="title-left description-vo-title-left-edit"> {{ "Carnet de voyage"|trans }} </h2>
  80.                 {% endif %}
  81.             </div>
  82.             {% set index=1 %}
  83.             <ul class="cbp_tmtimeline description-programme-edit">
  84.                 {% for description in details.descriptionsNonLateral %}
  85.                     {% if description.type.libelle=="Programme" %}
  86.                         <li class="description-programme-list-edit">
  87.                             <div class="cbp_tmicon">
  88.                                 {{ index }}
  89.                             </div>
  90.                             <div class="cbp_tmlabel">
  91.                                 {#{{ description.photo|split('.')|last  }}#}
  92.                                 {% if description.photo!=null %}
  93.                                     <div class="hidden-xs">
  94.                                         <img src="{{ description.photo }}" alt="" class="img-circle thumb_visit">
  95.                                     </div>
  96.                                 {% endif %}
  97.                                 <h4 class="description-libelle-edit">{{ description.libelle }}</h4>
  98.                                 <div>
  99.                                     <p class="description-itinerary-paragraphe-edit">{{ description.texte |raw }}</p>
  100.                                 </div>
  101.                             </div>
  102.                         </li>
  103.                         {% set index=index+1 %}
  104.                     {% endif %}
  105.                 {% endfor %}
  106.             </ul>
  107.         </div>
  108.     {% endif %}
  109. {% endif %}
  110. {% if details.active  and details.PERIODES is not null and (details.PERIODES|length>0 or type == 8) %}
  111.     {% if  (type !=6)  or  ( type ==6 and configAffichage is defined and configAffichage!= null and configAffichage.VOYAGE.ADD_FORM_ROOM_PAX_DETAILS_OMRA !='oui') %}
  112.         <div id="tarifs" class="detail-block description-tarifs-edit">
  113.             {% if details.PERIODES|length > 0 %}
  114.                 <div class="detail-title">
  115.                     <h2 class="title-left">    {% if type ==8 %} {{ (details.titreEvenSansHebergement ? details.titreEvenSansHebergement : "Événement Sans Hébergement")|trans }} {% else %} {{ "Tarifs"|trans }} {% endif %}</h2>
  116.                 </div>
  117.                 <div class="row">
  118.                     {% if type_champ_periode == 'radio' %}
  119.                         {% if add_select_pack %}
  120.                             <div class="col-md-6 col-sm-12 col-xs-12 pull-right">
  121.                                 <div class="form-group">
  122.                                     <label class="control-label"> {{ "Pack"|trans }}</label>
  123.                                     {% for periode in details.PERIODES %}
  124.                                         {% for pack in periode.PACKS %}
  125.                                             <div>
  126.                                                 <label class="packs-{{ periode.id }} packs"
  127.                                                        style="{% if not loop.parent.loop.first %}display:none;{% else %}hidden{% endif %}">
  128.                                                     <input type="radio" name="packs" value="{{ pack.id }}"
  129.                                                            {% if loop.parent.loop.first and loop.first %}checked{% endif %}>
  130.                                                     {{ pack.libelle }}
  131.                                                 </label>
  132.                                             </div>
  133.                                         {% endfor %}
  134.                                     {% endfor %}
  135.                                 </div>
  136.                             </div>
  137.                         {% endif %}
  138.                         <div class="col-md-6 col-sm-12 col-xs-12 pull-right">
  139.                             <div class="form-group">
  140.                                 <label class="control-label"> {{ "Prochains #{type==8?'date':'départs'}"|trans }}</label>
  141.                                 {% for periode in details.PERIODES %}
  142.                                     <div>
  143.                                         <label>
  144.                                             <input type="radio" name="sel1" value="{{ periode.id }}"
  145.                                                     {% if (periode.nombreInscription >= periode.maxInscription or  periode.complet == true) and (type !=8 ) %} disabled {% endif %}
  146.                                                     {% if loop.first %}checked{% endif %}>
  147.                                             {% if configAffichage.VOYAGE.TEXT_SELECT_PERIODES == "libelle" %}
  148.                                                 {{ periode.libelle }}
  149.                                             {% elseif configAffichage.VOYAGE.TEXT_SELECT_PERIODES == "periode" %}
  150.                                                 {{ "du"|trans }}  {{ periode.du|date("d/m/Y") }} {{ "au"|trans }} {{ periode.au|date("d/m/Y") }}
  151.                                             {% elseif configAffichage.VOYAGE.TEXT_SELECT_PERIODES == "libelle-periode" %}
  152.                                                 {{ periode.libelle }} {{ "du"|trans }}  {{ periode.du|date("d/m/Y") }} {{ "au"|trans }} {{ periode.au|date("d/m/Y") }}
  153.                                             {% endif %}
  154.                                         </label>
  155.                                     </div>
  156.                                 {% endfor %}
  157.                             </div>
  158.                         </div>
  159.                     {% endif %}
  160.                     {% if type_champ_periode == 'select' %}
  161.                         {% if add_select_pack %}
  162.                             <div class="col-md-6 col-sm-12 col-xs-12 pull-right">
  163.                                 <div class="form-group">
  164.                                     <label class="control-label"> {{ "Pack"|trans }}</label>
  165.                                     <select class="form-control" id="packs" style=" width: 100%; ">
  166.                                         {% for periode in details.PERIODES %}
  167.                                             {% for pack in periode.PACKS %}
  168.                                                 <option class="packs-{{ periode.id }}"
  169.                                                         {% if not loop.parent.loop.first %}hidden{% endif %}
  170.                                                         value="{{ pack.id }}"
  171.                                                         {% if loop.parent.loop.first and loop.first %}selected{% endif %}>{{ pack.libelle }}
  172.                                                     {% if (periode.nombreInscription >= periode.maxInscription or  periode.complet == true) and (type !=8 ) %} disabled {% endif %}
  173.                                                 </option>
  174.                                             {% endfor %}
  175.                                         {% endfor %}
  176.                                     </select>
  177.                                 </div>
  178.                             </div>
  179.                         {% endif %}
  180.                         <div class="col-md-6 col-sm-12 col-xs-12 pull-right">
  181.                             <div class="form-group">
  182.                                 <label class="control-label"> {{ "Prochains #{type==8?'date':'départs'}"|trans }}</label>
  183.                                 <select class="form-control" id="sel1" style=" width: 100%; ">
  184.                                     {% for periode in details.PERIODES %}
  185.                                         <option value="{{ periode.id }}"
  186.                                                 {% if loop.first %}selected{% endif %}   {% if (periode.nombreInscription >= periode.maxInscription or  periode.complet == true) and (type !=8 ) %} disabled {% endif %}>
  187.                                             {% if configAffichage.VOYAGE.TEXT_SELECT_PERIODES == "libelle" %}
  188.                                                 {{ periode.libelle }} {{ periode.du|date("d/m/Y") }} {{ "au"|trans }} {{ periode.au|date("d/m/Y") }}{% if type != 8 %} ({{ periode.maxInscription - periode.nombreInscription }} Nbr places disponibles){% endif %}
  189.                                             {% elseif configAffichage.VOYAGE.TEXT_SELECT_PERIODES == "periode" %}
  190.                                                 {{ "du"|trans }}  {{ periode.du|date("d/m/Y") }} {{ "au"|trans }} {{ periode.au|date("d/m/Y") }}{% if type != 8 %} ({{ periode.maxInscription - periode.nombreInscription }} Nbr places disponibles){% endif %}
  191.                                             {% elseif configAffichage.VOYAGE.TEXT_SELECT_PERIODES == "libelle-periode" %}
  192.                                                 {{ periode.libelle }} {{ "du"|trans }}  {{ periode.du|date("d/m/Y") }} {{ "au"|trans }} {{ periode.au|date("d/m/Y") }}
  193.                                             {% endif %}
  194.                                         </option>
  195.                                     {% endfor %}
  196.                                 </select>
  197.                             </div>
  198.                         </div>
  199.                     {% endif %}
  200.                     <div class="col-md-12 col-sm-12 col-xs-12">
  201.                         <div class="avn-price-table avn-style15 avn-col-4">
  202.                             {% if details.PERIODES | length > 0 %}
  203.                                 {% for periode in details.PERIODES %}
  204.                                     {% if type == 8 %}
  205.                                         {% if type_champ_periode == 'select' %}
  206.                                             <div class="pack_item" id="p-{{ periode.id }}"
  207.                                                  style="{% if loop.first %}display:block;{% else %}display:none;{% endif %}">
  208.                                                 {% for packs in periode.PACKS|array_chunk(2) %}
  209.                                                     {% if not loop.first %}<br>{% endif %}
  210.                                                     <div class="avn-price-table avn-style15 avn-col-4">
  211.                                                         <!--items-->
  212.                                                         <div class="avn-items1">
  213.                                                             {% set pack = periode.PACKS[0] %}
  214.                                                             <style>
  215.                                                                 {% for order in ['single','double','triple','quadruple'] %}
  216.                                                                 ul#tarifs-pack-{{ pack.id }} li.{{ order }} {
  217.                                                                     order: {{ attribute( pack.orderChambres, order) }}
  218.                                                                 }
  219.                                                                 {% endfor %}
  220.                                                             </style>
  221.                                                             <ul class="tarifs-pack" id="tarifs-pack-{{ pack.id }}">
  222.                                                                 {% if pack.tarifs.single is defined and pack.tarifs.single is not null %}
  223.                                                                     <li class="font-front single">
  224.                                                                         <span> {{ pack.tarifs.single.name }} </span>
  225.                                                                     </li>
  226.                                                                 {% endif %}
  227.                                                                 {% if pack.tarifs.double is defined and pack.tarifs.double is not null %}
  228.                                                                     <li class="font-front double">
  229.                                                                         <span> {{ pack.tarifs.double.name }}  </span>
  230.                                                                     </li>
  231.                                                                 {% endif %}
  232.                                                                 {% if pack.tarifs.triple is defined and pack.tarifs.triple is not null %}
  233.                                                                     <li class="font-front triple">
  234.                                                                         <span> {{ pack.tarifs.triple.name }} </span>
  235.                                                                     </li>
  236.                                                                 {% endif %}
  237.                                                                 {% if pack.tarifs.quadruple is defined and pack.tarifs.quadruple is not null %}
  238.                                                                     <li class="font-front quadruple">
  239.                                                                         <span> {{ pack.tarifs.quadruple.name }} </span>
  240.                                                                     </li>
  241.                                                                 {% endif %}
  242.                                                                 {% if details.agesEnfant.minAge1 is not null and details.agesEnfant.maxAge1 is not null %}
  243.                                                                     <li class="font-front">
  244.                                                                         <span> {{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge1 }}  {{ "et"|trans }} {{ details.agesEnfant.maxAge1 }}  {{ "dans la chambre des parents"|trans }}</span>
  245.                                                                     </li>
  246.                                                                 {% endif %}
  247.                                                                 {% if details.agesEnfant.minAge2 is not null and details.agesEnfant.maxAge2 is not null %}
  248.                                                                     <li class="font-front">
  249.                                                                         <span>{{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge2 }} {{ "et"|trans }} {{ details.agesEnfant.maxAge2 }}  {{ "dans la chambre des parents"|trans }}</span>
  250.                                                                     </li>
  251.                                                                 {% endif %}
  252.                                                                 {% if details.agesEnfant.minAge1 is not null and details.agesEnfant.maxAge1 is not null %}
  253.                                                                     <li class="font-front">
  254.                                                                         <span>{{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge1 }} {{ "et"|trans }} {{ details.agesEnfant.maxAge1 }}  {{ "en chambre séparée"|trans }} </span>
  255.                                                                     </li>
  256.                                                                 {% endif %}
  257.                                                                 {% if details.agesEnfant.minAge2 is not null and details.agesEnfant.maxAge2 is not null %}
  258.                                                                     <li class="font-front">
  259.                                                                         <span>{{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge2 }} {{ "et"|trans }} {{ details.agesEnfant.maxAge2 }}  {{ "en chambre séparée"|trans }}</span>
  260.                                                                     </li>
  261.                                                                 {% endif %}
  262.                                                                 {% if pack.tarifs.bebe is defined and pack.tarifs.bebe is not null %}
  263.                                                                     <li class="font-front">
  264.                                                                         <span> {{ "Tarif bébé"|trans }}</span>
  265.                                                                     </li>
  266.                                                                 {% endif %}
  267.                                                             </ul>
  268.                                                         </div>
  269.                                                         <!--/items-->
  270.                                                         {% if add_select_pack %}
  271.                                                             <div class="avn-tables">
  272.                                                                 {% for pack in packs %}
  273.                                                                     <div id="periode{{ periode.id }}-pack{{ pack.id }}"
  274.                                                                          {% if not (loop.parent.loop.first and loop.first ) %}hidden{% endif %}
  275.                                                                          class="avn-table periode-pack">
  276.                                                                         <!--table header-->
  277.                                                                         <div class="header">
  278.                                                                             <!--package-->
  279.                                                                             <h4 class="package"
  280.                                                                                 title="{{ pack.libelle }}">{{ pack.libelle }} </h4>
  281.                                                                             <!--/package-->
  282.                                                                         </div>
  283.                                                                         <!--/table header-->
  284.                                                                         <!--table items-->
  285.                                                                         <div class="avn-items2">
  286.                                                                             <style>
  287.                                                                                 {% for order in ['single','double','triple','quadruple'] %}
  288.                                                                                 ul#tarifs-pack-{{ pack.id }} li.{{ order }} {
  289.                                                                                     order: {{ attribute( pack.orderChambres, order) }}
  290.                                                                                 }
  291.                                                                                 {% endfor %}
  292.                                                                             </style>
  293.                                                                             <ul class="tarifs-pack"
  294.                                                                                 id="tarifs-pack-{{ pack.id }}">
  295.                                                                                 {% if pack.tarifs.single is defined and pack.tarifs.single is not null %}
  296.                                                                                     <li class="font-front single">
  297.                                                                                         <span>  {{ pack.tarifs.single.name }}</span>
  298.                                                                                         {% if  pack.tarifs.single.vente > 0.000 %}
  299.                                                                                             {{ pack.tarifs.single.vente|devise }}
  300.                                                                                             <sup>{{ deviseSelected().symbole }} </sup>
  301.                                                                                         {% else %}
  302.                                                                                             {#  <i class="fa fa-close avn-icon-red"></i>#}
  303.                                                                                             {{ "sur demande"|trans }}
  304.                                                                                         {% endif %}
  305.                                                                                     </li>
  306.                                                                                 {% endif %}
  307.                                                                                 {% if pack.tarifs.double is defined and pack.tarifs.double is not null %}
  308.                                                                                     <li class="font-front double">
  309.                                                                                         <span> {{ pack.tarifs.double.name }} </span>
  310.                                                                                         {% if pack.tarifs.double.vente > 0.000 %}
  311.                                                                                             {{ pack.tarifs.double.vente|devise }}
  312.                                                                                             <sup>{{ deviseSelected().symbole }} </sup>
  313.                                                                                         {% else %}
  314.                                                                                             {{ "sur demande"|trans }}
  315.                                                                                         {% endif %}
  316.                                                                                     </li>
  317.                                                                                 {% endif %}
  318.                                                                                 {% if pack.tarifs.triple is defined and pack.tarifs.triple is not null %}
  319.                                                                                     <li class="font-front triple">
  320.                                                                                         <span> {{ pack.tarifs.triple.name }} </span>
  321.                                                                                         {% if pack.tarifs.triple.vente > 0.000 %}
  322.                                                                                             {{ pack.tarifs.triple.vente|devise }}
  323.                                                                                             <sup>{{ deviseSelected().symbole }} </sup>
  324.                                                                                         {% else %}
  325.                                                                                             {{ "sur demande"|trans }}
  326.                                                                                         {% endif %}
  327.                                                                                     </li>
  328.                                                                                 {% endif %}
  329.                                                                                 {% if pack.tarifs.quadruple is defined and pack.tarifs.quadruple is not null %}
  330.                                                                                     <li class="font-front quadruple">
  331.                                                                                         <span> {{ pack.tarifs.quadruple.name }} </span>
  332.                                                                                         {% if pack.tarifs.quadruple.vente > 0.000 %}
  333.                                                                                             {{ pack.tarifs.quadruple.vente|devise }}
  334.                                                                                             <sup>{{ deviseSelected().symbole }} </sup>
  335.                                                                                         {% else %}
  336.                                                                                             {{ "sur demande"|trans }}
  337.                                                                                         {% endif %}
  338.                                                                                     </li>
  339.                                                                                 {% endif %}
  340.                                                                                 {% if pack.tarifs.enfant1 is defined and pack.tarifs.enfant1 is not null and details.agesEnfant.minAge1 is not null and details.agesEnfant.maxAge1 is not null %}
  341.                                                                                     <li class="font-front">
  342.                                                                                         <span>  {{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge1 }}   {{ "et"|trans }} {{ details.agesEnfant.maxAge1 }} {{ "dans la chambre des parents" |trans }}</span>
  343.                                                                                         {% if pack.tarifs.enfant1.parent > 0.000 %}
  344.                                                                                             {{ pack.tarifs.enfant1.parent|devise }}
  345.                                                                                             <sup>{{ deviseSelected().symbole }} </sup>
  346.                                                                                         {% else %}
  347.                                                                                             {{ "sur demande"|trans }}
  348.                                                                                         {% endif %}
  349.                                                                                     </li>
  350.                                                                                 {% endif %}
  351.                                                                                 {% if pack.tarifs.enfant2 is defined and pack.tarifs.enfant2 is not null and details.agesEnfant.minAge2 is not null and details.agesEnfant.maxAge2 is not null %}
  352.                                                                                     <li class="font-front">
  353.                                                                                         <span>{{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge2 }}  {{ "et"|trans }} {{ details.agesEnfant.maxAge2 }}  {{ "dans la chambre des parents"|trans }}</span>
  354.                                                                                         {% if pack.tarifs.enfant2.parent > 0.000 %}
  355.                                                                                             {{ pack.tarifs.enfant2.parent|devise }}
  356.                                                                                             <sup>{{ deviseSelected().symbole }} </sup>
  357.                                                                                         {% else %}
  358.                                                                                             {{ "sur demande"|trans }}
  359.                                                                                         {% endif %}
  360.                                                                                     </li>
  361.                                                                                 {% endif %}
  362.                                                                                 {% if pack.tarifs.enfant1 is defined and pack.tarifs.enfant1 is not null and details.agesEnfant.minAge1 is not null and details.agesEnfant.maxAge1 is not null %}
  363.                                                                                     <li class="font-front">
  364.                                                                                         <span>{{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge1 }}  {{ "et"|trans }} {{ details.agesEnfant.maxAge1 }}  {{ "dans la chambre séparée"|trans }}</span>
  365.                                                                                         {% if pack.tarifs.enfant1.separer > 0.000 %}
  366.                                                                                             {{ pack.tarifs.enfant1.separer|devise }}
  367.                                                                                             <sup>{{ deviseSelected().symbole }} </sup>
  368.                                                                                         {% else %}
  369.                                                                                             {{ "sur demande"|trans }}
  370.                                                                                         {% endif %}
  371.                                                                                     </li>
  372.                                                                                 {% endif %}
  373.                                                                                 {% if pack.tarifs.enfant2 is defined and pack.tarifs.enfant2 is not null  and details.agesEnfant.minAge2 is not null and details.agesEnfant.maxAge2 is not null %}
  374.                                                                                     <li class="font-front">
  375.                                                                                         <span>{{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge2 }}  {{ "et"|trans }} {{ details.agesEnfant.maxAge2 }}  {{ "dans la chambre séparée"|trans }}</span>
  376.                                                                                         {% if pack.tarifs.enfant2.separer > 0.000 %}
  377.                                                                                             {{ pack.tarifs.enfant2.separer|devise }}
  378.                                                                                             <sup>{{ deviseSelected().symbole }} </sup>
  379.                                                                                         {% else %}
  380.                                                                                             {{ "sur demande"|trans }}
  381.                                                                                         {% endif %}
  382.                                                                                     </li>
  383.                                                                                 {% endif %}
  384.                                                                                 {% if pack.tarifs.bebe is defined and pack.tarifs.bebe is not null %}
  385.                                                                                     <li class="font-front">
  386.                                                                                         <span>  {{ "Tarif bébé"|trans }}</span>
  387.                                                                                         {% if pack.tarifs.bebe > 0.000 %}
  388.                                                                                             {{ pack.tarifs.bebe|devise }}
  389.                                                                                             <sup>{{ deviseSelected().symbole }} </sup>
  390.                                                                                         {% else %}
  391.                                                                                             {{ "sur demande"|trans }}
  392.                                                                                         {% endif %}
  393.                                                                                     </li>
  394.                                                                                 {% endif %}
  395.                                                                             </ul>
  396.                                                                         </div>
  397.                                                                         <!--/table items-->
  398.                                                                         <div class="avn-btn-main">
  399.                                                                             <!--table button-->
  400.                                                                             <a href='{{ path('reservation',{'slug':details.slug,'pack':pack.id,'periode':periode.id}) }}'
  401.                                                                                class="avn-btn">
  402.                                                                                 <i class="ion-ios-cart"></i>
  403.                                                                                 {{ "Réserver"|trans }}
  404.                                                                             </a>
  405.                                                                             <!--/table button-->
  406.                                                                         </div>
  407.                                                                     </div>
  408.                                                                 {% endfor %}
  409.                                                             </div>
  410.                                                         {% else %}
  411.                                                             <div class="avn-tables">
  412.                                                                 {% for pack in packs %}
  413.                                                                     <!--table-->
  414.                                                                     <div class="avn-table">
  415.                                                                         <!--table header-->
  416.                                                                         <div class="header">
  417.                                                                             <!--package-->
  418.                                                                             <h4 class="package"
  419.                                                                                 title="{{ pack.libelle }}">{{ pack.libelle }} </h4>
  420.                                                                             <!--/package-->
  421.                                                                         </div>
  422.                                                                         <!--/table header-->
  423.                                                                         <!--table items-->
  424.                                                                         <div class="avn-items2">
  425.                                                                             <style>
  426.                                                                                 {% for order in ['single','double','triple','quadruple'] %}
  427.                                                                                 ul#tarifs-pack-{{ pack.id }} li.{{ order }} {
  428.                                                                                     order: {{ attribute( pack.orderChambres, order) }}
  429.                                                                                 }
  430.                                                                                 {% endfor %}
  431.                                                                             </style>
  432.                                                                             <ul class="tarifs-pack"
  433.                                                                                 id="tarifs-pack-{{ pack.id }}">
  434.                                                                                 {% if pack.tarifs.single is defined and pack.tarifs.single is not null %}
  435.                                                                                     <li class="font-front single">
  436.                                                                                         <span> {{ pack.tarifs.single.name }}</span>
  437.                                                                                         {% if  pack.tarifs.single.vente > 0.000 %}
  438.                                                                                             {{ pack.tarifs.single.vente|devise }}
  439.                                                                                             <sup>{{ deviseSelected().symbole }} </sup>
  440.                                                                                         {% else %}
  441.                                                                                             {#  <i class="fa fa-close avn-icon-red"></i>#}
  442.                                                                                             {{ "sur demande"|trans }}
  443.                                                                                         {% endif %}
  444.                                                                                     </li>
  445.                                                                                 {% endif %}
  446.                                                                                 {% if pack.tarifs.double is defined and pack.tarifs.double is not null %}
  447.                                                                                     <li class="font-front double">
  448.                                                                                         <span> {{ pack.tarifs.double.name }} </span>
  449.                                                                                         {% if pack.tarifs.double.vente > 0.000 %}
  450.                                                                                             {{ pack.tarifs.double.vente|devise }}
  451.                                                                                             <sup>{{ deviseSelected().symbole }} </sup>
  452.                                                                                         {% else %}
  453.                                                                                             {{ "sur demande"|trans }}
  454.                                                                                         {% endif %}
  455.                                                                                     </li>
  456.                                                                                 {% endif %}
  457.                                                                                 {% if pack.tarifs.triple is defined and pack.tarifs.triple is not null %}
  458.                                                                                     <li class="font-front triple">
  459.                                                                                         <span>  {{ pack.tarifs.triple.name }} </span>
  460.                                                                                         {% if pack.tarifs.triple.vente > 0.000 %}
  461.                                                                                             {{ pack.tarifs.triple.vente|devise }}
  462.                                                                                             <sup>{{ deviseSelected().symbole }} </sup>
  463.                                                                                         {% else %}
  464.                                                                                             {{ "sur demande"|trans }}
  465.                                                                                         {% endif %}
  466.                                                                                     </li>
  467.                                                                                 {% endif %}
  468.                                                                                 {% if pack.tarifs.quadruple is defined and pack.tarifs.quadruple is not null %}
  469.                                                                                     <li class="font-front quadruple">
  470.                                                                                         <span> {{ pack.tarifs.quadruple.name }} </span>
  471.                                                                                         {% if pack.tarifs.quadruple.vente > 0.000 %}
  472.                                                                                             {{ pack.tarifs.quadruple.vente|devise }}
  473.                                                                                             <sup>{{ deviseSelected().symbole }} </sup>
  474.                                                                                         {% else %}
  475.                                                                                             {{ "sur demande"|trans }}
  476.                                                                                         {% endif %}
  477.                                                                                     </li>
  478.                                                                                 {% endif %}
  479.                                                                                 {% if pack.tarifs.enfant1 is defined and pack.tarifs.enfant1 is not null and details.agesEnfant.minAge1 is not null and details.agesEnfant.maxAge1 is not null %}
  480.                                                                                     <li class="font-front">
  481.                                                                                         <span>  {{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge1 }}   {{ "et"|trans }} {{ details.agesEnfant.maxAge1 }} {{ "dans la chambre des parents" |trans }}</span>
  482.                                                                                         {% if pack.tarifs.enfant1.parent > 0.000 %}
  483.                                                                                             {{ pack.tarifs.enfant1.parent|devise }}
  484.                                                                                             <sup>{{ deviseSelected().symbole }} </sup>
  485.                                                                                         {% else %}
  486.                                                                                             {{ "sur demande"|trans }}
  487.                                                                                         {% endif %}
  488.                                                                                     </li>
  489.                                                                                 {% endif %}
  490.                                                                                 {% if pack.tarifs.enfant2 is defined and pack.tarifs.enfant2 is not null and details.agesEnfant.minAge2 is not null and details.agesEnfant.maxAge2 is not null %}
  491.                                                                                     <li class="font-front">
  492.                                                                                         <span>{{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge2 }}  {{ "et"|trans }} {{ details.agesEnfant.maxAge2 }}  {{ "dans la chambre des parents"|trans }}</span>
  493.                                                                                         {% if pack.tarifs.enfant2.parent > 0.000 %}
  494.                                                                                             {{ pack.tarifs.enfant2.parent|devise }}
  495.                                                                                             <sup>{{ deviseSelected().symbole }} </sup>
  496.                                                                                         {% else %}
  497.                                                                                             {{ "sur demande"|trans }}
  498.                                                                                         {% endif %}
  499.                                                                                     </li>
  500.                                                                                 {% endif %}
  501.                                                                                 {% if pack.tarifs.enfant1 is defined and pack.tarifs.enfant1 is not null and details.agesEnfant.minAge1 is not null and details.agesEnfant.maxAge1 is not null %}
  502.                                                                                     <li class="font-front">
  503.                                                                                         <span>{{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge1 }}  {{ "et"|trans }} {{ details.agesEnfant.maxAge1 }}  {{ "dans la chambre séparée"|trans }}</span>
  504.                                                                                         {% if pack.tarifs.enfant1.separer > 0.000 %}
  505.                                                                                             {{ pack.tarifs.enfant1.separer|devise }}
  506.                                                                                             <sup>{{ deviseSelected().symbole }} </sup>
  507.                                                                                         {% else %}
  508.                                                                                             {{ "sur demande"|trans }}
  509.                                                                                         {% endif %}
  510.                                                                                     </li>
  511.                                                                                 {% endif %}
  512.                                                                                 {% if pack.tarifs.enfant2 is defined and pack.tarifs.enfant2 is not null  and details.agesEnfant.minAge2 is not null and details.agesEnfant.maxAge2 is not null %}
  513.                                                                                     <li class="font-front">
  514.                                                                                         <span>{{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge2 }}  {{ "et"|trans }} {{ details.agesEnfant.maxAge2 }}  {{ "dans la chambre séparée"|trans }}</span>
  515.                                                                                         {% if pack.tarifs.enfant2.separer > 0.000 %}
  516.                                                                                             {{ pack.tarifs.enfant2.separer|devise }}
  517.                                                                                             <sup>{{ deviseSelected().symbole }} </sup>
  518.                                                                                         {% else %}
  519.                                                                                             {{ "sur demande"|trans }}
  520.                                                                                         {% endif %}
  521.                                                                                     </li>
  522.                                                                                 {% endif %}
  523.                                                                                 {% if pack.tarifs.bebe is defined and pack.tarifs.bebe is not null %}
  524.                                                                                     <li class="font-front">
  525.                                                                                         <span>  {{ "Tarif bébé"|trans }}</span>
  526.                                                                                         {% if pack.tarifs.bebe > 0.000 %}
  527.                                                                                             {{ pack.tarifs.bebe|devise }}
  528.                                                                                             <sup>{{ deviseSelected().symbole }} </sup>
  529.                                                                                         {% else %}
  530.                                                                                             {{ "sur demande"|trans }}
  531.                                                                                         {% endif %}
  532.                                                                                     </li>
  533.                                                                                 {% endif %}
  534.                                                                             </ul>
  535.                                                                         </div>
  536.                                                                         <!--/table items-->
  537.                                                                         <div class="avn-btn-main">
  538.                                                                             <!--table button-->
  539.                                                                             {% if (periode.nombreInscription >= periode.maxInscription or  periode.complet == true) and (type !=8 ) %}
  540.                                                                             {% else %}
  541.                                                                                 {% if pack.complet is defined and pack.complet == true %}
  542.                                                                                     <a href='{{ path('reservation',{'slug':details.slug,'pack':pack.id,'periode':periode.id}) }}'
  543.                                                                                        class="avn-btn disabled">
  544.                                                                                         <i class="ion-ios-cart"></i>
  545.                                                                                         {{ "Complet"|trans }}
  546.                                                                                     </a>
  547.                                                                                 {% else %}
  548.                                                                                     <a href='{{ path('reservation',{'slug':details.slug,'pack':pack.id,'periode':periode.id}) }}'
  549.                                                                                        class="avn-btn">
  550.                                                                                         <i class="ion-ios-cart"></i>
  551.                                                                                         {{ "Réserver"|trans }}
  552.                                                                                     </a>
  553.                                                                                 {% endif %}
  554.                                                                             {% endif %}
  555.                                                                             <!--/table button-->
  556.                                                                         </div>
  557.                                                                     </div>
  558.                                                                     <!--/table-->
  559.                                                                 {% endfor %}
  560.                                                             </div>
  561.                                                         {% endif %}
  562.                                                     </div>
  563.                                                 {% endfor %}
  564.                                             </div>
  565.                                         {% else %}
  566.                                             <div class="pack_item" id="p-{{ periode.id }}"
  567.                                                  style="{% if loop.first %}display:block;{% else %}display:none;{% endif %}">
  568.                                                 <div class="avn-price-table avn-style15 avn-col-4">
  569.                                                     {#{% set pack = periode.PACKS[0] %}#}
  570.                                                     {% for pack in periode.PACKS %}
  571.                                                         {# {{ dump(pack) }}#}
  572.                                                         <div id="periode{{ periode.id }}-pack{{ pack.id }}"
  573.                                                              style="{% if not (loop.parent.loop.first and loop.first ) %}display:none;hidden{% endif %}"
  574.                                                              class="avn-table periode-pack">
  575.                                                             <!--table header-->
  576.                                                             <!--table items-->
  577.                                                             <div class="avn-price-table avn-style15 avn-col-4">
  578.                                                                 <div class="avn-items1">
  579.                                                                     <ul>
  580.                                                                         {% if pack.tarifs.single is defined and pack.tarifs.single is not null %}
  581.                                                                             <li class="font-front">
  582.                                                                                 <span>  {{ pack.tarifs.single.name }}</span>
  583.                                                                             </li>
  584.                                                                         {% endif %}
  585.                                                                         {% if pack.tarifs.double is defined and pack.tarifs.double is not null %}
  586.                                                                             <li class="font-front ">
  587.                                                                                 <span> {{ pack.tarifs.double.name }} </span>
  588.                                                                             </li>
  589.                                                                         {% endif %}
  590.                                                                         {% if pack.tarifs.triple is defined and pack.tarifs.triple is not null %}
  591.                                                                             <li class="font-front ">
  592.                                                                                 <span> {{ pack.tarifs.triple.name }} </span>
  593.                                                                             </li>
  594.                                                                         {% endif %}
  595.                                                                         {% if pack.tarifs.quadruple is defined and pack.tarifs.quadruple is not null %}
  596.                                                                             <li class="font-front ">
  597.                                                                                 <span> {{ pack.tarifs.quadruple.name }} </span>
  598.                                                                             </li>
  599.                                                                         {% endif %}
  600.                                                                         {% if pack.tarifs.enfant1 is defined and pack.tarifs.enfant1 is not null and details.agesEnfant.minAge1 is not null and details.agesEnfant.maxAge1 is not null %}
  601.                                                                             <li class="font-front">
  602.                                                                                 <span>  {{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge1 }}   {{ "et"|trans }} {{ details.agesEnfant.maxAge1 }} {{ "dans la chambre des parents" |trans }}</span>
  603.                                                                             </li>
  604.                                                                         {% endif %}
  605.                                                                         {% if pack.tarifs.enfant2 is defined and pack.tarifs.enfant2 is not null and details.agesEnfant.minAge2 is not null and details.agesEnfant.maxAge2 is not null %}
  606.                                                                             <li class="font-front">
  607.                                                                                 <span>{{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge2 }}  {{ "et"|trans }} {{ details.agesEnfant.maxAge2 }}  {{ "dans la chambre des parents"|trans }}</span>
  608.                                                                             </li>
  609.                                                                         {% endif %}
  610.                                                                         {% if pack.tarifs.enfant1 is defined and pack.tarifs.enfant1 is not null and details.agesEnfant.minAge1 is not null and details.agesEnfant.maxAge1 is not null %}
  611.                                                                             <li class="font-front">
  612.                                                                                 <span>{{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge1 }}  {{ "et"|trans }} {{ details.agesEnfant.maxAge1 }}  {{ "dans la chambre séparée"|trans }}</span>
  613.                                                                             </li>
  614.                                                                         {% endif %}
  615.                                                                         {% if pack.tarifs.enfant2 is defined and pack.tarifs.enfant2 is not null  and details.agesEnfant.minAge2 is not null and details.agesEnfant.maxAge2 is not null %}
  616.                                                                             <li class="font-front">
  617.                                                                                 <span>{{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge2 }}  {{ "et"|trans }} {{ details.agesEnfant.maxAge2 }}  {{ "dans la chambre séparée"|trans }}</span>
  618.                                                                             </li>
  619.                                                                         {% endif %}
  620.                                                                         {% if pack.tarifs.bebe is defined and pack.tarifs.bebe is not null %}
  621.                                                                             <li class="font-front">
  622.                                                                                 <span>  {{ "Tarif bébé"|trans }}</span>
  623.                                                                             </li>
  624.                                                                         {% endif %}
  625.                                                                     </ul>
  626.                                                                 </div>
  627.                                                                 <!--/table items-->
  628.                                                             </div>
  629.                                                         </div>
  630.                                                     {% endfor %}
  631.                                                     <!--/items-->
  632.                                                     {% if add_select_pack %}
  633.                                                         <div class="avn-tables">
  634.                                                             {% for pack in periode.PACKS %}
  635.                                                                 <div id="periode{{ periode.id }}-pack{{ pack.id }}"
  636.                                                                      style="{% if not (loop.parent.loop.first and loop.first ) %}display:none;hidden{% endif %}"
  637.                                                                      class="avn-table periode-pack">
  638.                                                                     <!--table header-->
  639.                                                                     <div class="header">
  640.                                                                         <!--package-->
  641.                                                                         <h4 class="package"
  642.                                                                             title="{{ pack.libelle }}">{{ pack.libelle }} </h4>
  643.                                                                         <!--/package-->
  644.                                                                     </div>
  645.                                                                     <!--/table header-->
  646.                                                                     <!--table items-->
  647.                                                                     <div class="avn-items2">
  648.                                                                         <ul>
  649.                                                                             {% if pack.tarifs.single is defined and pack.tarifs.single is not null %}
  650.                                                                                 <li class="font-front">
  651.                                                                                     <span>  {{ pack.tarifs.single.name }}</span>
  652.                                                                                     {% if  pack.tarifs.single.vente > 0.000 %}
  653.                                                                                         {{ pack.tarifs.single.vente|devise }}
  654.                                                                                         <sup>{{ deviseSelected().symbole }} </sup>
  655.                                                                                     {% else %}
  656.                                                                                         {{ "sur demande"|trans }}
  657.                                                                                     {% endif %}
  658.                                                                                 </li>
  659.                                                                             {% endif %}
  660.                                                                             {% if pack.tarifs.double is defined and pack.tarifs.double is not null %}
  661.                                                                                 <li class="font-front ">
  662.                                                                                     <span> {{ pack.tarifs.double.name }} </span>
  663.                                                                                     {% if pack.tarifs.double.vente > 0.000 %}
  664.                                                                                         {{ pack.tarifs.double.vente|devise }}
  665.                                                                                         <sup>{{ deviseSelected().symbole }} </sup>
  666.                                                                                     {% else %}
  667.                                                                                         {{ "sur demande"|trans }}
  668.                                                                                     {% endif %}
  669.                                                                                 </li>
  670.                                                                             {% endif %}
  671.                                                                             {% if pack.tarifs.triple is defined and pack.tarifs.triple is not null %}
  672.                                                                                 <li class="font-front ">
  673.                                                                                     <span> {{ pack.tarifs.triple.name }} </span>
  674.                                                                                     {% if pack.tarifs.triple.vente > 0.000 %}
  675.                                                                                         {{ pack.tarifs.triple.vente|devise }}
  676.                                                                                         <sup>{{ deviseSelected().symbole }} </sup>
  677.                                                                                     {% else %}
  678.                                                                                         {{ "sur demande"|trans }}
  679.                                                                                     {% endif %}
  680.                                                                                 </li>
  681.                                                                             {% endif %}
  682.                                                                             {% if pack.tarifs.quadruple is defined and pack.tarifs.quadruple is not null %}
  683.                                                                                 <li class="font-front ">
  684.                                                                                     <span> {{ pack.tarifs.quadruple.name }} </span>
  685.                                                                                     {% if pack.tarifs.quadruple.vente > 0.000 %}
  686.                                                                                         {{ pack.tarifs.quadruple.vente|devise }}
  687.                                                                                         <sup>{{ deviseSelected().symbole }} </sup>
  688.                                                                                     {% else %}
  689.                                                                                         {{ "sur demande"|trans }}
  690.                                                                                     {% endif %}
  691.                                                                                 </li>
  692.                                                                             {% endif %}
  693.                                                                             {% if pack.tarifs.enfant1 is defined and pack.tarifs.enfant1 is not null and details.agesEnfant.minAge1 is not null and details.agesEnfant.maxAge1 is not null %}
  694.                                                                                 <li class="font-front">
  695.                                                                                     <span>  {{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge1 }}   {{ "et"|trans }} {{ details.agesEnfant.maxAge1 }} {{ "dans la chambre des parents" |trans }}</span>
  696.                                                                                     {% if pack.tarifs.enfant1.parent > 0.000 %}
  697.                                                                                         {{ pack.tarifs.enfant1.parent|devise }}
  698.                                                                                         <sup>{{ deviseSelected().symbole }} </sup>
  699.                                                                                     {% else %}
  700.                                                                                         {{ "sur demande"|trans }}
  701.                                                                                     {% endif %}
  702.                                                                                 </li>
  703.                                                                             {% endif %}
  704.                                                                             {% if pack.tarifs.enfant2 is defined and pack.tarifs.enfant2 is not null and details.agesEnfant.minAge2 is not null and details.agesEnfant.maxAge2 is not null %}
  705.                                                                                 <li class="font-front">
  706.                                                                                     <span>{{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge2 }}  {{ "et"|trans }} {{ details.agesEnfant.maxAge2 }}  {{ "dans la chambre des parents"|trans }}</span>
  707.                                                                                     {% if pack.tarifs.enfant2.parent > 0.000 %}
  708.                                                                                         {{ pack.tarifs.enfant2.parent|devise }}
  709.                                                                                         <sup>{{ deviseSelected().symbole }} </sup>
  710.                                                                                     {% else %}
  711.                                                                                         {{ "sur demande"|trans }}
  712.                                                                                     {% endif %}
  713.                                                                                 </li>
  714.                                                                             {% endif %}
  715.                                                                             {% if pack.tarifs.enfant1 is defined and pack.tarifs.enfant1 is not null and details.agesEnfant.minAge1 is not null and details.agesEnfant.maxAge1 is not null %}
  716.                                                                                 <li class="font-front">
  717.                                                                                     <span>{{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge1 }}  {{ "et"|trans }} {{ details.agesEnfant.maxAge1 }}  {{ "dans la chambre séparée"|trans }}</span>
  718.                                                                                     {% if pack.tarifs.enfant1.separer > 0.000 %}
  719.                                                                                         {{ pack.tarifs.enfant1.separer|devise }}
  720.                                                                                         <sup>{{ deviseSelected().symbole }} </sup>
  721.                                                                                     {% else %}
  722.                                                                                         {{ "sur demande"|trans }}
  723.                                                                                     {% endif %}
  724.                                                                                 </li>
  725.                                                                             {% endif %}
  726.                                                                             {% if pack.tarifs.enfant2 is defined and pack.tarifs.enfant2 is not null  and details.agesEnfant.minAge2 is not null and details.agesEnfant.maxAge2 is not null %}
  727.                                                                                 <li class="font-front">
  728.                                                                                     <span>{{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge2 }}  {{ "et"|trans }} {{ details.agesEnfant.maxAge2 }}  {{ "dans la chambre séparée"|trans }}</span>
  729.                                                                                     {% if pack.tarifs.enfant2.separer > 0.000 %}
  730.                                                                                         {{ pack.tarifs.enfant2.separer|devise }}
  731.                                                                                         <sup>{{ deviseSelected().symbole }} </sup>
  732.                                                                                     {% else %}
  733.                                                                                         {{ "sur demande"|trans }}
  734.                                                                                     {% endif %}
  735.                                                                                 </li>
  736.                                                                             {% endif %}
  737.                                                                             {% if pack.tarifs.bebe is defined and pack.tarifs.bebe is not null %}
  738.                                                                                 <li class="font-front">
  739.                                                                                     <span>  {{ "Tarif bébé"|trans }}</span>
  740.                                                                                     {% if pack.tarifs.bebe > 0.000 %}
  741.                                                                                         {{ pack.tarifs.bebe|devise }}
  742.                                                                                         <sup>{{ deviseSelected().symbole }} </sup>
  743.                                                                                     {% else %}
  744.                                                                                         {{ "sur demande"|trans }}
  745.                                                                                     {% endif %}
  746.                                                                                 </li>
  747.                                                                             {% endif %}
  748.                                                                         </ul>
  749.                                                                     </div>
  750.                                                                     <!--/table items-->
  751.                                                                     <div class="avn-btn-main">
  752.                                                                         <!--table button-->
  753.                                                                         {% if (periode.nombreInscription >= periode.maxInscription or  periode.complet == true) and (type !=8 ) %}
  754.                                                                         {% else %}
  755.                                                                             {% if pack.complet is defined and pack.complet == true %}
  756.                                                                                 <a href='{{ path('reservation',{'slug':details.slug,'pack':pack.id,'periode':periode.id}) }}'
  757.                                                                                    class="avn-btn disabled">
  758.                                                                                     <i class="ion-ios-cart"></i>
  759.                                                                                     {{ "Complet"|trans }}
  760.                                                                                 </a>
  761.                                                                             {% else %}
  762.                                                                                 <a href='{{ path('reservation',{'slug':details.slug,'pack':pack.id,'periode':periode.id}) }}'
  763.                                                                                    class="avn-btn">
  764.                                                                                     <i class="ion-ios-cart"></i>
  765.                                                                                     {{ "Réserver"|trans }}
  766.                                                                                 </a>
  767.                                                                             {% endif %}
  768.                                                                         {% endif %}
  769.                                                                         <!--/table button-->
  770.                                                                     </div>
  771.                                                                 </div>
  772.                                                             {% endfor %}
  773.                                                         </div>
  774.                                                     {% else %}
  775.                                                         <div class="avn-tables">
  776.                                                             {% for pack in  periode.PACKS %}
  777.                                                                 <!--table-->
  778.                                                                 <div class="avn-table">
  779.                                                                     <!--table header-->
  780.                                                                     <div class="header">
  781.                                                                         <!--package-->
  782.                                                                         <h4 class="package"
  783.                                                                             title="{{ pack.libelle }}">{{ pack.libelle }} </h4>
  784.                                                                         <!--/package-->
  785.                                                                     </div>
  786.                                                                     <!--/table header-->
  787.                                                                     <!--table items-->
  788.                                                                     <div class="avn-items2">
  789.                                                                         <ul class="tarifs-pack"
  790.                                                                             id="tarifs-pack-{{ pack.id }}">
  791.                                                                             {% if pack.tarifs.single is defined and pack.tarifs.single is not null %}
  792.                                                                                 <li class="font-front single">
  793.                                                                                     <span> {{ pack.tarifs.single.name }}</span>
  794.                                                                                     {% if  pack.tarifs.single.vente > 0.000 %}
  795.                                                                                         {{ pack.tarifs.single.vente|devise }}
  796.                                                                                         <sup>{{ deviseSelected().symbole }} </sup>
  797.                                                                                     {% else %}
  798.                                                                                         {{ "sur demande"|trans }}
  799.                                                                                     {% endif %}
  800.                                                                                 </li>
  801.                                                                             {% endif %}
  802.                                                                             {% if pack.tarifs.double is defined and pack.tarifs.double is not null %}
  803.                                                                                 <li class="font-front double">
  804.                                                                                     <span> {{ pack.tarifs.double.name }} </span>
  805.                                                                                     {% if pack.tarifs.double.vente > 0.000 %}
  806.                                                                                         {{ pack.tarifs.double.vente|devise }}
  807.                                                                                         <sup>{{ deviseSelected().symbole }} </sup>
  808.                                                                                     {% else %}
  809.                                                                                         {{ "sur demande"|trans }}
  810.                                                                                     {% endif %}
  811.                                                                                 </li>
  812.                                                                             {% endif %}
  813.                                                                             {% if pack.tarifs.triple is defined and pack.tarifs.triple is not null %}
  814.                                                                                 <li class="font-front triple">
  815.                                                                                     <span>  {{ pack.tarifs.triple.name }} </span>
  816.                                                                                     {% if pack.tarifs.triple.vente > 0.000 %}
  817.                                                                                         {{ pack.tarifs.triple.vente|devise }}
  818.                                                                                         <sup>{{ deviseSelected().symbole }} </sup>
  819.                                                                                     {% else %}
  820.                                                                                         {{ "sur demande"|trans }}
  821.                                                                                     {% endif %}
  822.                                                                                 </li>
  823.                                                                             {% endif %}
  824.                                                                             {% if pack.tarifs.quadruple is defined and pack.tarifs.quadruple is not null %}
  825.                                                                                 <li class="font-front quadruple">
  826.                                                                                     <span> {{ pack.tarifs.quadruple.name }} </span>
  827.                                                                                     {% if pack.tarifs.quadruple.vente > 0.000 %}
  828.                                                                                         {{ pack.tarifs.quadruple.vente|devise }}
  829.                                                                                         <sup>{{ deviseSelected().symbole }} </sup>
  830.                                                                                     {% else %}
  831.                                                                                         {{ "sur demande"|trans }}
  832.                                                                                     {% endif %}
  833.                                                                                 </li>
  834.                                                                             {% endif %}
  835.                                                                             {% if pack.tarifs.enfant1 is defined and pack.tarifs.enfant1 is not null and details.agesEnfant.minAge1 is not null and details.agesEnfant.maxAge1 is not null %}
  836.                                                                                 <li class="font-front">
  837.                                                                                     <span>  {{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge1 }}   {{ "et"|trans }} {{ details.agesEnfant.maxAge1 }} {{ "dans la chambre des parents" |trans }}</span>
  838.                                                                                     {% if pack.tarifs.enfant1.parent > 0.000 %}
  839.                                                                                         {{ pack.tarifs.enfant1.parent|devise }}
  840.                                                                                         <sup>{{ deviseSelected().symbole }} </sup>
  841.                                                                                     {% else %}
  842.                                                                                         {{ "sur demande"|trans }}
  843.                                                                                     {% endif %}
  844.                                                                                 </li>
  845.                                                                             {% endif %}
  846.                                                                             {% if pack.tarifs.enfant2 is defined and pack.tarifs.enfant2 is not null and details.agesEnfant.minAge2 is not null and details.agesEnfant.maxAge2 is not null %}
  847.                                                                                 <li class="font-front">
  848.                                                                                     <span>{{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge2 }}  {{ "et"|trans }} {{ details.agesEnfant.maxAge2 }}  {{ "dans la chambre des parents"|trans }}</span>
  849.                                                                                     {% if pack.tarifs.enfant2.parent > 0.000 %}
  850.                                                                                         {{ pack.tarifs.enfant2.parent|devise }}
  851.                                                                                         <sup>{{ deviseSelected().symbole }} </sup>
  852.                                                                                     {% else %}
  853.                                                                                         {{ "sur demande"|trans }}
  854.                                                                                     {% endif %}
  855.                                                                                 </li>
  856.                                                                             {% endif %}
  857.                                                                             {% if pack.tarifs.enfant1 is defined and pack.tarifs.enfant1 is not null and details.agesEnfant.minAge1 is not null and details.agesEnfant.maxAge1 is not null %}
  858.                                                                                 <li class="font-front">
  859.                                                                                     <span>{{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge1 }}  {{ "et"|trans }} {{ details.agesEnfant.maxAge1 }}  {{ "dans la chambre séparée"|trans }}</span>
  860.                                                                                     {% if pack.tarifs.enfant1.separer > 0.000 %}
  861.                                                                                         {{ pack.tarifs.enfant1.separer|devise }}
  862.                                                                                         <sup>{{ deviseSelected().symbole }} </sup>
  863.                                                                                     {% else %}
  864.                                                                                         {{ "sur demande"|trans }}
  865.                                                                                     {% endif %}
  866.                                                                                 </li>
  867.                                                                             {% endif %}
  868.                                                                             {% if pack.tarifs.enfant2 is defined and pack.tarifs.enfant2 is not null  and details.agesEnfant.minAge2 is not null and details.agesEnfant.maxAge2 is not null %}
  869.                                                                                 <li class="font-front">
  870.                                                                                     <span>{{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge2 }}  {{ "et"|trans }} {{ details.agesEnfant.maxAge2 }}  {{ "dans la chambre séparée"|trans }}</span>
  871.                                                                                     {% if pack.tarifs.enfant2.separer > 0.000 %}
  872.                                                                                         {{ pack.tarifs.enfant2.separer|devise }}
  873.                                                                                         <sup>{{ deviseSelected().symbole }} </sup>
  874.                                                                                     {% else %}
  875.                                                                                         {{ "sur demande"|trans }}
  876.                                                                                     {% endif %}
  877.                                                                                 </li>
  878.                                                                             {% endif %}
  879.                                                                             {% if pack.tarifs.bebe is defined and pack.tarifs.bebe is not null %}
  880.                                                                                 <li class="font-front">
  881.                                                                                     <span>  {{ "Tarif bébé"|trans }}</span>
  882.                                                                                     {% if pack.tarifs.bebe > 0.000 %}
  883.                                                                                         {{ pack.tarifs.bebe|devise }}
  884.                                                                                         <sup>{{ deviseSelected().symbole }} </sup>
  885.                                                                                     {% else %}
  886.                                                                                         {{ "sur demande"|trans }}
  887.                                                                                     {% endif %}
  888.                                                                                 </li>
  889.                                                                             {% endif %}
  890.                                                                         </ul>
  891.                                                                     </div>
  892.                                                                     <!--/table items-->
  893.                                                                     <div class="avn-btn-main">
  894.                                                                         <!--table button-->
  895.                                                                         {% if (periode.nombreInscription >= periode.maxInscription or  periode.complet == true) and (type !=8 ) %}
  896.                                                                         {% else %}
  897.                                                                             {% if pack.complet is defined and pack.complet == true %}
  898.                                                                                 <a href='{{ path('reservation',{'slug':details.slug,'pack':pack.id,'periode':periode.id}) }}'
  899.                                                                                    class="avn-btn disabled">
  900.                                                                                     <i class="ion-ios-cart"></i>
  901.                                                                                     {{ "Complet"|trans }}
  902.                                                                                 </a>
  903.                                                                             {% else %}
  904.                                                                                 <a href='{{ path('reservation',{'slug':details.slug,'pack':pack.id,'periode':periode.id}) }}'
  905.                                                                                    class="avn-btn">
  906.                                                                                     <i class="ion-ios-cart"></i>
  907.                                                                                     {{ "Réserver"|trans }}
  908.                                                                                 </a>
  909.                                                                             {% endif %}
  910.                                                                         {% endif %}
  911.                                                                         <!--/table button-->
  912.                                                                     </div>
  913.                                                                 </div>
  914.                                                                 <!--/table-->
  915.                                                             {% endfor %}
  916.                                                         </div>
  917.                                                     {% endif %}
  918.                                                 </div>
  919.                                             </div>
  920.                                         {% endif %}
  921.                                     {% elseif  type_champ_periode == 'select' %}
  922.                                         <div class="pack_item" id="p-{{ periode.id }}"
  923.                                              style="{% if loop.first %}display:block;{% else %}display:none;{% endif %}">
  924.                                             {% for packs in periode.PACKS|array_chunk(1) %}
  925.                                                 {% if not loop.first %}<br>{% endif %}
  926.                                                 <div class="avn-price-table avn-style15 avn-col-4">
  927.                                                     <!--items-->
  928.                                                     <div class="avn-items1">
  929.                                                         {% set pack = periode.PACKS[0] %}
  930.                                                         <style>
  931.                                                             {% for order in ['single','double','triple','quadruple'] %}
  932.                                                             ul#tarifs-pack-{{ pack.id }} li.{{ order }} {
  933.                                                                 order: {{ attribute( pack.orderChambres, order) }}
  934.                                                             }
  935.                                                             {% endfor %}
  936.                                                         </style>
  937.                                                         <ul class="tarifs-pack" id="tarifs-pack-{{ pack.id }}">
  938.                                                             {% if pack.tarifs.single is defined and pack.tarifs.single is not null %}
  939.                                                                 <li class="font-front single">
  940.                                                                     <span> {{ pack.tarifs.single.name }} </span>
  941.                                                                 </li>
  942.                                                             {% endif %}
  943.                                                             {% if pack.tarifs.double is defined and pack.tarifs.double is not null %}
  944.                                                                 <li class="font-front double">
  945.                                                                     <span> {{ pack.tarifs.double.name }}  </span>
  946.                                                                 </li>
  947.                                                             {% endif %}
  948.                                                             {% if pack.tarifs.triple is defined and pack.tarifs.triple is not null %}
  949.                                                                 <li class="font-front triple">
  950.                                                                     <span> {{ pack.tarifs.triple.name }} </span>
  951.                                                                 </li>
  952.                                                             {% endif %}
  953.                                                             {% if pack.tarifs.quadruple is defined and pack.tarifs.quadruple is not null %}
  954.                                                                 <li class="font-front quadruple">
  955.                                                                     <span> {{ pack.tarifs.quadruple.name }} </span>
  956.                                                                 </li>
  957.                                                             {% endif %}
  958.                                                             {% if details.agesEnfant.minAge1 is not null and details.agesEnfant.maxAge1 is not null %}
  959.                                                                 <li class="font-front">
  960.                                                                     <span> {{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge1 }}  {{ "et"|trans }} {{ details.agesEnfant.maxAge1 }}  {{ "dans la chambre des parents"|trans }}</span>
  961.                                                                 </li>
  962.                                                             {% endif %}
  963.                                                             {% if details.agesEnfant.minAge2 is not null and details.agesEnfant.maxAge2 is not null %}
  964.                                                                 <li class="font-front">
  965.                                                                     <span>{{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge2 }} {{ "et"|trans }} {{ details.agesEnfant.maxAge2 }}  {{ "dans la chambre des parents"|trans }}</span>
  966.                                                                 </li>
  967.                                                             {% endif %}
  968.                                                             {% if details.agesEnfant.minAge1 is not null and details.agesEnfant.maxAge1 is not null %}
  969.                                                                 <li class="font-front">
  970.                                                                     <span>{{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge1 }} {{ "et"|trans }} {{ details.agesEnfant.maxAge1 }}  {{ "en chambre séparée"|trans }} </span>
  971.                                                                 </li>
  972.                                                             {% endif %}
  973.                                                             {% if details.agesEnfant.minAge2 is not null and details.agesEnfant.maxAge2 is not null %}
  974.                                                                 <li class="font-front">
  975.                                                                     <span>{{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge2 }} {{ "et"|trans }} {{ details.agesEnfant.maxAge2 }}  {{ "en chambre séparée"|trans }}</span>
  976.                                                                 </li>
  977.                                                             {% endif %}
  978.                                                             {% if pack.tarifs.bebe is defined and pack.tarifs.bebe is not null %}
  979.                                                                 <li class="font-front">
  980.                                                                     <span> {{ "Tarif bébé"|trans }}</span>
  981.                                                                 </li>
  982.                                                             {% endif %}
  983.                                                         </ul>
  984.                                                     </div>
  985.                                                     <!--/items-->
  986.                                                     {% if add_select_pack %}
  987.                                                         <div class="avn-tables">
  988.                                                             {% for pack in packs %}
  989.                                                                 <div id="periode{{ periode.id }}-pack{{ pack.id }}"
  990.                                                                      {% if not (loop.parent.loop.first and loop.first ) %}hidden{% endif %}
  991.                                                                      class="avn-table periode-pack">
  992.                                                                     <!--table header-->
  993.                                                                     <div class="header">
  994.                                                                         <!--package-->
  995.                                                                         <h4 class="package"
  996.                                                                             title="{{ pack.libelle }}">{{ pack.libelle }} </h4>
  997.                                                                         <!--/package-->
  998.                                                                     </div>
  999.                                                                     <!--/table header-->
  1000.                                                                     <!--table items-->
  1001.                                                                     <div class="avn-items2">
  1002.                                                                         <style>
  1003.                                                                             {% for order in ['single','double','triple','quadruple'] %}
  1004.                                                                             ul#tarifs-pack-{{ pack.id }} li.{{ order }} {
  1005.                                                                                 order: {{ attribute( pack.orderChambres, order) }}
  1006.                                                                             }
  1007.                                                                             {% endfor %}
  1008.                                                                         </style>
  1009.                                                                         <ul class="tarifs-pack"
  1010.                                                                             id="tarifs-pack-{{ pack.id }}">
  1011.                                                                             {% if pack.tarifs.single is defined and pack.tarifs.single is not null %}
  1012.                                                                                 <li class="font-front single">
  1013.                                                                                     <span>  {{ pack.tarifs.single.name }}</span>
  1014.                                                                                     {% if  pack.tarifs.single.vente > 0.000 %}
  1015.                                                                                         {{ pack.tarifs.single.vente|devise }}
  1016.                                                                                         <sup>{{ deviseSelected().symbole }} </sup>
  1017.                                                                                     {% else %}
  1018.                                                                                         {#  <i class="fa fa-close avn-icon-red"></i>#}
  1019.                                                                                         {{ "sur demande"|trans }}
  1020.                                                                                     {% endif %}
  1021.                                                                                 </li>
  1022.                                                                             {% endif %}
  1023.                                                                             {% if pack.tarifs.double is defined and pack.tarifs.double is not null %}
  1024.                                                                                 <li class="font-front double">
  1025.                                                                                     <span> {{ pack.tarifs.double.name }} </span>
  1026.                                                                                     {% if pack.tarifs.double.vente > 0.000 %}
  1027.                                                                                         {{ pack.tarifs.double.vente|devise }}
  1028.                                                                                         <sup>{{ deviseSelected().symbole }} </sup>
  1029.                                                                                     {% else %}
  1030.                                                                                         {{ "sur demande"|trans }}
  1031.                                                                                     {% endif %}
  1032.                                                                                 </li>
  1033.                                                                             {% endif %}
  1034.                                                                             {% if pack.tarifs.triple is defined and pack.tarifs.triple is not null %}
  1035.                                                                                 <li class="font-front triple">
  1036.                                                                                     <span> {{ pack.tarifs.triple.name }} </span>
  1037.                                                                                     {% if pack.tarifs.triple.vente > 0.000 %}
  1038.                                                                                         {{ pack.tarifs.triple.vente|devise }}
  1039.                                                                                         <sup>{{ deviseSelected().symbole }} </sup>
  1040.                                                                                     {% else %}
  1041.                                                                                         {{ "sur demande"|trans }}
  1042.                                                                                     {% endif %}
  1043.                                                                                 </li>
  1044.                                                                             {% endif %}
  1045.                                                                             {% if pack.tarifs.quadruple is defined and pack.tarifs.quadruple is not null %}
  1046.                                                                                 <li class="font-front quadruple">
  1047.                                                                                     <span> {{ pack.tarifs.quadruple.name }} </span>
  1048.                                                                                     {% if pack.tarifs.quadruple.vente > 0.000 %}
  1049.                                                                                         {{ pack.tarifs.quadruple.vente|devise }}
  1050.                                                                                         <sup>{{ deviseSelected().symbole }} </sup>
  1051.                                                                                     {% else %}
  1052.                                                                                         {{ "sur demande"|trans }}
  1053.                                                                                     {% endif %}
  1054.                                                                                 </li>
  1055.                                                                             {% endif %}
  1056.                                                                             {% if pack.tarifs.enfant1 is defined and pack.tarifs.enfant1 is not null and details.agesEnfant.minAge1 is not null and details.agesEnfant.maxAge1 is not null %}
  1057.                                                                                 <li class="font-front">
  1058.                                                                                     <span>  {{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge1 }}   {{ "et"|trans }} {{ details.agesEnfant.maxAge1 }} {{ "dans la chambre des parents" |trans }}</span>
  1059.                                                                                     {% if pack.tarifs.enfant1.parent > 0.000 %}
  1060.                                                                                         {{ pack.tarifs.enfant1.parent|devise }}
  1061.                                                                                         <sup>{{ deviseSelected().symbole }} </sup>
  1062.                                                                                     {% else %}
  1063.                                                                                         {{ "sur demande"|trans }}
  1064.                                                                                     {% endif %}
  1065.                                                                                 </li>
  1066.                                                                             {% endif %}
  1067.                                                                             {% if pack.tarifs.enfant2 is defined and pack.tarifs.enfant2 is not null and details.agesEnfant.minAge2 is not null and details.agesEnfant.maxAge2 is not null %}
  1068.                                                                                 <li class="font-front">
  1069.                                                                                     <span>{{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge2 }}  {{ "et"|trans }} {{ details.agesEnfant.maxAge2 }}  {{ "dans la chambre des parents"|trans }}</span>
  1070.                                                                                     {% if pack.tarifs.enfant2.parent > 0.000 %}
  1071.                                                                                         {{ pack.tarifs.enfant2.parent|devise }}
  1072.                                                                                         <sup>{{ deviseSelected().symbole }} </sup>
  1073.                                                                                     {% else %}
  1074.                                                                                         {{ "sur demande"|trans }}
  1075.                                                                                     {% endif %}
  1076.                                                                                 </li>
  1077.                                                                             {% endif %}
  1078.                                                                             {% if pack.tarifs.enfant1 is defined and pack.tarifs.enfant1 is not null and details.agesEnfant.minAge1 is not null and details.agesEnfant.maxAge1 is not null %}
  1079.                                                                                 <li class="font-front">
  1080.                                                                                     <span>{{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge1 }}  {{ "et"|trans }} {{ details.agesEnfant.maxAge1 }}  {{ "dans la chambre séparée"|trans }}</span>
  1081.                                                                                     {% if pack.tarifs.enfant1.separer > 0.000 %}
  1082.                                                                                         {{ pack.tarifs.enfant1.separer|devise }}
  1083.                                                                                         <sup>{{ deviseSelected().symbole }} </sup>
  1084.                                                                                     {% else %}
  1085.                                                                                         {{ "sur demande"|trans }}
  1086.                                                                                     {% endif %}
  1087.                                                                                 </li>
  1088.                                                                             {% endif %}
  1089.                                                                             {% if pack.tarifs.enfant2 is defined and pack.tarifs.enfant2 is not null  and details.agesEnfant.minAge2 is not null and details.agesEnfant.maxAge2 is not null %}
  1090.                                                                                 <li class="font-front">
  1091.                                                                                     <span>{{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge2 }}  {{ "et"|trans }} {{ details.agesEnfant.maxAge2 }}  {{ "dans la chambre séparée"|trans }}</span>
  1092.                                                                                     {% if pack.tarifs.enfant2.separer > 0.000 %}
  1093.                                                                                         {{ pack.tarifs.enfant2.separer|devise }}
  1094.                                                                                         <sup>{{ deviseSelected().symbole }} </sup>
  1095.                                                                                     {% else %}
  1096.                                                                                         {{ "sur demande"|trans }}
  1097.                                                                                     {% endif %}
  1098.                                                                                 </li>
  1099.                                                                             {% endif %}
  1100.                                                                             {% if pack.tarifs.bebe is defined and pack.tarifs.bebe is not null %}
  1101.                                                                                 <li class="font-front">
  1102.                                                                                     <span>  {{ "Tarif bébé"|trans }}</span>
  1103.                                                                                     {% if pack.tarifs.bebe > 0.000 %}
  1104.                                                                                         {{ pack.tarifs.bebe|devise }}
  1105.                                                                                         <sup>{{ deviseSelected().symbole }} </sup>
  1106.                                                                                     {% else %}
  1107.                                                                                         {{ "sur demande"|trans }}
  1108.                                                                                     {% endif %}
  1109.                                                                                 </li>
  1110.                                                                             {% endif %}
  1111.                                                                         </ul>
  1112.                                                                     </div>
  1113.                                                                     <!--/table items-->
  1114.                                                                     <div class="avn-btn-main">
  1115.                                                                         <!--table button-->
  1116.                                                                         <a href='{{ path('reservation',{'slug':details.slug,'pack':pack.id,'periode':periode.id}) }}'
  1117.                                                                            class="avn-btn">
  1118.                                                                             <i class="ion-ios-cart"></i>
  1119.                                                                             {{ "Réserver"|trans }}
  1120.                                                                         </a>
  1121.                                                                         <!--/table button-->
  1122.                                                                     </div>
  1123.                                                                 </div>
  1124.                                                             {% endfor %}
  1125.                                                         </div>
  1126.                                                     {% else %}
  1127.                                                         <div class="avn-tables">
  1128.                                                             {% for pack in packs %}
  1129.                                                                 <!--table-->
  1130.                                                                 <div class="avn-table">
  1131.                                                                     <!--table header-->
  1132.                                                                     <div class="header">
  1133.                                                                         <!--package-->
  1134.                                                                         <h4 class="package"
  1135.                                                                             title="{{ pack.libelle }}">{{ pack.libelle }} </h4>
  1136.                                                                         <!--/package-->
  1137.                                                                     </div>
  1138.                                                                     <!--/table header-->
  1139.                                                                     <!--table items-->
  1140.                                                                     <div class="avn-items2">
  1141.                                                                         <style>
  1142.                                                                             {% for order in ['single','double','triple','quadruple'] %}
  1143.                                                                             ul#tarifs-pack-{{ pack.id }} li.{{ order }} {
  1144.                                                                                 order: {{ attribute( pack.orderChambres, order) }}
  1145.                                                                             }
  1146.                                                                             {% endfor %}
  1147.                                                                         </style>
  1148.                                                                         <ul class="tarifs-pack"
  1149.                                                                             id="tarifs-pack-{{ pack.id }}">
  1150.                                                                             {% if pack.tarifs.single is defined and pack.tarifs.single is not null %}
  1151.                                                                                 <li class="font-front single">
  1152.                                                                                     <span> {{ pack.tarifs.single.name }}</span>
  1153.                                                                                     {% if  pack.tarifs.single.vente > 0.000 %}
  1154.                                                                                         {{ pack.tarifs.single.vente|devise }}
  1155.                                                                                         <sup>{{ deviseSelected().symbole }} </sup>
  1156.                                                                                     {% else %}
  1157.                                                                                         {#  <i class="fa fa-close avn-icon-red"></i>#}
  1158.                                                                                         {{ "sur demande"|trans }}
  1159.                                                                                     {% endif %}
  1160.                                                                                 </li>
  1161.                                                                             {% endif %}
  1162.                                                                             {% if pack.tarifs.double is defined and pack.tarifs.double is not null %}
  1163.                                                                                 <li class="font-front double">
  1164.                                                                                     <span> {{ pack.tarifs.double.name }} </span>
  1165.                                                                                     {% if pack.tarifs.double.vente > 0.000 %}
  1166.                                                                                         {{ pack.tarifs.double.vente|devise }}
  1167.                                                                                         <sup>{{ deviseSelected().symbole }} </sup>
  1168.                                                                                     {% else %}
  1169.                                                                                         {{ "sur demande"|trans }}
  1170.                                                                                     {% endif %}
  1171.                                                                                 </li>
  1172.                                                                             {% endif %}
  1173.                                                                             {% if pack.tarifs.triple is defined and pack.tarifs.triple is not null %}
  1174.                                                                                 <li class="font-front triple">
  1175.                                                                                     <span>  {{ pack.tarifs.triple.name }} </span>
  1176.                                                                                     {% if pack.tarifs.triple.vente > 0.000 %}
  1177.                                                                                         {{ pack.tarifs.triple.vente|devise }}
  1178.                                                                                         <sup>{{ deviseSelected().symbole }} </sup>
  1179.                                                                                     {% else %}
  1180.                                                                                         {{ "sur demande"|trans }}
  1181.                                                                                     {% endif %}
  1182.                                                                                 </li>
  1183.                                                                             {% endif %}
  1184.                                                                             {% if pack.tarifs.quadruple is defined and pack.tarifs.quadruple is not null %}
  1185.                                                                                 <li class="font-front quadruple">
  1186.                                                                                     <span> {{ pack.tarifs.quadruple.name }} </span>
  1187.                                                                                     {% if pack.tarifs.quadruple.vente > 0.000 %}
  1188.                                                                                         {{ pack.tarifs.quadruple.vente|devise }}
  1189.                                                                                         <sup>{{ deviseSelected().symbole }} </sup>
  1190.                                                                                     {% else %}
  1191.                                                                                         {{ "sur demande"|trans }}
  1192.                                                                                     {% endif %}
  1193.                                                                                 </li>
  1194.                                                                             {% endif %}
  1195.                                                                             {% if pack.tarifs.enfant1 is defined and pack.tarifs.enfant1 is not null and details.agesEnfant.minAge1 is not null and details.agesEnfant.maxAge1 is not null %}
  1196.                                                                                 <li class="font-front">
  1197.                                                                                     <span>  {{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge1 }}   {{ "et"|trans }} {{ details.agesEnfant.maxAge1 }} {{ "dans la chambre des parents" |trans }}</span>
  1198.                                                                                     {% if pack.tarifs.enfant1.parent > 0.000 %}
  1199.                                                                                         {{ pack.tarifs.enfant1.parent|devise }}
  1200.                                                                                         <sup>{{ deviseSelected().symbole }} </sup>
  1201.                                                                                     {% else %}
  1202.                                                                                         {{ "sur demande"|trans }}
  1203.                                                                                     {% endif %}
  1204.                                                                                 </li>
  1205.                                                                             {% endif %}
  1206.                                                                             {% if pack.tarifs.enfant2 is defined and pack.tarifs.enfant2 is not null and details.agesEnfant.minAge2 is not null and details.agesEnfant.maxAge2 is not null %}
  1207.                                                                                 <li class="font-front">
  1208.                                                                                     <span>{{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge2 }}  {{ "et"|trans }} {{ details.agesEnfant.maxAge2 }}  {{ "dans la chambre des parents"|trans }}</span>
  1209.                                                                                     {% if pack.tarifs.enfant2.parent > 0.000 %}
  1210.                                                                                         {{ pack.tarifs.enfant2.parent|devise }}
  1211.                                                                                         <sup>{{ deviseSelected().symbole }} </sup>
  1212.                                                                                     {% else %}
  1213.                                                                                         {{ "sur demande"|trans }}
  1214.                                                                                     {% endif %}
  1215.                                                                                 </li>
  1216.                                                                             {% endif %}
  1217.                                                                             {% if pack.tarifs.enfant1 is defined and pack.tarifs.enfant1 is not null and details.agesEnfant.minAge1 is not null and details.agesEnfant.maxAge1 is not null %}
  1218.                                                                                 <li class="font-front">
  1219.                                                                                     <span>{{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge1 }}  {{ "et"|trans }} {{ details.agesEnfant.maxAge1 }}  {{ "dans la chambre séparée"|trans }}</span>
  1220.                                                                                     {% if pack.tarifs.enfant1.separer > 0.000 %}
  1221.                                                                                         {{ pack.tarifs.enfant1.separer|devise }}
  1222.                                                                                         <sup>{{ deviseSelected().symbole }} </sup>
  1223.                                                                                     {% else %}
  1224.                                                                                         {{ "sur demande"|trans }}
  1225.                                                                                     {% endif %}
  1226.                                                                                 </li>
  1227.                                                                             {% endif %}
  1228.                                                                             {% if pack.tarifs.enfant2 is defined and pack.tarifs.enfant2 is not null  and details.agesEnfant.minAge2 is not null and details.agesEnfant.maxAge2 is not null %}
  1229.                                                                                 <li class="font-front">
  1230.                                                                                     <span>{{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge2 }}  {{ "et"|trans }} {{ details.agesEnfant.maxAge2 }}  {{ "dans la chambre séparée"|trans }}</span>
  1231.                                                                                     {% if pack.tarifs.enfant2.separer > 0.000 %}
  1232.                                                                                         {{ pack.tarifs.enfant2.separer|devise }}
  1233.                                                                                         <sup>{{ deviseSelected().symbole }} </sup>
  1234.                                                                                     {% else %}
  1235.                                                                                         {{ "sur demande"|trans }}
  1236.                                                                                     {% endif %}
  1237.                                                                                 </li>
  1238.                                                                             {% endif %}
  1239.                                                                             {% if pack.tarifs.bebe is defined and pack.tarifs.bebe is not null %}
  1240.                                                                                 <li class="font-front">
  1241.                                                                                     <span>  {{ "Tarif bébé"|trans }}</span>
  1242.                                                                                     {% if pack.tarifs.bebe > 0.000 %}
  1243.                                                                                         {{ pack.tarifs.bebe|devise }}
  1244.                                                                                         <sup>{{ deviseSelected().symbole }} </sup>
  1245.                                                                                     {% else %}
  1246.                                                                                         {{ "sur demande"|trans }}
  1247.                                                                                     {% endif %}
  1248.                                                                                 </li>
  1249.                                                                             {% endif %}
  1250.                                                                         </ul>
  1251.                                                                     </div>
  1252.                                                                     <!--/table items-->
  1253.                                                                     <div class="avn-btn-main">
  1254.                                                                         <!--table button-->
  1255.                                                                         {% if (periode.nombreInscription >= periode.maxInscription or  periode.complet == true) and (type !=8 ) %}
  1256.                                                                         {% else %}
  1257.                                                                             {% if pack.complet is defined and pack.complet == true %}
  1258.                                                                                 <a href='{{ path('reservation',{'slug':details.slug,'pack':pack.id,'periode':periode.id}) }}'
  1259.                                                                                    class="avn-btn disabled">
  1260.                                                                                     <i class="ion-ios-cart"></i>
  1261.                                                                                     {{ "Complet"|trans }}
  1262.                                                                                 </a>
  1263.                                                                             {% else %}
  1264.                                                                                 <a href='{{ path('reservation',{'slug':details.slug,'pack':pack.id,'periode':periode.id}) }}'
  1265.                                                                                    class="avn-btn">
  1266.                                                                                     <i class="ion-ios-cart"></i>
  1267.                                                                                     {{ "Réserver"|trans }}
  1268.                                                                                 </a>
  1269.                                                                             {% endif %}
  1270.                                                                         {% endif %}
  1271.                                                                         <!--/table button-->
  1272.                                                                     </div>
  1273.                                                                 </div>
  1274.                                                                 <!--/table-->
  1275.                                                             {% endfor %}
  1276.                                                         </div>
  1277.                                                     {% endif %}
  1278.                                                 </div>
  1279.                                             {% endfor %}
  1280.                                         </div>
  1281.                                     {% else %}
  1282.                                         <div class="pack_item" id="p-{{ periode.id }}"
  1283.                                              style="{% if loop.first %}display:block;{% else %}display:none;{% endif %}">
  1284.                                             <div class="avn-price-table avn-style15 avn-col-4">
  1285.                                                 {#{% set pack = periode.PACKS[0] %}#}
  1286.                                                 {% for pack in periode.PACKS %}
  1287.                                                     {# {{ dump(pack) }}#}
  1288.                                                     <div id="periode{{ periode.id }}-pack{{ pack.id }}"
  1289.                                                          style="{% if not (loop.parent.loop.first and loop.first ) %}display:none;hidden{% endif %}"
  1290.                                                          class="avn-table periode-pack">
  1291.                                                         <!--table header-->
  1292.                                                         <!--table items-->
  1293.                                                         <div class="avn-price-table avn-style15 avn-col-4">
  1294.                                                             <div class="avn-items1">
  1295.                                                                 <ul>
  1296.                                                                     {% if pack.tarifs.single is defined and pack.tarifs.single is not null %}
  1297.                                                                         <li class="font-front">
  1298.                                                                             <span>  {{ pack.tarifs.single.name }}</span>
  1299.                                                                         </li>
  1300.                                                                     {% endif %}
  1301.                                                                     {% if pack.tarifs.double is defined and pack.tarifs.double is not null %}
  1302.                                                                         <li class="font-front ">
  1303.                                                                             <span> {{ pack.tarifs.double.name }} </span>
  1304.                                                                         </li>
  1305.                                                                     {% endif %}
  1306.                                                                     {% if pack.tarifs.triple is defined and pack.tarifs.triple is not null %}
  1307.                                                                         <li class="font-front ">
  1308.                                                                             <span> {{ pack.tarifs.triple.name }} </span>
  1309.                                                                         </li>
  1310.                                                                     {% endif %}
  1311.                                                                     {% if pack.tarifs.quadruple is defined and pack.tarifs.quadruple is not null %}
  1312.                                                                         <li class="font-front ">
  1313.                                                                             <span> {{ pack.tarifs.quadruple.name }} </span>
  1314.                                                                         </li>
  1315.                                                                     {% endif %}
  1316.                                                                     {% if pack.tarifs.enfant1 is defined and pack.tarifs.enfant1 is not null and details.agesEnfant.minAge1 is not null and details.agesEnfant.maxAge1 is not null %}
  1317.                                                                         <li class="font-front">
  1318.                                                                             <span>  {{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge1 }}   {{ "et"|trans }} {{ details.agesEnfant.maxAge1 }} {{ "dans la chambre des parents" |trans }}</span>
  1319.                                                                         </li>
  1320.                                                                     {% endif %}
  1321.                                                                     {% if pack.tarifs.enfant2 is defined and pack.tarifs.enfant2 is not null and details.agesEnfant.minAge2 is not null and details.agesEnfant.maxAge2 is not null %}
  1322.                                                                         <li class="font-front">
  1323.                                                                             <span>{{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge2 }}  {{ "et"|trans }} {{ details.agesEnfant.maxAge2 }}  {{ "dans la chambre des parents"|trans }}</span>
  1324.                                                                         </li>
  1325.                                                                     {% endif %}
  1326.                                                                     {% if pack.tarifs.enfant1 is defined and pack.tarifs.enfant1 is not null and details.agesEnfant.minAge1 is not null and details.agesEnfant.maxAge1 is not null %}
  1327.                                                                         <li class="font-front">
  1328.                                                                             <span>{{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge1 }}  {{ "et"|trans }} {{ details.agesEnfant.maxAge1 }}  {{ "dans la chambre séparée"|trans }}</span>
  1329.                                                                         </li>
  1330.                                                                     {% endif %}
  1331.                                                                     {% if pack.tarifs.enfant2 is defined and pack.tarifs.enfant2 is not null  and details.agesEnfant.minAge2 is not null and details.agesEnfant.maxAge2 is not null %}
  1332.                                                                         <li class="font-front">
  1333.                                                                             <span>{{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge2 }}  {{ "et"|trans }} {{ details.agesEnfant.maxAge2 }}  {{ "dans la chambre séparée"|trans }}</span>
  1334.                                                                         </li>
  1335.                                                                     {% endif %}
  1336.                                                                     {% if pack.tarifs.bebe is defined and pack.tarifs.bebe is not null %}
  1337.                                                                         <li class="font-front">
  1338.                                                                             <span>  {{ "Tarif bébé"|trans }}</span>
  1339.                                                                         </li>
  1340.                                                                     {% endif %}
  1341.                                                                 </ul>
  1342.                                                             </div>
  1343.                                                             <!--/table items-->
  1344.                                                         </div>
  1345.                                                     </div>
  1346.                                                 {% endfor %}
  1347.                                                 <!--/items-->
  1348.                                                 {% if add_select_pack %}
  1349.                                                     <div class="avn-tables">
  1350.                                                         {% for pack in periode.PACKS %}
  1351.                                                             <div id="periode{{ periode.id }}-pack{{ pack.id }}"
  1352.                                                                  style="{% if not (loop.parent.loop.first and loop.first ) %}display:none;hidden{% endif %}"
  1353.                                                                  class="avn-table periode-pack">
  1354.                                                                 <!--table header-->
  1355.                                                                 <div class="header">
  1356.                                                                     <!--package-->
  1357.                                                                     <h4 class="package"
  1358.                                                                         title="{{ pack.libelle }}">{{ pack.libelle }} </h4>
  1359.                                                                     <!--/package-->
  1360.                                                                 </div>
  1361.                                                                 <!--/table header-->
  1362.                                                                 <!--table items-->
  1363.                                                                 <div class="avn-items2">
  1364.                                                                     <ul>
  1365.                                                                         {% if pack.tarifs.single is defined and pack.tarifs.single is not null %}
  1366.                                                                             <li class="font-front">
  1367.                                                                                 <span>  {{ pack.tarifs.single.name }}</span>
  1368.                                                                                 {% if  pack.tarifs.single.vente > 0.000 %}
  1369.                                                                                     {{ pack.tarifs.single.vente|devise }}
  1370.                                                                                     <sup>{{ deviseSelected().symbole }} </sup>
  1371.                                                                                 {% else %}
  1372.                                                                                     {{ "sur demande"|trans }}
  1373.                                                                                 {% endif %}
  1374.                                                                             </li>
  1375.                                                                         {% endif %}
  1376.                                                                         {% if pack.tarifs.double is defined and pack.tarifs.double is not null %}
  1377.                                                                             <li class="font-front ">
  1378.                                                                                 <span> {{ pack.tarifs.double.name }} </span>
  1379.                                                                                 {% if pack.tarifs.double.vente > 0.000 %}
  1380.                                                                                     {{ pack.tarifs.double.vente|devise }}
  1381.                                                                                     <sup>{{ deviseSelected().symbole }} </sup>
  1382.                                                                                 {% else %}
  1383.                                                                                     {{ "sur demande"|trans }}
  1384.                                                                                 {% endif %}
  1385.                                                                             </li>
  1386.                                                                         {% endif %}
  1387.                                                                         {% if pack.tarifs.triple is defined and pack.tarifs.triple is not null %}
  1388.                                                                             <li class="font-front ">
  1389.                                                                                 <span> {{ pack.tarifs.triple.name }} </span>
  1390.                                                                                 {% if pack.tarifs.triple.vente > 0.000 %}
  1391.                                                                                     {{ pack.tarifs.triple.vente|devise }}
  1392.                                                                                     <sup>{{ deviseSelected().symbole }} </sup>
  1393.                                                                                 {% else %}
  1394.                                                                                     {{ "sur demande"|trans }}
  1395.                                                                                 {% endif %}
  1396.                                                                             </li>
  1397.                                                                         {% endif %}
  1398.                                                                         {% if pack.tarifs.quadruple is defined and pack.tarifs.quadruple is not null %}
  1399.                                                                             <li class="font-front ">
  1400.                                                                                 <span> {{ pack.tarifs.quadruple.name }} </span>
  1401.                                                                                 {% if pack.tarifs.quadruple.vente > 0.000 %}
  1402.                                                                                     {{ pack.tarifs.quadruple.vente|devise }}
  1403.                                                                                     <sup>{{ deviseSelected().symbole }} </sup>
  1404.                                                                                 {% else %}
  1405.                                                                                     {{ "sur demande"|trans }}
  1406.                                                                                 {% endif %}
  1407.                                                                             </li>
  1408.                                                                         {% endif %}
  1409.                                                                         {% if pack.tarifs.enfant1 is defined and pack.tarifs.enfant1 is not null and details.agesEnfant.minAge1 is not null and details.agesEnfant.maxAge1 is not null %}
  1410.                                                                             <li class="font-front">
  1411.                                                                                 <span>  {{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge1 }}   {{ "et"|trans }} {{ details.agesEnfant.maxAge1 }} {{ "dans la chambre des parents" |trans }}</span>
  1412.                                                                                 {% if pack.tarifs.enfant1.parent > 0.000 %}
  1413.                                                                                     {{ pack.tarifs.enfant1.parent|devise }}
  1414.                                                                                     <sup>{{ deviseSelected().symbole }} </sup>
  1415.                                                                                 {% else %}
  1416.                                                                                     {{ "sur demande"|trans }}
  1417.                                                                                 {% endif %}
  1418.                                                                             </li>
  1419.                                                                         {% endif %}
  1420.                                                                         {% if pack.tarifs.enfant2 is defined and pack.tarifs.enfant2 is not null and details.agesEnfant.minAge2 is not null and details.agesEnfant.maxAge2 is not null %}
  1421.                                                                             <li class="font-front">
  1422.                                                                                 <span>{{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge2 }}  {{ "et"|trans }} {{ details.agesEnfant.maxAge2 }}  {{ "dans la chambre des parents"|trans }}</span>
  1423.                                                                                 {% if pack.tarifs.enfant2.parent > 0.000 %}
  1424.                                                                                     {{ pack.tarifs.enfant2.parent|devise }}
  1425.                                                                                     <sup>{{ deviseSelected().symbole }} </sup>
  1426.                                                                                 {% else %}
  1427.                                                                                     {{ "sur demande"|trans }}
  1428.                                                                                 {% endif %}
  1429.                                                                             </li>
  1430.                                                                         {% endif %}
  1431.                                                                         {% if pack.tarifs.enfant1 is defined and pack.tarifs.enfant1 is not null and details.agesEnfant.minAge1 is not null and details.agesEnfant.maxAge1 is not null %}
  1432.                                                                             <li class="font-front">
  1433.                                                                                 <span>{{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge1 }}  {{ "et"|trans }} {{ details.agesEnfant.maxAge1 }}  {{ "dans la chambre séparée"|trans }}</span>
  1434.                                                                                 {% if pack.tarifs.enfant1.separer > 0.000 %}
  1435.                                                                                     {{ pack.tarifs.enfant1.separer|devise }}
  1436.                                                                                     <sup>{{ deviseSelected().symbole }} </sup>
  1437.                                                                                 {% else %}
  1438.                                                                                     {{ "sur demande"|trans }}
  1439.                                                                                 {% endif %}
  1440.                                                                             </li>
  1441.                                                                         {% endif %}
  1442.                                                                         {% if pack.tarifs.enfant2 is defined and pack.tarifs.enfant2 is not null  and details.agesEnfant.minAge2 is not null and details.agesEnfant.maxAge2 is not null %}
  1443.                                                                             <li class="font-front">
  1444.                                                                                 <span>{{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge2 }}  {{ "et"|trans }} {{ details.agesEnfant.maxAge2 }}  {{ "dans la chambre séparée"|trans }}</span>
  1445.                                                                                 {% if pack.tarifs.enfant2.separer > 0.000 %}
  1446.                                                                                     {{ pack.tarifs.enfant2.separer|devise }}
  1447.                                                                                     <sup>{{ deviseSelected().symbole }} </sup>
  1448.                                                                                 {% else %}
  1449.                                                                                     {{ "sur demande"|trans }}
  1450.                                                                                 {% endif %}
  1451.                                                                             </li>
  1452.                                                                         {% endif %}
  1453.                                                                         {% if pack.tarifs.bebe is defined and pack.tarifs.bebe is not null %}
  1454.                                                                             <li class="font-front">
  1455.                                                                                 <span>  {{ "Tarif bébé"|trans }}</span>
  1456.                                                                                 {% if pack.tarifs.bebe > 0.000 %}
  1457.                                                                                     {{ pack.tarifs.bebe|devise }}
  1458.                                                                                     <sup>{{ deviseSelected().symbole }} </sup>
  1459.                                                                                 {% else %}
  1460.                                                                                     {{ "sur demande"|trans }}
  1461.                                                                                 {% endif %}
  1462.                                                                             </li>
  1463.                                                                         {% endif %}
  1464.                                                                     </ul>
  1465.                                                                 </div>
  1466.                                                                 <!--/table items-->
  1467.                                                                 <div class="avn-btn-main">
  1468.                                                                     <!--table button-->
  1469.                                                                     {% if (periode.nombreInscription >= periode.maxInscription or  periode.complet == true) and (type !=8 ) %}
  1470.                                                                     {% else %}
  1471.                                                                         {% if pack.complet is defined and pack.complet == true %}
  1472.                                                                             <a href='{{ path('reservation',{'slug':details.slug,'pack':pack.id,'periode':periode.id}) }}'
  1473.                                                                                class="avn-btn disabled">
  1474.                                                                                 <i class="ion-ios-cart"></i>
  1475.                                                                                 {{ "Complet"|trans }}
  1476.                                                                             </a>
  1477.                                                                         {% else %}
  1478.                                                                             <a href='{{ path('reservation',{'slug':details.slug,'pack':pack.id,'periode':periode.id}) }}'
  1479.                                                                                class="avn-btn">
  1480.                                                                                 <i class="ion-ios-cart"></i>
  1481.                                                                                 {{ "Réserver"|trans }}
  1482.                                                                             </a>
  1483.                                                                         {% endif %}
  1484.                                                                     {% endif %}
  1485.                                                                     <!--/table button-->
  1486.                                                                 </div>
  1487.                                                             </div>
  1488.                                                         {% endfor %}
  1489.                                                     </div>
  1490.                                                 {% else %}
  1491.                                                     <div class="avn-tables">
  1492.                                                         {% for pack in  periode.PACKS %}
  1493.                                                             <!--table-->
  1494.                                                             <div class="avn-table">
  1495.                                                                 <!--table header-->
  1496.                                                                 <div class="header">
  1497.                                                                     <!--package-->
  1498.                                                                     <h4 class="package"
  1499.                                                                         title="{{ pack.libelle }}">{{ pack.libelle }} </h4>
  1500.                                                                     <!--/package-->
  1501.                                                                 </div>
  1502.                                                                 <!--/table header-->
  1503.                                                                 <!--table items-->
  1504.                                                                 <div class="avn-items2">
  1505.                                                                     <ul class="tarifs-pack"
  1506.                                                                         id="tarifs-pack-{{ pack.id }}">
  1507.                                                                         {% if pack.tarifs.single is defined and pack.tarifs.single is not null %}
  1508.                                                                             <li class="font-front single">
  1509.                                                                                 <span> {{ pack.tarifs.single.name }}</span>
  1510.                                                                                 {% if  pack.tarifs.single.vente > 0.000 %}
  1511.                                                                                     {{ pack.tarifs.single.vente|devise }}
  1512.                                                                                     <sup>{{ deviseSelected().symbole }} </sup>
  1513.                                                                                 {% else %}
  1514.                                                                                     {{ "sur demande"|trans }}
  1515.                                                                                 {% endif %}
  1516.                                                                             </li>
  1517.                                                                         {% endif %}
  1518.                                                                         {% if pack.tarifs.double is defined and pack.tarifs.double is not null %}
  1519.                                                                             <li class="font-front double">
  1520.                                                                                 <span> {{ pack.tarifs.double.name }} </span>
  1521.                                                                                 {% if pack.tarifs.double.vente > 0.000 %}
  1522.                                                                                     {{ pack.tarifs.double.vente|devise }}
  1523.                                                                                     <sup>{{ deviseSelected().symbole }} </sup>
  1524.                                                                                 {% else %}
  1525.                                                                                     {{ "sur demande"|trans }}
  1526.                                                                                 {% endif %}
  1527.                                                                             </li>
  1528.                                                                         {% endif %}
  1529.                                                                         {% if pack.tarifs.triple is defined and pack.tarifs.triple is not null %}
  1530.                                                                             <li class="font-front triple">
  1531.                                                                                 <span>  {{ pack.tarifs.triple.name }} </span>
  1532.                                                                                 {% if pack.tarifs.triple.vente > 0.000 %}
  1533.                                                                                     {{ pack.tarifs.triple.vente|devise }}
  1534.                                                                                     <sup>{{ deviseSelected().symbole }} </sup>
  1535.                                                                                 {% else %}
  1536.                                                                                     {{ "sur demande"|trans }}
  1537.                                                                                 {% endif %}
  1538.                                                                             </li>
  1539.                                                                         {% endif %}
  1540.                                                                         {% if pack.tarifs.quadruple is defined and pack.tarifs.quadruple is not null %}
  1541.                                                                             <li class="font-front quadruple">
  1542.                                                                                 <span> {{ pack.tarifs.quadruple.name }} </span>
  1543.                                                                                 {% if pack.tarifs.quadruple.vente > 0.000 %}
  1544.                                                                                     {{ pack.tarifs.quadruple.vente|devise }}
  1545.                                                                                     <sup>{{ deviseSelected().symbole }} </sup>
  1546.                                                                                 {% else %}
  1547.                                                                                     {{ "sur demande"|trans }}
  1548.                                                                                 {% endif %}
  1549.                                                                             </li>
  1550.                                                                         {% endif %}
  1551.                                                                         {% if pack.tarifs.enfant1 is defined and pack.tarifs.enfant1 is not null and details.agesEnfant.minAge1 is not null and details.agesEnfant.maxAge1 is not null %}
  1552.                                                                             <li class="font-front">
  1553.                                                                                 <span>  {{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge1 }}   {{ "et"|trans }} {{ details.agesEnfant.maxAge1 }} {{ "dans la chambre des parents" |trans }}</span>
  1554.                                                                                 {% if pack.tarifs.enfant1.parent > 0.000 %}
  1555.                                                                                     {{ pack.tarifs.enfant1.parent|devise }}
  1556.                                                                                     <sup>{{ deviseSelected().symbole }} </sup>
  1557.                                                                                 {% else %}
  1558.                                                                                     {{ "sur demande"|trans }}
  1559.                                                                                 {% endif %}
  1560.                                                                             </li>
  1561.                                                                         {% endif %}
  1562.                                                                         {% if pack.tarifs.enfant2 is defined and pack.tarifs.enfant2 is not null and details.agesEnfant.minAge2 is not null and details.agesEnfant.maxAge2 is not null %}
  1563.                                                                             <li class="font-front">
  1564.                                                                                 <span>{{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge2 }}  {{ "et"|trans }} {{ details.agesEnfant.maxAge2 }}  {{ "dans la chambre des parents"|trans }}</span>
  1565.                                                                                 {% if pack.tarifs.enfant2.parent > 0.000 %}
  1566.                                                                                     {{ pack.tarifs.enfant2.parent|devise }}
  1567.                                                                                     <sup>{{ deviseSelected().symbole }} </sup>
  1568.                                                                                 {% else %}
  1569.                                                                                     {{ "sur demande"|trans }}
  1570.                                                                                 {% endif %}
  1571.                                                                             </li>
  1572.                                                                         {% endif %}
  1573.                                                                         {% if pack.tarifs.enfant1 is defined and pack.tarifs.enfant1 is not null and details.agesEnfant.minAge1 is not null and details.agesEnfant.maxAge1 is not null %}
  1574.                                                                             <li class="font-front">
  1575.                                                                                 <span>{{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge1 }}  {{ "et"|trans }} {{ details.agesEnfant.maxAge1 }}  {{ "dans la chambre séparée"|trans }}</span>
  1576.                                                                                 {% if pack.tarifs.enfant1.separer > 0.000 %}
  1577.                                                                                     {{ pack.tarifs.enfant1.separer|devise }}
  1578.                                                                                     <sup>{{ deviseSelected().symbole }} </sup>
  1579.                                                                                 {% else %}
  1580.                                                                                     {{ "sur demande"|trans }}
  1581.                                                                                 {% endif %}
  1582.                                                                             </li>
  1583.                                                                         {% endif %}
  1584.                                                                         {% if pack.tarifs.enfant2 is defined and pack.tarifs.enfant2 is not null  and details.agesEnfant.minAge2 is not null and details.agesEnfant.maxAge2 is not null %}
  1585.                                                                             <li class="font-front">
  1586.                                                                                 <span>{{ "Enfant entre"|trans }} {{ details.agesEnfant.minAge2 }}  {{ "et"|trans }} {{ details.agesEnfant.maxAge2 }}  {{ "dans la chambre séparée"|trans }}</span>
  1587.                                                                                 {% if pack.tarifs.enfant2.separer > 0.000 %}
  1588.                                                                                     {{ pack.tarifs.enfant2.separer|devise }}
  1589.                                                                                     <sup>{{ deviseSelected().symbole }} </sup>
  1590.                                                                                 {% else %}
  1591.                                                                                     {{ "sur demande"|trans }}
  1592.                                                                                 {% endif %}
  1593.                                                                             </li>
  1594.                                                                         {% endif %}
  1595.                                                                         {% if pack.tarifs.bebe is defined and pack.tarifs.bebe is not null %}
  1596.                                                                             <li class="font-front">
  1597.                                                                                 <span>  {{ "Tarif bébé"|trans }}</span>
  1598.                                                                                 {% if pack.tarifs.bebe > 0.000 %}
  1599.                                                                                     {{ pack.tarifs.bebe|devise }}
  1600.                                                                                     <sup>{{ deviseSelected().symbole }} </sup>
  1601.                                                                                 {% else %}
  1602.                                                                                     {{ "sur demande"|trans }}
  1603.                                                                                 {% endif %}
  1604.                                                                             </li>
  1605.                                                                         {% endif %}
  1606.                                                                     </ul>
  1607.                                                                 </div>
  1608.                                                                 <!--/table items-->
  1609.                                                                 <div class="avn-btn-main">
  1610.                                                                     <!--table button-->
  1611.                                                                     {% if (periode.nombreInscription >= periode.maxInscription or  periode.complet == true) and (type !=8 ) %}
  1612.                                                                     {% else %}
  1613.                                                                         {% if pack.complet is defined and pack.complet == true %}
  1614.                                                                             <a href='{{ path('reservation',{'slug':details.slug,'pack':pack.id,'periode':periode.id}) }}'
  1615.                                                                                class="avn-btn disabled">
  1616.                                                                                 <i class="ion-ios-cart"></i>
  1617.                                                                                 {{ "Complet"|trans }}
  1618.                                                                             </a>
  1619.                                                                         {% else %}
  1620.                                                                             <a href='{{ path('reservation',{'slug':details.slug,'pack':pack.id,'periode':periode.id}) }}'
  1621.                                                                                class="avn-btn">
  1622.                                                                                 <i class="ion-ios-cart"></i>
  1623.                                                                                 {{ "Réserver"|trans }}
  1624.                                                                             </a>
  1625.                                                                         {% endif %}
  1626.                                                                     {% endif %}
  1627.                                                                     <!--/table button-->
  1628.                                                                 </div>
  1629.                                                             </div>
  1630.                                                             <!--/table-->
  1631.                                                         {% endfor %}
  1632.                                                     </div>
  1633.                                                 {% endif %}
  1634.                                             </div>
  1635.                                         </div>
  1636.                                     {% endif %}
  1637.                                 {% endfor %}
  1638.                             {% endif %}
  1639.                         </div>
  1640.                     </div>
  1641.                 </div>
  1642.             {% endif %}
  1643.             {% if details.hotelsHebergement|length>0 %}
  1644.                 {% set produit = "SHT" %}
  1645.                 {% if not configAffichage is defined %}
  1646.                     {% set configAffichage = getConfigAffichage() %}
  1647.                 {% endif %}
  1648.                 <div id="evenement">
  1649.                     <h2> {{ (details.titreEvenAvecHebergement ? details.titreEvenAvecHebergement : "Événement Avec Hébergement")|trans }} </h2>
  1650.                     {% for hebergement in details.hotelsHebergement %}
  1651.                         {% for hotel in hebergement.hotels %}
  1652.                             <hr>
  1653.                             <div class="row">
  1654.                                 <div class="title-event">
  1655.                                     Hébergement dans <span class="text-bold font-color">{{ hotel.libelle }}</span>
  1656.                                 </div>
  1657.                                 {% for periode in hebergement.periodes %}
  1658.                                     <div class="event-periode d-flex justify-content-between align-items-center mb-3">
  1659.                                         <h2>{{ periode.libelle }}</h2>
  1660.                                         <a class="btn btn-list btn-event heberger" data-title="{{ hotel.libelle }}"
  1661.                                            data-hotel="{{ hotel.id }}" data-checkin="{{ periode.checkin }}"
  1662.                                            data-nuitees="{{ periode.nuitees }}" data-toggle="modal"
  1663.                                            data-target="#occupations{{ produit }}"> RÉSERVER</a>
  1664.                                     </div>
  1665.                                 {% endfor %}
  1666.                             </div>
  1667.                             <!-- End col-md-9  -->
  1668.                         {% endfor %}
  1669.                     {% endfor %}
  1670.                 </div>
  1671.             {% endif %}
  1672.         </div>
  1673.     {% endif %}
  1674. {% else %}
  1675.     <div class="detail-block description-tarifs-edit">
  1676.         <div id="sticky-text-vo-tarifs">
  1677.             <div class="description-vo-tarifs">
  1678.                 <h4 class="text-vo-tarifs">
  1679.                     Ce produit n'est plus disponible, cliquez ici pour découvrir nos offres actuelles
  1680.                 </h4>
  1681.                 <button onclick="window.location=$('ul#breadcrumbtrail li.home a').attr('href')"
  1682.                         class="btn btn-primary btn-vo-tarifs"> Voir autres offres
  1683.                 </button>
  1684.             </div>
  1685.         </div>
  1686.     </div>
  1687. {% endif %}
  1688. {##}
  1689. <div class="modal fade" id="occupations{{ produit }}" tabindex="-1" role="dialog">
  1690.     <div class="modal-dialog modal-lg">
  1691.         <div class="modal-content">
  1692.             <div class="modal-header">
  1693.                 <h3></h3>
  1694.                 <button type="button" class="close" data-dismiss="modal" aria-label="Close"><i class="fa fa-close"></i>
  1695.                 </button>
  1696.             </div>
  1697.             <div class="modal-body" id="vjs-advanced-search-{{ produit|lower }}">
  1698.                 <template v-for="(room,index) in rooms">
  1699.                     <h5 class="room-modal"> {{ "Chambre"|trans }} ${index + 1} <i v-if="rooms.length>1"
  1700.                                                                                   title="{{ "Supprimer chambre"|trans }}"
  1701.                                                                                   @click="removeRoom(index)"
  1702.                                                                                   class="fa fa-trash"></i></h5>
  1703.                     <div class="row">
  1704.                         <div class="col-sm-3">
  1705.                             <div class="form-group">
  1706.                                 <label class="label-rooms"> {{ "Adultes"|trans }}</label>
  1707.                                 <select class="selectpicker" v-model="room.Adult" ref="select"
  1708.                                         data-live-search="false">
  1709.                                     <option v-if="index == 0" v-for="item in {{ configAffichage.HOTEL.MAX_ADULTE }}">
  1710.                                         ${item}
  1711.                                     </option>
  1712.                                     <option v-if="index > 0" v-for="item in ({{ configAffichage.HOTEL.MAX_ADULTE }}+1)">
  1713.                                         ${item-1}
  1714.                                     </option>
  1715.                                 </select>
  1716.                             </div>
  1717.                         </div>
  1718.                         <div class="col-sm-3">
  1719.                             <div class="form-group">
  1720.                                 <label class="label-rooms"> {{ "Enfants"|trans }}</label>
  1721.                                 <select class="selectpicker" v-model="room.children" @change="editChildren(index)"
  1722.                                         ref="select" data-live-search="false">
  1723.                                     <option v-for="item in ({{ configAffichage.HOTEL.MAX_ENFANT }}+1)">${item-1}
  1724.                                     </option>
  1725.                                 </select>
  1726.                             </div>
  1727.                         </div>
  1728.                         <div class="col-sm-6">
  1729.                             <div v-for="(item , index) in room.Child" class="col-sm-3">
  1730.                                 <div class="form-group">
  1731.                                     <label> {{ "Age"|trans }} ${index+1}</label>
  1732.                                     <select class="selectpicker" ref="select" data-live-search="false"
  1733.                                             v-model="room.Child[index]">
  1734.                                         <option v-for="age in {{ configAffichage.HOTEL.MAX_AGE_ENFANT }}"
  1735.                                                 v-if="age >= {{ configAffichage.HOTEL.MIN_AGE_ENFANT }}">${age}
  1736.                                         </option>
  1737.                                     </select>
  1738.                                 </div>
  1739.                             </div>
  1740.                         </div>
  1741.                     </div>
  1742.                     <hr style=" margin-top: 0px;margin-bottom: 15px; ">
  1743.                 </template>
  1744.                 <div class="row">
  1745.                     <div class="col-sm-6">
  1746.                         <button class="btn btn-primary add-room-filtrev2 btn-block bnt-joli mobile-btn-liste-filtre btn-col-liste"
  1747.                                 @click="addRoom">+ {{ "Ajouter une chambre"|trans }}
  1748.                         </button>
  1749.                     </div>
  1750.                     <div class="col-sm-6">
  1751.                         <button id="demande-hebergement" {#data-dismiss="modal"#}
  1752.                                 class="btn btn-primary btn-block bnt-joli btn-pink-list" {#@click="Recap"#}
  1753.                                 href="#event-room" data-toggle="collapse"
  1754.                                 data-target="#event-room"> {{ "Demander"|trans }} </button>
  1755.                     </div>
  1756.                 </div>
  1757.             </div>
  1758.             <div id="event-room" class="collapse dropdown-select-open" aria-hidden="true">
  1759.                 <div id="result" class="padding-event-recap">
  1760.                     <div class="capitulatif" style="min-height: 40px;">
  1761.                         <div class="ligne_detaif">
  1762.                             <div class="bloc_date">
  1763.                                 <i aria-hidden="true" class="fa fa-calendar fa-1 mr-2"></i>Arrivée :
  1764.                                 <span style="font-size:12px" id="recap-checkin"></span>
  1765.                             </div>
  1766.                             <div class="bloc_date">
  1767.                                 <i aria-hidden="true" class="fa fa-moon-o fa-1" style="margin-left: 1px;"></i>Durée :
  1768.                                 <span style="font-size:12px" id="recap-nuitees"></span>
  1769.                             </div>
  1770.                             <div class="bloc_date">
  1771.                                 <i aria-hidden="true" class="fa input-users fa-1 mr-2"></i></i>occupations :
  1772.                                 <span style="font-size:12px" id="recap-occupations"></span>
  1773.                             </div>
  1774.                             <div style="float: right">
  1775.                                 <button id="edit-search" class="btn btn-secondary " type="button">
  1776.                                     Modifier
  1777.                                 </button>
  1778.                             </div>
  1779.                         </div>
  1780.                     </div>
  1781.                 </div>
  1782.                 <div class="padding-event">
  1783.                     {% include checkCustomTemplate('SejourHotel/availability/list-hotels.html.twig') %}
  1784.                 </div>
  1785.             </div>
  1786.         </div>
  1787.     </div>
  1788. </div>
  1789. <script>
  1790.     $(window).scroll(function () {
  1791.         var scroll = $(window).scrollTop();
  1792.         if (scroll >= 600) {
  1793.             $("#sticky-text-vo-tarifs").addClass("stickyvotarifs");
  1794.         } else {
  1795.             $("#sticky-text-vo-tarifs").removeClass("stickyvotarifs");
  1796.         }
  1797.     });
  1798. </script>