templates/FrontCommun/VoyagesOrganise/details/details-content.html.twig line 1

Open in your IDE?
  1. {% set image=null %}
  2.     {% if details.photoBanniere !=null %}
  3.         {% set image=details.photoBanniere %}
  4.         {{ tpl.subHeader(block('title'),image) }}
  5.     {% endif %}
  6. <!--start property menu-->
  7. <div class="property-menu-wrap">
  8.     <div class="container">
  9.         <ul class="property-menu">
  10.             <li><a class="back-top" href="#header-section"><i
  11.                             class="fa fa-long-arrow-up"></i> {{ "Remonter en haut"|trans }}</a></li>
  12.             <li><a class="target" href="#galleries"> {{ "Galerie Photos"|trans }} </a></li>
  13.             <li><a class="target" href="#description"> {{ "Description"|trans }} </a></li>
  14.             <li><a class="target" href="#tarifs"> {{ "Tarifs"|trans }}</a></li>
  15.         </ul>
  16.     </div>
  17. </div>
  18. {% if details|length>0 %}
  19.     <!--end property menu-->
  20.     {% if  configAffichage!= null and configAffichage.VOYAGE.BLOCS_DETAILS is defined and configAffichage.VOYAGE.BLOCS_DETAILS == 2 %}
  21.         <div class="detail-top">
  22.             <div class="container">
  23.                 <div class="row">
  24.                         <div class="col-12">
  25.                         <div class="header-detail table-list details-vo-header-detail-edit">
  26.                             {#<ol class="breadcrumb">
  27.                                 <li><a href="{{ path('accueil') }}"><i class="fa fa-home"></i></a></li>
  28.                                 <li><a href="#">Liste Voyages</a></li>
  29.                                 <li class="active">{{ details.libelle }}</li>
  30.                             </ol>#}
  31.                             {% if  configAffichage!= null and configAffichage.VOYAGE.BLOCS_DETAILS is defined and configAffichage.VOYAGE.BLOCS_DETAILS == 2 %}
  32.                                 <div class="header-left details-vo-header-left-edit">
  33.                                     <h1 class="details-vo-h1-edit">
  34.                                         {{ details.libelle }}
  35.                                     </h1>
  36.                                     {% if details.villes is not null %}
  37.                                         <address class="property-address"><i class="fa fa-map-marker-alt fa-1"
  38.                                                                              aria-hidden="true"
  39.                                                                              style="margin-right: 5px;margin-left: 1px;"></i>{{ details.villes }}
  40.                                         </address>
  41.                                     {% endif %}
  42.                                 </div>
  43.                                 <div class="header-right price details-vo-price-edit">
  44.                                     <p class="price-start details-price-start-edit">  {{ "à partir de"|trans }}</p>
  45.                                     <span class="item-price details-item-price-edit">{{ details.prix|devise(false,true) }}<sup
  46.                                                 style=" font-size: 60%; ">{{ deviseSelected().symbole }}</sup></span>
  47.                                     <p class="rant details-price-rant-edit"> {{ "par personne"|trans }}</p>
  48.                                 </div>
  49.                             {% endif %}
  50.                         </div>
  51.                         {% if configAffichage is defined and configAffichage!= null and configAffichage.VOYAGE.BLOCS_DETAILS is defined and configAffichage.VOYAGE.BLOCS_DETAILS == 2 %}
  52.                             {% for description in details.descriptionsNonLateral %}
  53.                                 {% if description.type.libelle=="Autre" %}
  54.                                     {{ description.texte |raw }}
  55.                                 {% endif %}
  56.                             {% endfor %}
  57.                         {% endif %}
  58.                         {% if configAffichage is defined and configAffichage!= null and configAffichage.VOYAGE.BLOCS_DETAILS is defined and configAffichage.VOYAGE.BLOCS_DETAILS == 2 %}
  59.                             <div class="detail-media detail-top-slideshow" id="galleries">
  60.                                 <div class="tab-content">
  61.                                     <div id="gallery" class="tab-pane fade in active">
  62.                                         {% if details.photosAlbum |length > 0 %}
  63.                                             <div class="slideshow">
  64.                                                 <div class="slideshow-main">
  65.                                                     <div class="slide">
  66.                                                         {% for image in details.photosAlbum %}
  67.                                                             <div>
  68.                                                                 {#<img src="{{image|replace({  domaineBack()~'/' :'' }) }}" width="1170" height="654" alt="Slide show">#}
  69.                                                                 <img src="{{ image }}" width="1170" height="654"
  70.                                                                      alt="Slide show">
  71.                                                             </div>
  72.                                                         {% endfor %}
  73.                                                     </div>
  74.                                                 </div>
  75.                                             </div>
  76.                                         {% endif %}
  77.                                     </div>
  78.                                 </div>
  79.                                 <div class="media-tabs">
  80.                                     <ul class="media-tabs-list">
  81.                                         {% if details.photosAlbum|length>0 %}
  82.                                             <li class="popup-trigger" data-placement="bottom" data-toggle="tooltip"
  83.                                                 data-original-title="{{ details.photosAlbum|length }} Photos">
  84.                                                 <a href="#gallery" data-toggle="tab">
  85.                                                     <i class="fa fa-camera"></i>
  86.                                                 </a>
  87.                                             </li>
  88.                                         {% endif %}
  89.                                     </ul>
  90.                                     <ul class="actions">
  91.                                         <li class="share-btn">
  92.                                             <div class="share_tooltip tooltip_left fade">
  93.                                                 <a href="#"
  94.                                                    onclick="window.open(this.href, 'mywin','left=50,top=50,width=600,height=350,toolbar=0'); return false;"><i
  95.                                                             class="fa fa-facebook"></i></a>
  96.                                                 <a href="#"
  97.                                                    onclick="if(!document.getElementById('td_social_networks_buttons')){window.open(this.href, 'mywin','left=50,top=50,width=600,height=350,toolbar=0'); return false;}"><i
  98.                                                             class="fa fa-twitter"></i></a>
  99.                                                 <a href="#"
  100.                                                    onclick="window.open(this.href, 'mywin','left=50,top=50,width=600,height=350,toolbar=0'); return false;"><i
  101.                                                             class="fa fa-pinterest"></i></a>
  102.                                                 <a href="#"
  103.                                                    onclick="window.open(this.href, 'mywin','left=50,top=50,width=600,height=350,toolbar=0'); return false;"><i
  104.                                                             class="fa fa-linkedin"></i></a>
  105.                                                 <a href="#"
  106.                                                    onclick="window.open(this.href, 'mywin','left=50,top=50,width=600,height=350,toolbar=0'); return false;"><i
  107.                                                             class="fa fa-google-plus"></i></a>
  108.                                                 <a href="#"><i class="fa fa-envelope"></i></a>
  109.                                             </div>
  110.                                             <span data-placement="right" data-toggle="tooltip"
  111.                                                   data-original-title="{{ "share"|trans }}"><i
  112.                                                         class="fa fa-share-alt"></i></span>
  113.                                         </li>
  114.                                         <li>
  115.                                             <span><i class="fa fa-heart-o"></i></span>
  116.                                         </li>
  117.                                     </ul>
  118.                                 </div>
  119.                             </div>
  120.                         {% endif %}
  121.                     </div>
  122.                 </div>
  123.             </div>
  124.         </div>
  125.     {% endif %}
  126.     <section id="section-body">
  127.         <!--start detail content-->
  128.         <div class="section-detail-content" id="detail-voyage">
  129.             <div class="container">
  130.                 <div class="row">
  131.                     <div class="col-12 col-sm-12 col-md-8 container-contentbar">
  132.                         <div class="detail-bar example">
  133.                             {% if  configAffichage!= null and configAffichage.VOYAGE.BLOCS_DETAILS is defined and configAffichage.VOYAGE.BLOCS_DETAILS == 1 %}
  134.                                 <div class="a">
  135.                                     {% for description in details.descriptionsNonLateral %}
  136.                                         {% if description.type.libelle=="Autre" %}
  137.                                             {{ description.texte |raw }}
  138.                                         {% endif %}
  139.                                     {% endfor %}
  140.                                 </div>
  141.                             {% endif %}
  142.                             {% if configAffichage is defined and configAffichage!= null and configAffichage.VOYAGE.BLOCS_DETAILS is defined and configAffichage.VOYAGE.BLOCS_DETAILS == 4 %}
  143.                                 {% if details.photosAlbum |length > 0 %}
  144.                                     <div>
  145.                                         <div class="f-carousel" id="myCarousel">
  146.                                             {% for image in details.photosAlbum %}
  147.                                                 <div class="f-carousel__slide"
  148.                                                      data-thumb-src="{{ image }}">
  149.                                                     <a href="{{ image }}"
  150.                                                        data-fancybox="gallery"><img width="100%" height="480" alt=""
  151.                                                                                     class="fancy-img"
  152.                                                                                     data-lazy-src="{{ image }}"/></a>
  153.                                                 </div>
  154.                                             {% endfor %}
  155.                                         </div>
  156.                                     </div>
  157.                                 {% endif %}
  158.                                 <div class="row">
  159.                                     <div class="col-sm-12 col-xs-12">
  160.                                         <div class="header-detail table-list details-vo-header-detail-edit">
  161.                                             <div class="header-left details-vo-header-left-edit">
  162.                                                 <h1 class="details-vo-h1-edit">
  163.                                                     {{ details.libelle }}
  164.                                                 </h1>
  165.                                                 {% if details.villes is not null %}
  166.                                                     <address class="property-address">
  167.                                                     <i class="fa fa-map-marker-alt fa-1" aria-hidden="true" style="margin-right: 5px;margin-left: 1px;"></i>{{ details.villes }}
  168.                                                     </address>
  169.                                                 {% endif %}
  170.                                             </div>
  171.                                             <div class="header-right price details-vo-price-edit">
  172.                                                 <p class="price-start details-price-start-edit">  {{ "à partir de"|trans }}</p>
  173.                                                 <span class="item-price details-item-price-edit">{{ details.prix|devise(false,true) }}<sup
  174.                                                             style=" font-size: 60%; ">{{ deviseSelected().symbole }}</sup></span>
  175.                                                 <p class="rant details-price-rant-edit"> {{ "par personne"|trans }}</p>
  176.                                             </div>
  177.                                         </div>
  178.                                     </div>
  179.                                 </div>
  180.                             {% endif %}
  181.                             {% if configAffichage == null %}
  182.                                 <div class="detail-media detail-top-slideshow" id="galleries">
  183.                                     <div class="tab-content">
  184.                                         <div id="gallery" class="tab-pane fade in active">
  185.                                             {% if details.photosAlbum |length > 0 %}
  186.                                                 <div class="slideshow">
  187.                                                     <div class="slideshow-main">
  188.                                                         <div class="slide">
  189.                                                             {% for image in details.photosAlbum %}
  190.                                                                 <div>
  191.                                                                     <img src="{{ image }}" width="1170" height="654"
  192.                                                                          alt="Slide show">
  193.                                                                 </div>
  194.                                                             {% endfor %}
  195.                                                         </div>
  196.                                                     </div>
  197.                                                 </div>
  198.                                             {% endif %}
  199.                                         </div>
  200.                                     </div>
  201.                                     <div class="media-tabs">
  202.                                         <ul class="media-tabs-list">
  203.                                             {% if details.photosAlbum |length > 0 %}
  204.                                                 <li class="popup-trigger" data-placement="bottom"
  205.                                                     data-toggle="tooltip"
  206.                                                     data-original-title="{{ details.photosAlbum|length }} Photos">
  207.                                                     <a href="#gallery" data-toggle="tab">
  208.                                                         <i class="fa fa-camera"></i>
  209.                                                     </a>
  210.                                                 </li>
  211.                                             {% endif %}
  212.                                         </ul>
  213.                                         <ul class="actions">
  214.                                             <li class="share-btn">
  215.                                                 <div class="share_tooltip tooltip_left fade">
  216.                                                     <a href="#"
  217.                                                        onclick="window.open(this.href, 'mywin','left=50,top=50,width=600,height=350,toolbar=0'); return false;"><i
  218.                                                                 class="fa fa-facebook"></i></a>
  219.                                                     <a href="#"
  220.                                                        onclick="if(!document.getElementById('td_social_networks_buttons')){window.open(this.href, 'mywin','left=50,top=50,width=600,height=350,toolbar=0'); return false;}"><i
  221.                                                                 class="fa fa-twitter"></i></a>
  222.                                                     <a href="#"
  223.                                                        onclick="window.open(this.href, 'mywin','left=50,top=50,width=600,height=350,toolbar=0'); return false;"><i
  224.                                                                 class="fa fa-pinterest"></i></a>
  225.                                                     <a href="#"
  226.                                                        onclick="window.open(this.href, 'mywin','left=50,top=50,width=600,height=350,toolbar=0'); return false;"><i
  227.                                                                 class="fa fa-linkedin"></i></a>
  228.                                                     <a href="#"
  229.                                                        onclick="window.open(this.href, 'mywin','left=50,top=50,width=600,height=350,toolbar=0'); return false;"><i
  230.                                                                 class="fa fa-google-plus"></i></a>
  231.                                                     <a href="#"><i class="fa fa-envelope"></i></a>
  232.                                                 </div>
  233.                                                 <span data-placement="right" data-toggle="tooltip"
  234.                                                       data-original-title="{{ "share"|trans }}"><i
  235.                                                             class="fa fa-share-alt"></i></span>
  236.                                             </li>
  237.                                         </ul>
  238.                                     </div>
  239.                                 </div>
  240.                                 <div class="header-detail table-list details-vo-header-detail-edit">
  241.                                     <div class="header-left ">
  242.                                         <h1 class="details-vo-h1-edit">
  243.                                             {{ details.libelle }}
  244.                                         </h1> {% if details.villes is not null %}
  245.                                             <address class="property-address"><i class="fa fa-map-marker-alt fa-1"
  246.                                                                                  aria-hidden="true"
  247.                                                                                  style="margin-right: 5px;margin-left: 1px;"></i>{{ details.villes }}
  248.                                             </address>
  249.                                         {% endif %}
  250.                                     </div>
  251.                                     <div class="header-right price details-vo-price-edit">
  252.                                         <p class="price-start details-price-start-edit"> {{ "à partir de"|trans }} </p>
  253.                                         <span class="item-price">  {{ details.prix|devise(false,true) }}{#<span style=" font-size: 16px; ">000</span>#}<sup
  254.                                                     style=" font-size: 60%; ">{{ deviseSelected().symbole }}</sup></span>
  255.                                         <p class="rant"> {{ "par personne"|trans }}</p>
  256.                                     </div>
  257.                                 </div>
  258.                             {% elseif configAffichage!= null and configAffichage.VOYAGE.BLOCS_DETAILS is defined and  (configAffichage.VOYAGE.BLOCS_DETAILS == 1 or configAffichage.VOYAGE.BLOCS_DETAILS == 3) %}
  259.                                 <div class="detail-media detail-top-slideshow b" id="galleries">
  260.                                     <div class="tab-content">
  261.                                         <div id="gallery" class="tab-pane fade in active">
  262.                                             {% if details.photosAlbum |length > 0 %}
  263.                                                 <div class="slideshow">
  264.                                                     <div class="slideshow-main">
  265.                                                         <div class="slide">
  266.                                                             {% for image in details.photosAlbum %}
  267.                                                                 <div>
  268.                                                                     <img src="{{ image }}" width="1170" height="654"
  269.                                                                          alt="Slide show">
  270.                                                                 </div>
  271.                                                             {% endfor %}
  272.                                                         </div>
  273.                                                     </div>
  274.                                                 </div>
  275.                                             {% endif %}
  276.                                         </div>
  277.                                     </div>
  278.                                     <div class="media-tabs">
  279.                                         <ul class="media-tabs-list">
  280.                                             {% if details.photosAlbum |length > 0 %}
  281.                                                 <li class="popup-trigger" data-placement="bottom"
  282.                                                     data-toggle="tooltip"
  283.                                                     data-original-title="{{ details.photosAlbum|length }} Photos">
  284.                                                     <a href="#gallery" data-toggle="tab">
  285.                                                         <i class="fa fa-camera"></i>
  286.                                                     </a>
  287.                                                 </li>
  288.                                             {% endif %}
  289.                                         </ul>
  290.                                         <ul class="actions">
  291.                                             <li class="share-btn">
  292.                                                 <div class="share_tooltip tooltip_left fade">
  293.                                                     <a href="#"
  294.                                                        onclick="window.open(this.href, 'mywin','left=50,top=50,width=600,height=350,toolbar=0'); return false;"><i
  295.                                                                 class="fa fa-facebook"></i></a>
  296.                                                     <a href="#"
  297.                                                        onclick="if(!document.getElementById('td_social_networks_buttons')){window.open(this.href, 'mywin','left=50,top=50,width=600,height=350,toolbar=0'); return false;}"><i
  298.                                                                 class="fa fa-twitter"></i></a>
  299.                                                     <a href="#"
  300.                                                        onclick="window.open(this.href, 'mywin','left=50,top=50,width=600,height=350,toolbar=0'); return false;"><i
  301.                                                                 class="fa fa-pinterest"></i></a>
  302.                                                     <a href="#"
  303.                                                        onclick="window.open(this.href, 'mywin','left=50,top=50,width=600,height=350,toolbar=0'); return false;"><i
  304.                                                                 class="fa fa-linkedin"></i></a>
  305.                                                     <a href="#"
  306.                                                        onclick="window.open(this.href, 'mywin','left=50,top=50,width=600,height=350,toolbar=0'); return false;"><i
  307.                                                                 class="fa fa-google-plus"></i></a>
  308.                                                     <a href="#"><i class="fa fa-envelope"></i></a>
  309.                                                 </div>
  310.                                                 <span data-placement="right" data-toggle="tooltip"
  311.                                                       data-original-title="{{ "share"|trans }}"><i
  312.                                                             class="fa fa-share-alt"></i></span>
  313.                                             </li>
  314.                                             <li>
  315.                                                 <span><i class="fa fa-heart-o"></i></span>
  316.                                             </li>
  317.                                         </ul>
  318.                                     </div>
  319.                                 </div>
  320.                                 <div class="header-detail table-list details-vo-header-detail-edit c">
  321.                                     <div class="header-left">
  322.                                         <h1 class="details-vo-h1-edit">
  323.                                             {{ details.libelle }}
  324.                                         </h1> {% if details.villes is not null %}
  325.                                             <address class="property-address"><i class="fa fa-map-marker-alt fa-1"
  326.                                                                                  aria-hidden="true"
  327.                                                                                  style="margin-right: 5px;margin-left: 1px;"></i>{{ details.villes }}
  328.                                             </address>
  329.                                         {% endif %}
  330.                                     </div>
  331.                                     <div class="header-right price details-price-start-edit">
  332.                                         {% if details.aPartirDe=="true" %}
  333.                                             <p class="price-start details-price-start-edit">  {{ "à partir de"|trans }}</p>
  334.                                         {% endif %}
  335.                                         <span class="item-price details-item-price-edit">  {{ details.prix|devise(false,true) }}<sup
  336.                                                     style=" font-size: 60%; ">{{ deviseSelected().symbole }}</sup></span>
  337.                                         <p class="rant"> {{ "par personne"|trans }}</p>
  338.                                     </div>
  339.                                 </div>
  340.                             {% endif %}
  341.                             {% if configAffichage is defined and configAffichage!= null and configAffichage.VOYAGE.BLOC_THEMES_VO == "afficher-theme" %}
  342.                                 {% if details.themes|length>0 %}
  343.                                     <div id="services-module-3" class="detail-block services-module style3 d">
  344.                                         <div class="row">
  345.                                             {% for theme in details.themes %}
  346.                                                     <div class="col-12 col-sm-6 col-md-4 theme-details-voyage">
  347.                                                     <div class="service-block d-flex align-items-center">
  348.                                                         {% if theme.path != null %}
  349.                                                             <div class="block-icon">
  350.                                                                 <img src="{{ theme.path }}" width="30" height="30"
  351.                                                                      alt="{{ theme.libelle }}">
  352.                                                             </div>
  353.                                                         {% endif %}
  354.                                                         <div class="block-content">
  355.                                                             <h3>{{ theme.libelle }}</h3>
  356.                                                         </div>
  357.                                                     </div>
  358.                                                 </div>
  359.                                             {% endfor %}
  360.                                         </div>
  361.                                     </div>
  362.                                 {% endif %}
  363.                             {% endif %}
  364.                             {% include checkCustomTemplate('VoyagesOrganise/details/description.html.twig') %}
  365.                         </div>
  366.                     </div>
  367.                               <div class="col-12 col-xs-12 col-md-4 container-sidebar">
  368.                         <aside id="sidebar" class="sidebar-white">
  369.                             {% if configAffichage is defined and configAffichage!= null and configAffichage.VOYAGE.ADD_FORM_ROOM_PAX_DETAILS_OMRA =='oui' and type==6 %}
  370.                                 <div class="mob-side payment-side-block border-color-omra">
  371.                                     <form action="" method="post"
  372.                                           onsubmit="$(this).attr('action','{{ path('reservation', {slug : app.request.get('slug'), pack:'_pack_', periode:'_periode_'}) }}'.replace('_pack_',$('select#packs').val()).replace('_periode_',$('select#periodes').val()))"
  373.                                           class="form-reservation-omra">
  374.                                         <h3 class="bloc-rtl text-center mb-3 py-2">
  375.                                             Inscription
  376.                                         </h3>
  377.                                         <div class="row">
  378.                                             <div class="form-group packs bloc-rtl">
  379.                                                 <h4 class="control-label" style="float: right">{{ "Programme(s)"|trans }}</h4>
  380.                                                 <select class="form-control" id="packs" style=" width: 100%; ">
  381.                                                     {% for periode in details.PERIODES %}
  382.                                                         {% for pack in periode.PACKS %}
  383.                                                             <option class="packs-{{ periode.id }}"
  384.                                                                     {% if not loop.parent.loop.first %}hidden{% endif %}
  385.                                                                     value="{{ pack.id }}"
  386.                                                                     {% if loop.parent.loop.first and loop.first %}selected{% endif %}>{{ pack.libelle }}
  387.                                                                 {% if (periode.nombreInscription >= periode.maxInscription or  periode.complet == true) and (type !=8 ) %} disabled {% endif %}
  388.                                                             </option>
  389.                                                         {% endfor %}
  390.                                                     {% endfor %}
  391.                                                 </select>
  392.                                             </div>
  393.                                             <div class="form-group bloc-rtl periode">
  394.                                                 <h4 class=" control-label" style="float: right">{{ "Voyage(s)"|trans }}</h4>
  395.                                                 <select class="form-control periode-select" id="periodes"
  396.                                                         style=" width: 100%; ">
  397.                                                     {% for periode in details.PERIODES %}
  398.                                                         <option value="{{ periode.id }}" data-complet=" ">
  399.                                                             {% if (periode.nombreInscription >= periode.maxInscription or  periode.complet == true) and (type !=8 ) %} disabled {% endif %}
  400.                                                             {% if configAffichage.VOYAGE.TEXT_SELECT_PERIODES == "libelle" %}
  401.                                                                 {{ periode.libelle }}
  402.                                                             {% elseif configAffichage.VOYAGE.TEXT_SELECT_PERIODES == "periode" %}
  403.                                                                 {{ "du"|trans }}  {{ periode.du|date("d/m/Y") }} {{ "au"|trans }} {{ periode.au|date("d/m/Y") }}
  404.                                                             {% elseif configAffichage.VOYAGE.TEXT_SELECT_PERIODES == "libelle-periode" %}
  405.                                                                 {{ periode.libelle }} {{ "du"|trans }}  {{ periode.du|date("d/m/Y") }} {{ "au"|trans }} {{ periode.au|date("d/m/Y") }}
  406.                                                             {% endif %}
  407.                                                         </option>
  408.                                                     {% endfor %}
  409.                                                 </select>
  410.                                             </div>
  411.                                             <div>
  412.                                                 <h4 style="text-align: right">{{ "Chambres"|trans }}
  413.                                                     <a href="javascript:void(0)" class="add_chambre mx-2">
  414.                                                         <i class="fas fa-plus-square font-size-21 text-primary"></i>
  415.                                                     </a>
  416.                                                     <a href="javascript:void(0)"
  417.                                                        class="reset_chambres pull-right">
  418.                                                         <i class="fas fa-redo-alt"></i>
  419.                                                     </a>
  420.                                                 </h4>
  421.                                                 <div class="chambres">
  422.                                                     <div class="chambre first" id="chambre_1">
  423.                                                         <div class="form-group">
  424.                                                             <a style="display: none" href="javascript:void(0)"
  425.                                                                class="delete_chambre pull-right">
  426.                                                                 <i class="fas fa-trash"></i>
  427.                                                             </a>
  428.                                                             <label class="control-label chmbr"
  429.                                                                    style="float: right">{{ "Chambre"|trans }} 1</label>
  430.                                                             <select name="reservation[chambre][0][type]"
  431.                                                                     class="form-control chambre-select"
  432.                                                                     style=" width: 100%; ">
  433.                                                                 {% for key, chambre in details.typeChambre %}
  434.                                                                     <option value="{{ key }}">
  435.                                                                         {{ "Chambre"|trans }} {{ chambre }} </option>
  436.                                                                 {% endfor %}
  437.                                                             </select>
  438.                                                         </div>
  439.                                                         <div class="row">
  440.                                                             <div class="col-md-4 col-sm-4">
  441.                                                                 <div class="form-group">
  442.                                                                     <label>Adultes</label>
  443.                                                                     <div class="numbers-row d-flex  align-items-center">
  444.                                                                         <div class="dec button_inc"><i
  445.                                                                                     class="fas fa-minus-square font-size-21 text-primary"></i>
  446.                                                                         </div>
  447.                                                                         <input type="number" value="1"
  448.                                                                                class="qty2 form-control adultes bg-transparent noborder"
  449.                                                                                name="reservation[chambre][0][adultes]"
  450.                                                                                readonly>
  451.                                                                         <div class="inc button_inc"><i
  452.                                                                                     class="fas fa-plus-square font-size-21 text-primary"></i>
  453.                                                                         </div>
  454.                                                                     </div>
  455.                                                                 </div>
  456.                                                             </div>
  457.                                                             <div class="col-md-4 col-sm-4">
  458.                                                                 <div class="form-group">
  459.                                                                     <label>Enfants</label>
  460.                                                                     <div class="numbers-row d-flex  align-items-center">
  461.                                                                         <div class="dec button_inc"><i
  462.                                                                                     class="fas fa-minus-square font-size-21 text-primary"></i>
  463.                                                                         </div>
  464.                                                                         <input type="number" value="0"
  465.                                                                                class="qty2 form-control enfants bg-transparent noborder"
  466.                                                                                name="reservation[chambre][0][enfants]"
  467.                                                                                readonly>
  468.                                                                         <div class="inc button_inc"><i
  469.                                                                                     class="fas fa-plus-square font-size-21 text-primary"></i>
  470.                                                                         </div>
  471.                                                                     </div>
  472.                                                                 </div>
  473.                                                             </div>
  474.                                                             <div class="col-md-4 col-sm-4">
  475.                                                                 <div class="form-group">
  476.                                                                     <label>Bébés
  477.                                                                         {#  <small>(-2 ans)</small>#}
  478.                                                                     </label>
  479.                                                                     <div class="numbers-row d-flex  align-items-center">
  480.                                                                         <div class="dec button_inc"><i
  481.                                                                                     class="fas fa-minus-square font-size-21 text-primary"></i>
  482.                                                                         </div>
  483.                                                                         <input type="number" value="0"
  484.                                                                                class="qty2 form-control bebes bg-transparent noborder"
  485.                                                                                name="reservation[chambre][0][bebes]">
  486.                                                                         <div class="inc button_inc"><i
  487.                                                                                     class="fas fa-plus-square font-size-21 text-primary"></i>
  488.                                                                         </div>
  489.                                                                     </div>
  490.                                                                 </div>
  491.                                                             </div>
  492.                                                         </div>
  493.                                                     </div>
  494.                                                 </div>
  495.                                             </div>
  496.                                         </div>
  497.                                         <button class="btn_full theme-btn" type="submit">{{ "S'inscrire"|trans }}
  498.                                         </button>
  499.                                     </form>
  500.                                 </div>
  501.                             {% endif %}
  502.                             {% for pls in  details.PERIODES %}
  503.                                 {% if pls.plans|length>0 and loop.first %}
  504.                                     <div class="detail-block widget-categories details-vo-widget-categories-edit ">
  505.                                         <div class="widget-top">
  506.                                             <h3 class="widget-title details-vo-widget-title-edit">PLANS DE
  507.                                                 VOYAGE</h3>
  508.                                         </div>
  509.                                         <div class="form-group details-vo-form-group-edit">
  510.                                             <label class="control-label details-vo-control-label-edit"> {{ "Prochains #{type==8?'date':'départs'}"|trans }}</label>
  511.                                             <select class="form-control" id="sel2" style=" width: 100%; ">
  512.                                                 {% for periode in details.PERIODES %}
  513.                                                     <option value="{{ periode.id }}"
  514.                                                             {% if loop.first %}selected{% endif %}>
  515.                                                         {% if configAffichage.VOYAGE.TEXT_SELECT_PERIODES == "libelle" %}
  516.                                                             {{ periode.libelle }}
  517.                                                         {% elseif configAffichage.VOYAGE.TEXT_SELECT_PERIODES == "periode" %}
  518.                                                             {{ "du"|trans }}  {{ periode.du|date("d/m/Y") }} {{ "au"|trans }} {{ periode.au|date("d/m/Y") }}
  519.                                                         {% elseif configAffichage.VOYAGE.TEXT_SELECT_PERIODES == "libelle-periode" %}
  520.                                                             {{ periode.libelle }} {{ "du"|trans }}  {{ periode.du|date("d/m/Y") }} {{ "au"|trans }} {{ periode.au|date("d/m/Y") }}
  521.                                                         {% endif %}
  522.                                                     </option>
  523.                                                 {% endfor %}
  524.                                             </select>
  525.                                         </div>
  526.                                         <div class="details-vo-pack-edit">
  527.                                             <div class="details-vo-pack-list-edit">
  528.                                                 {% if details.PERIODES | length > 0 %}
  529.                                                     {% for periode in details.PERIODES %}
  530.                                                         {% set plans=periode.plans|length %}
  531.                                                         <div class="pack_item_palns details-vo-pack-item-palns-edit"
  532.                                                              id="pl-{{ periode.id }}"
  533.                                                              style="padding-top:20px;{% if loop.first %}display:block;{% else %}display:none;{% endif %}">
  534.                                                             {% for pl in periode.plans %}
  535.                                                                 <div class="widget-body details-vo-widget-body-edit " {% if not loop.last %}
  536.                                                                      style="border-bottom: 2px dotted #08a5ea;margin-bottom: 10px;"
  537.                                                                      {% endif %}id="plan-voyages">
  538.                                                                     {% if pl.company.logo is  null %}
  539.                                                                         <p> company:{{ pl.company.nom }}</p>
  540.                                                                     {% else %}
  541.                                                                         <div class="info_voyages_organises d-flex justify-content-between align-items-center"
  542.                                                                              style="justify-content: space-between;">
  543.                                                                             <img src="{{ pl.company.logo }}"
  544.                                                                                  class=""
  545.                                                                                  title="{{ pl.company.nom }}"
  546.                                                                                  style="width: 80px">
  547.                                                                             <div class="price details-vo-price-edit">{{ pl.description|raw }}</div>
  548.                                                                         </div>
  549.                                                                     {% endif %}
  550.                                                                     <div class=" d-flex "
  551.                                                                          style="justify-content: space-between;margin-top: 10px;"
  552.                                                                          id="palnvol">
  553.                                                                         <h6 style="width: 100%"> Aéroport Départ:
  554.                                                                             <br>
  555.                                                                             <div class="aeroport details-vo-aeroport-edit">{{ pl.aeroport }} </div>
  556.                                                                         </h6>
  557.                                                                         <div style="width: 150px"><img
  558.                                                                                     src="{{ asset('assets-commun/images/planeplan.svg') }}"
  559.                                                                                     class=""
  560.                                                                                     title="{{ pl.company.nom }}"
  561.                                                                                     style="width: 45px; "></div>
  562.                                                                         <h6 style="width: 85%">Aéroport Arrivée:
  563.                                                                             <br>
  564.                                                                             <div class="aeroport details-vo-aeroport-edit "> {{ pl.aeroport_arrivee }}</div>
  565.                                                                         </h6>
  566.                                                                     </div>
  567.                                                                 </div>
  568.                                                             {% endfor %}
  569.                                                         </div>
  570.                                                     {% endfor %}
  571.                                                 {% endif %}
  572.                                             </div>
  573.                                         </div>
  574.                                     </div>
  575.                                 {% endif %}
  576.                             {% endfor %}
  577.                             {% if configAffichage is defined and configAffichage!= null and configAffichage.VOYAGE.BLOCS_DETAILS == 3 %}
  578.                                 {% for description in details.descriptionsLateral %}
  579.                                     {% if description.type.libelle=="Autre" %}
  580.                                         <div class="detail-block widget-categories details-vo-widget-categories-edit">
  581.                                             {% if description.libelle is not null %}
  582.                                                 <div class="widget-top details-vo-widget-top-edit">
  583.                                                     <h3 class="widget-title details-vo-widget-title-edit">{{ description.libelle }}</h3>
  584.                                                 </div>
  585.                                             {% endif %}
  586.                                             <div class="widget-body details-vo-widget-body-edit">
  587.                                                 <p class="details-vo-widget-p-edit">{{ description.texte |raw }}</p>
  588.                                             </div>
  589.                                         </div>
  590.                                     {% endif %}
  591.                                 {% endfor %}
  592.                             {% endif %}
  593.                             {% for description in details.descriptionsLateral %}
  594.                                 {% if description.type.libelle!="Autre" %}
  595.                                     <div class="widget widget-categories details-vo-widget-categories-edit"
  596.                                          id="descriptionsLateral-detail-voyage-{{ loop.index }}">
  597.                                         {% if description.libelle is not null %}
  598.                                             <div class="widget-top details-vo-widget-top-edit">
  599.                                                 <h3 class="widget-title details-vo-widget-title-edit">{{ description.libelle }}</h3>
  600.                                             </div>
  601.                                         {% endif %}
  602.                                         <div class="widget-body details-vo-widget-body-edit">
  603.                                             <p class="details-vo-widget-p-edit">{{ description.texte |raw }}</p>
  604.                                         </div>
  605.                                     </div>
  606.                                 {% endif %}
  607.                             {% endfor %}
  608.                             {% if details.photosHotel|length>0 %}
  609.                                 <div class="detail-block widget-slider details-vo-widget-slider-edit">
  610.                                     <div class="widget-top details-vo-widget-top-edit">
  611.                                         <h3 class="widget-title details-vo-widget-title-edit"> {{ "Albums Photos Hôtel"|trans }}</h3>
  612.                                     </div>
  613.                                     <div class="widget-body details-vo-widget-body-edit">
  614.                                         <div class="property-widget-slider details-vo-property-widget-slider-edit">
  615.                                             {% for hotel in details.photosHotel %}
  616.                                                 <div class="item details-vo-item-edit">
  617.                                                     <div class="figure-block">
  618.                                                         <figure class="item-thumb">
  619.                                                             <a href="#" class="hover-effect">
  620.                                                                 <img src="{{ hotel.image }}" width="370"
  621.                                                                      height="202" alt="{{ hotel.alt }}">
  622.                                                             </a>
  623.                                                             {% if hotel.alt is not null %}
  624.                                                                 <div class="price details-vo-price-edit">
  625.                                                                     <span class="item-price details-vo-item-price-edit">{{ hotel.alt }}</span>
  626.                                                                 </div>
  627.                                                             {% endif %}
  628.                                                         </figure>
  629.                                                     </div>
  630.                                                 </div>
  631.                                             {% endfor %}
  632.                                         </div>
  633.                                     </div>
  634.                                 </div>
  635.                             {% endif %}
  636.                             <ul id="tools_2">
  637.                                 <li class="dropdown-new  details-vo-dropdown-new-partage-edit">
  638.                                     <div class="detail-block">
  639.                                         {#<a href="javascript:void(0)">
  640.                                             <i id="addthis" class="fa fa-share-alt"></i> {{ "Partager"|trans }}
  641.                                         </a>#}
  642.                                         <div class="share-buttons align-items-center">
  643.                                             <i class="fa fa-share-alt"></i> {{ "Partager"|trans }}
  644.                                             {% if reseauxSociaux and reseauxSociaux.facebook  is not null %}
  645.                                                 <button class="share-button facebook">
  646.                                                     <i class="fab fa-facebook-f"></i>
  647.                                                 </button>
  648.                                             {% endif %}
  649.                                             {% if reseauxSociaux and reseauxSociaux.twitter  is not null %}
  650.                                                 <button class="share-button twitter">
  651.                                                     <i class="fab fa-twitter"></i>
  652.                                                 </button>
  653.                                             {% endif %}
  654.                                             {% if reseauxSociaux and reseauxSociaux.twitter  is not null %}
  655.                                                 <button class="share-button linkedin">
  656.                                                     <i class="fab fa-linkedin"></i>
  657.                                                 </button>
  658.                                             {% endif %}
  659.                                             {% if reseauxSociaux and reseauxSociaux.instagram  is not null %}
  660.                                                 <button class="share-button instagram">
  661.                                                     <i class="fab fa-instagram"></i>
  662.                                                 </button>
  663.                                             {% endif %}
  664.                                         </div>
  665.                                     </div>
  666.                                 </li>
  667.                                 {% if  details.maps |length > 0 %}
  668.                                     <li>
  669.                                         {% for map in details.maps %}
  670.                                             {% if loop.first %}
  671.                                                 <a href="{{ asset(map) }}" data-thumbnail="{{ asset(map) }}"
  672.                                                    class="video html5lightbox" data-group="map"><i
  673.                                                             class="fa fa-map-marker-alt"></i>Afficher
  674.                                                     la carte</a>
  675.                                             {% endif %}
  676.                                             <a href="{{ asset(map) }}" data-thumbnail="{{ asset(map) }}"
  677.                                                class="video html5lightbox" data-group="map"
  678.                                                style="display: none;"></a>
  679.                                         {% endfor %}
  680.                                     </li>
  681.                                 {% endif %}
  682.                                 {% if details.prog_pdf is not null %}
  683.                                     <li><a class="pdf-prog" target="_blank" href="{{ details.prog_pdf }}"><i
  684.                                                     class="fa fa-download"></i> {{ "Télécharger le programme"|trans }}
  685.                                         </a></li>
  686.                                 {% endif %}
  687.                                 {% if details.visa_pdf is not null %}
  688.                                     <li><a target="_blank" href="{{ asset(details.visa_pdf) }}"><i
  689.                                                     class="fas fa-cloud-download-alt"></i> {{ "Visas demandés"|trans }}
  690.                                         </a></li>
  691.                                 {% endif %}
  692.                                 {% if details.docs_pdf is not null %}
  693.                                     <li><a target="_blank" href="{{ asset(details.docs_pdf) }}"><i
  694.                                                     class="fas fa-cloud-download-alt"></i> {{ "Papiers nécessaires"|trans }}
  695.                                         </a></li>
  696.                                 {% endif %}
  697.                                 {% if details.videos|length > 0 %}
  698.                                     <li class="magnific-gallery" id="video-voyage">
  699.                                         {% for video in details.videos %}
  700.                                             {% if loop.index == 1 %}
  701.                                                 <a href="{{ video.embed }}" data-thumbnail="{{ video.thumb }}"
  702.                                                    class="video html5lightbox" data-group="omra">
  703.                                                     <i class="fa fa-file-video-o"></i> {{ "Galerie vidéos"|trans }}
  704.                                                 </a>
  705.                                             {% endif %}
  706.                                             <a style="display:none" href="{{ video.embed }}"
  707.                                                data-thumbnail="{{ video.thumb }}" class="video html5lightbox"
  708.                                                data-group="omra"></a>
  709.                                         {% endfor %}
  710.                                     </li>
  711.                                 {% endif %}
  712.                             </ul>
  713.                             {% if facebook and facebook!=null %}
  714.                                 <div class="detail-block fb-version" style="padding:10px">
  715.                                     <div class="fb-page"
  716.                                          data-tabs="timeline,events,messages"
  717.                                          data-href="{{ facebook }}"
  718.                                          data-small-header="false"
  719.                                          data-adapt-container-width="true"
  720.                                          data-hide-cover="false"
  721.                                          data-show-facepile="true"
  722.                                          data-show-posts="false"></div>
  723.                                     <div class="clearfix"></div>
  724.                                 </div>
  725.                             {% endif %}
  726.                             {% for article in ArticlesElement().desktop %}
  727.                                 {% if article.code=="infovoyage" %}
  728.                                     {% for ele in article.elements %}
  729.                                             <div class="detail-block " style="height: 490px">
  730.                                             <div class="widget-top">
  731.                                                 <h3 class="widget-title"
  732.                                                     style="color: #e41f26;font-weight: 600;text-align: center;"> {{ "Besoin  de plus d'informations"|trans }}  </h3>
  733.                                             </div>
  734.                                             <div class="widget-top" style="padding: 0px 50px 0px 50px;">
  735.                                                 <h3 class="widget-title"
  736.                                                     style="background: red;color: white; padding: 5px 5px 5px 5px;  border-radius: 17px;text-align: center;">{{ "Contactez-Nous"|trans }}  </h3>
  737.                                             </div>
  738.                                             <div class="widget-body ">
  739.                                                 <a href="tel:{{ agence.tel1 }}">
  740.                                                     <img src=" {{ domaineBack() }}/{{ ele.photo }}" alt="" class="">
  741.                                                 </a>
  742.                                                 <div class="container-ramco"
  743.                                                      style="float: left; {% if is_mobile() %} position: relative;top: 300px; {% endif %}">
  744.                                                     <a style="color: black" href="tel:{{ ele.metaDescriptions }}">
  745.                                                         <img style="box-shadow: 0px 10px 15px -3px rgb(0 0 0 / 30%);border-radius: 50%;"
  746.                                                              src="{{ asset('assets-commun/images/icons/phonevo-ramco.svg') }}"
  747.                                                              alt="" class="ramco-image">
  748.                                                     </a>
  749.                                                     {% if not is_mobile() %}
  750.                                                         <div class="middle">
  751.                                                             <div class="text-ramco">{{ ele.metaDescriptions }}</div>
  752.                                                         </div>
  753.                                                     {% endif %}
  754.                                                 </div>
  755.                                                 <div class="container-ramco2" style="float: right">
  756.                                                     <a style="color: black" href="tel:{{ ele.texte }}">
  757.                                                         <img style=" box-shadow: 0px 10px 15px -3px rgb(0 0 0 / 30%);border-radius: 50%;"
  758.                                                              src="{{ asset('assets-commun/images/icons/portable-vo-ramco.svg') }}"
  759.                                                              alt="" class="ramco-image2">
  760.                                                     </a>
  761.                                                     {% if not is_mobile() %}
  762.                                                         <div class="middle2">
  763.                                                             <div class="text-ramco2">{{ ele.texte }}</div>
  764.                                                         </div>
  765.                                                     {% endif %}
  766.                                                 </div>
  767.                                             </div>
  768.                                         </div>
  769.                                     {% endfor %}
  770.                                 {% endif %}
  771.                             {% endfor %}
  772.                         </aside>
  773.                     </div>
  774.                 </div>
  775.             </div>
  776.         </div>
  777.         <!--end detail content-->
  778.     </section>
  779.     {% if details.photosAlbum|length>0 %}
  780.         <div id="lightbox-popup-main" class="fade">
  781.             <div class="lightbox-popup">
  782.                 <div class="popup-inner">
  783.                     <div class="lightbox-left">
  784.                         <div class="lightbox-header">
  785.                             <div class="header-actions">
  786.                                 <ul class="actions">
  787.                                     <li class="lightbox-close">
  788.                                         <span><i class="fa fa-close"></i></span>
  789.                                     </li>
  790.                                 </ul>
  791.                             </div>
  792.                         </div>
  793.                         <div class="gallery-area">
  794.                             <div class="slider-placeholder">
  795.                                 <div class="loader-inner">
  796.                                     <span class="fa fa-spin fa-spinner"></span> {{ "Téléchargement..."|trans }}
  797.                                 </div>
  798.                             </div>
  799.                             <div class="expand-icon lightbox-expand hidden-xs"></div>
  800.                             <div class="gallery-inner">
  801.                                 <div class="lightbox-slide slide-animated">
  802.                                     {% for image in details.photosAlbum %}
  803.                                         <div>
  804.                                             <img src="{{ image }}" alt="Lightbox Slider" width="1170" height="525">
  805.                                         </div>
  806.                                     {% endfor %}
  807.                                 </div>
  808.                             </div>
  809.                             <div class="lightbox-slide-nav visible-xs">
  810.                                 <button class="lightbox-arrow-left lightbox-arrow"><i class="fa fa-angle-left"></i>
  811.                                 </button>
  812.                                 <button class="lightbox-arrow-right lightbox-arrow"><i
  813.                                             class="fa fa-angle-right"></i></button>
  814.                             </div>
  815.                         </div>
  816.                     </div>
  817.                 </div>
  818.             </div>
  819.         </div>
  820.     {% endif %}
  821. {% endif %}