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

Open in your IDE?
  1. <div class="detail-top">
  2.     <div class="container">
  3.         <div class="membership-content-area">
  4.             <div class="row row-blog-reverse">
  5.                 <div class="col-lg-8 col-md-8 col-sm-12 col-12 container-contentbar">
  6.                     <div class="content">
  7.                         {% set step=1 %}
  8.                         <form method="post" id="form-reservation" enctype="multipart/form-data"
  9.                                 {#                                  action="{{ path(app.session.get('routeConfirm')?app.session.get('routeConfirm'):'confirmation',{'slug':details.slug,Paiement:'Agence'}) }}"#}
  10.                               onsubmit="
  11.                                       if($(`[name='data[chambresingle]']`).val()==0 &&
  12.                                       $(`[name='data[chambredouble]']`).val()==0 &&
  13.                                       $(`[name='data[chambretriple]']`).val()==0 &&
  14.                                       $(`[name='data[chambrequadruple]']`).val()==0){
  15.                                       viewAlert('{{ "Veuillez sélectionner au moins une chambre !."|trans }}','warning')
  16.                                       return false
  17.                                       }
  18.                                       return true
  19.                                       ">
  20.                             <input type="hidden" name="routeConfirm"
  21.                                    value="{{ app.session.get('routeConfirm') ? app.session.get('routeConfirm') : 'confirmation' }}">
  22.                             {% if type==2 %}
  23.                                 <div class="widget-info">
  24.                                     <div class="info-title">
  25.                                         <h2 class="info-title-left">
  26.                                             {% if  configAffichage!= null and configAffichage.GENERALE.NUMEROTATION_TITLE_FORM is defined and configAffichage.GENERALE.NUMEROTATION_TITLE_FORM == 'oui' %}
  27.                                                 <strong>{{ step }}</strong>
  28.                                                 {% set step=step+1 %}
  29.                                             {% endif %}
  30.                                             Choisissez la date de départ qui vous convient
  31.                                         </h2>
  32.                                     </div>
  33.                                     <div class="step marginbottom">
  34.                                         <div class="input-calendar input-icon icon-v2">
  35.                                             <label class="control-label">Date de départ <span
  36.                                                         class="obligatoire">*</span></label>
  37.                                             <input type="date" required name="data[depart]" class="form-control">
  38.                                         </div>
  39.                                     </div>
  40.                                 </div>
  41.                             {% endif %}
  42.                             <div class="widget-info">
  43.                                 <div class="info-title">
  44.                                     <h2 class="info-title-left">
  45.                                         {% if  configAffichage!= null and configAffichage.GENERALE.NUMEROTATION_TITLE_FORM is defined and configAffichage.GENERALE.NUMEROTATION_TITLE_FORM == 'oui' %}
  46.                                             <strong>{{ step }}</strong>
  47.                                             {% set step=step+1 %}
  48.                                         {% endif %}
  49.                                         {% if type==8 %}
  50.                                             {{ "Occupations"|trans }}
  51.                                         {% else %}
  52.                                             {{ "Type de chambre"|trans }}
  53.                                         {% endif %}
  54.                                     </h2>
  55.                                 </div>
  56.                                 <input type="hidden" name="pack" value="{{ packs.id }}">
  57.                                 <input type="hidden" name="data[idPack]" value="{{ packs.id }}">
  58.                                 <input type="hidden" name="data[idClient]" value="">
  59.                                 <input type="hidden" name="data[couponReduction]" id="couponReduction" value="">
  60.                                 <input type="hidden" name="data[nuitees]" id="nuitees" value="">
  61.                                 <input type="hidden" name="data[dateDebut]" id="dateDebut" value="">
  62.                                 <div class="step">
  63.                                     {% if packs.tarifs.double is defined %}
  64.                                         <div class="row_billetterie">
  65.                                             <div class="row_billetterie_double">
  66.                                                 <div class="row row_billetterie">
  67.                                                     <div class="col-md-4 textright margin-mobile-vo"
  68.                                                          style="margin-top: 10px;">
  69.                                                         <div class="margtop15" {% if is_mobile() %} style="float: left;top: 12px;position: relative;" {% endif %}>
  70.                                                             <span class="dark"> {{ packs.tarifs.double.name|trans }} </span>
  71.                                                         </div>
  72.                                                         {% if is_mobile() %}
  73.                                                             <div style="float: right">
  74.                                                                 <div class="font-weight-bold">
  75.                                                                     {% if packs.tarifs.double.vente|number_format == '0' %}
  76.                                                                         Sur demande
  77.                                                                     {% else %}
  78.                                                                         {{ " à partir de"|trans }} {{ packs.tarifs.double.vente|devise }}
  79.                                                                         <sup>{{ app.session.get('devise').symbole|default('DT') }}</sup>
  80.                                                                     {% endif %}
  81.                                                                 </div>
  82.                                                             </div>
  83.                                                         {% endif %}
  84.                                                     </div>
  85.                                                     <div class="col-md-4">
  86.                                                         <div class="form-group select-style"
  87.                                                              style="margin-bottom: 15px;">
  88.                                                             <select data-name="double" name='data[chambredouble]'
  89.                                                                     class="form-control selectpicker" id="double"
  90.                                                                     required>
  91.                                                                 <option value="0">sélectionner chambre</option>
  92.                                                                 {% for i in 1..10 %}
  93.                                                                     <option value="{{ i }}">{{ i }}</option>
  94.                                                                 {% endfor %}
  95.                                                             </select>
  96.                                                         </div>
  97.                                                     </div>
  98.                                                     {% if not is_mobile() %}
  99.                                                         <div class="col-md-4">
  100.                                                             <div class="font-weight-bold">
  101.                                                                 {% if packs.tarifs.double.vente|number_format == '0' %}
  102.                                                                     Sur demande
  103.                                                                 {% else %}
  104.                                                                     {{ " à partir de"|trans }} {{ packs.tarifs.double.vente|devise }}
  105.                                                                     <sup>{{ app.session.get('devise').symbole|default('DT') }}</sup>
  106.                                                                 {% endif %}
  107.                                                             </div>
  108.                                                         </div>
  109.                                                     {% endif %}
  110.                                                 </div>
  111.                                             </div>
  112.                                             <div class="row row_billetterie occupants double"
  113.                                                  style="display: none">
  114.                                             </div>
  115.                                         </div>
  116.                                     {% endif %}
  117.                                     {% if packs.tarifs.single is defined %}
  118.                                         <div class=" row_billetterie">
  119.                                             <div class="row_billetterie_single">
  120.                                                 <div class="row row_billetterie">
  121.                                                     <div class="col-md-4 textright margin-mobile-vo"
  122.                                                          style="margin-top: 10px;">
  123.                                                         <div class="margtop15" {% if is_mobile() %} style="float: left;top: 12px;position: relative;" {% endif %}>
  124.                                                             <span class="dark">
  125.                                                                 {% if type == 8 %}
  126.                                                                     {{ "Nombre occupant"|trans }}
  127.                                                                 {% else %}
  128.                                                                     {{ packs.tarifs.single.name|trans }}
  129.                                                                 {% endif %}
  130.                                                             </span>
  131.                                                         </div>
  132.                                                         {% if is_mobile() %}
  133.                                                             <div style="float: right">
  134.                                                                 <div class="font-weight-bold">
  135.                                                                     {% if packs.tarifs.single.vente|number_format == '0' %}
  136.                                                                         Sur demande
  137.                                                                     {% else %}
  138.                                                                         {{ "à partir de"|trans }}  {{ packs.tarifs.single.vente|devise }}
  139.                                                                         <sup>{{ app.session.get('devise').symbole|default('DT') }}</sup>
  140.                                                                     {% endif %}
  141.                                                                 </div>
  142.                                                             </div>
  143.                                                         {% endif %}
  144.                                                     </div>
  145.                                                     <div class="col-md-4">
  146.                                                         <div class="form-group select-style"
  147.                                                              style="margin-bottom: 15px;">
  148.                                                             <select data-name="single" name='data[chambresingle]'
  149.                                                                     class="form-control selectpicker" id="single"
  150.                                                                     required>
  151.                                                                 <option value="0">
  152.                                                                     {% if type == 8 %}
  153.                                                                         sélectionner nombre occupant
  154.                                                                     {% else %}
  155.                                                                         sélectionner chambre
  156.                                                                     {% endif %}
  157.                                                                 </option>
  158.                                                                 {% for i in 1..10 %}
  159.                                                                     <option value="{{ i }}">{{ i }}</option>
  160.                                                                 {% endfor %}
  161.                                                             </select>
  162.                                                         </div>
  163.                                                     </div>
  164.                                                     {% if not is_mobile() %}
  165.                                                         <div class="col-md-4">
  166.                                                             <div class="font-weight-bold">
  167.                                                                 {% if packs.tarifs.single.vente|number_format == '0' %}
  168.                                                                     Sur demande
  169.                                                                 {% else %}
  170.                                                                     {{ "à partir de"|trans }}  {{ packs.tarifs.single.vente|devise }}
  171.                                                                     <sup>{{ app.session.get('devise').symbole|default('DT') }}</sup>
  172.                                                                 {% endif %}
  173.                                                             </div>
  174.                                                         </div>
  175.                                                     {% endif %}
  176.                                                 </div>
  177.                                             </div>
  178.                                             <div class="row row_billetterie occupants single"
  179.                                                  style="display: none">
  180.                                             </div>
  181.                                         </div>
  182.                                     {% endif %}
  183.                                     {% if packs.tarifs.triple is defined %}
  184.                                         <div class=" row_billetterie">
  185.                                             <div class="row_billetterie_triple">
  186.                                                 <div class="row row_billetterie">
  187.                                                     <div class="col-md-4 textright margin-mobile-vo"
  188.                                                          style="margin-top: 10px;">
  189.                                                         <div class="margtop15" {% if is_mobile() %} style="float: left;top: 12px;position: relative;" {% endif %}>
  190.                                                             <span class="dark">  {{ packs.tarifs.triple.name|trans }}</span>
  191.                                                         </div>
  192.                                                         {% if is_mobile() %}
  193.                                                             <div style="float: right">
  194.                                                                 <div class="font-weight-bold">
  195.                                                                     {% if packs.tarifs.triple.vente|number_format == '0' %}
  196.                                                                         Sur demande
  197.                                                                     {% else %}
  198.                                                                         {{ "à partir de"|trans }} {{ packs.tarifs.triple.vente|devise }}
  199.                                                                         <sup>{{ app.session.get('devise').symbole|default('DT') }}</sup>
  200.                                                                     {% endif %}
  201.                                                                 </div>
  202.                                                             </div>
  203.                                                         {% endif %}
  204.                                                     </div>
  205.                                                     <div class="col-md-4">
  206.                                                         <div class="form-group select-style"
  207.                                                              style="margin-bottom: 15px;">
  208.                                                             <select data-name="triple" name='data[chambretriple]'
  209.                                                                     class="form-control selectpicker" id="triple"
  210.                                                                     required>
  211.                                                                 <option value="0">sélectionner chambre</option>
  212.                                                                 {% for i in 1..10 %}
  213.                                                                     <option value="{{ i }}">{{ i }}</option>
  214.                                                                 {% endfor %}
  215.                                                             </select>
  216.                                                         </div>
  217.                                                     </div>
  218.                                                     {% if not is_mobile() %}
  219.                                                         <div class="col-md-4">
  220.                                                             <div class="font-weight-bold">
  221.                                                                 {% if packs.tarifs.triple.vente|number_format == '0' %}
  222.                                                                     Sur demande
  223.                                                                 {% else %}
  224.                                                                     {{ "à partir de"|trans }} {{ packs.tarifs.triple.vente|devise }}
  225.                                                                     <sup>{{ app.session.get('devise').symbole|default('DT') }}</sup>
  226.                                                                 {% endif %}
  227.                                                             </div>
  228.                                                         </div>
  229.                                                     {% endif %}
  230.                                                 </div>
  231.                                             </div>
  232.                                             <div class="row row_billetterie occupants triple"
  233.                                                  style="display: none"></div>
  234.                                         </div>
  235.                                     {% endif %}
  236.                                     {% if packs.tarifs.quadruple is defined %}
  237.                                         <div class=" row_billetterie">
  238.                                             <div class="row_billetterie_quadruple">
  239.                                                 <div class="row row_billetterie">
  240.                                                     <div class="col-md-4 textright margin-mobile-vo"
  241.                                                          style="margin-top: 10px;">
  242.                                                         <div class="margtop15" {% if is_mobile() %} style="float: left;top: 12px;position: relative;" {% endif %}>
  243.                                                             <span class="dark">  {{ packs.tarifs.quadruple.name|trans }}</span>
  244.                                                         </div>
  245.                                                         {% if is_mobile() %}
  246.                                                             <div style="float: right">
  247.                                                                 <div class="font-weight-bold">
  248.                                                                     {% if packs.tarifs.quadruple.vente|number_format == '0' %}
  249.                                                                         Sur demande
  250.                                                                     {% else %}
  251.                                                                         {{ "à partir de"|trans }} {{ packs.tarifs.quadruple.vente|devise }}
  252.                                                                         <sup>{{ app.session.get('devise').symbole|default('DT') }}</sup>
  253.                                                                     {% endif %}
  254.                                                                 </div>
  255.                                                             </div>
  256.                                                         {% endif %}
  257.                                                     </div>
  258.                                                     <div class="col-md-4">
  259.                                                         <div class="form-group select-style"
  260.                                                              style="margin-bottom: 15px;">
  261.                                                             <select data-name="quadruple" name='data[chambrequadruple]'
  262.                                                                     class="form-control selectpicker" id="quadruple"
  263.                                                                     required>
  264.                                                                 <option value="0">sélectionner chambre</option>
  265.                                                                 {% for i in 1..10 %}
  266.                                                                     <option value="{{ i }}">{{ i }}</option>
  267.                                                                 {% endfor %}
  268.                                                             </select>
  269.                                                         </div>
  270.                                                     </div>
  271.                                                     {% if not is_mobile() %}
  272.                                                         <div class="col-md-4">
  273.                                                             <div class="font-weight-bold">
  274.                                                                 {% if packs.tarifs.quadruple.vente|number_format == '0' %}
  275.                                                                     Sur demande
  276.                                                                 {% else %}
  277.                                                                     {{ "à partir de"|trans }} {{ packs.tarifs.quadruple.vente|devise }}
  278.                                                                     <sup>{{ app.session.get('devise').symbole|default('DT') }}</sup>
  279.                                                                 {% endif %}
  280.                                                             </div>
  281.                                                         </div>
  282.                                                     {% endif %}
  283.                                                 </div>
  284.                                             </div>
  285.                                             <div class="row row_billetterie occupants quadruple"
  286.                                                  style="display: none"></div>
  287.                                         </div>
  288.                                     {% endif %}
  289.                                 </div>
  290.                                 {% if packs.tarifs.supplements|length >0 %}
  291.                                     <div class="info-title">
  292.                                         <h2 class="info-title-left">
  293.                                             {% if  configAffichage!= null and configAffichage.GENERALE.NUMEROTATION_TITLE_FORM is defined and configAffichage.GENERALE.NUMEROTATION_TITLE_FORM == 'oui' %}
  294.                                                 <strong>{{ step }}</strong>
  295.                                                 {% set step=step+1 %}
  296.                                             {% endif %}
  297.                                            Suppléments </h2>
  298.                                     </div>
  299.                                     <div class="step row">
  300.                                         <div class="">
  301.                                             <table style="margin-top:0px"
  302.                                                    class="table table-bordered table-striped table-condensed">
  303.                                                 <thead>
  304.                                                 <tr>
  305.                                                     <th></th>
  306.                                                     <th style="color: black;"> {{ "Prix Adulte"|trans }} </th>
  307.                                                     {% if details.agesEnfant.minAge1 is not null and details.agesEnfant.minAge1 > 0 %}
  308.                                                         <th style="color: black;"> {{ "Prix Enfant"|trans }}
  309.                                                             {{ "entre"|trans }}  {{ details.agesEnfant.minAge1 }}
  310.                                                             {{ "et"|trans }} {{ details.agesEnfant.maxAge1 }}</th>
  311.                                                     {% endif %}
  312.                                                     {% if details.agesEnfant.minAge2 is not null and details.agesEnfant.minAge2 > 0 %}
  313.                                                         <th style="color: black;">{{ "Prix Enfant"|trans }}
  314.                                                             {{ "entre"|trans }} {{ details.agesEnfant.minAge2 }}
  315.                                                             {{ "et"|trans }} {{ details.agesEnfant.maxAge2 }}</th>
  316.                                                     {% endif %}
  317.                                                     <th style="color: black;"> {{ "Prix bebe"|trans }}</th>
  318.                                                 </tr>
  319.                                                 </thead>
  320.                                                 {% for option in packs.tarifs.supplements %}
  321.                                                     <tbody>
  322.                                                     <tr>
  323.                                                         <td>
  324.                                                             <div class="">
  325.                                                                 <label><input id="supplements"
  326.                                                                               style="width: 16px; height: 16px; cursor: pointer;"
  327.                                                                               type="checkbox"
  328.                                                                               name="data[supplement{{ option.id }}]"
  329.                                                                               {% if option.obligatoire %}disabled
  330.                                                                               checked {% endif %}/> {{ option.libelle }} {% if option.obligatoire %}
  331.                                                                         <small> {{ "Obligatoire"|trans }} </small>{% endif %}
  332.                                                                 </label>
  333.                                                             </div>
  334.                                                         </td>
  335.                                                         <td>
  336.                                                             <div class="text-center">
  337.                                                                 {% if option.adulte is not null %}
  338.                                                                     {{ option.adulte|devise }}
  339.                                                                     <sup>{{ app.session.get('devise').symbole|default('DT') }}</sup>
  340.                                                                 {% else %}
  341.                                                                     <i class="fa fa-ban fa-2x"></i>
  342.                                                                 {% endif %}
  343.                                                             </div>
  344.                                                         </td>
  345.                                                         {% if details.agesEnfant.minAge1 is not null and details.agesEnfant.minAge1 > 0 %}
  346.                                                             <td>
  347.                                                                 <div class="text-center">
  348.                                                                     {% if option.enfant1 is not null %}
  349.                                                                         {{ option.enfant1|devise }}
  350.                                                                         <sup>{{ app.session.get('devise').symbole|default('DT') }}</sup>
  351.                                                                     {% else %}
  352.                                                                         <i style="font-size: 1.7em;"
  353.                                                                            class="fa fa-ban"></i>
  354.                                                                     {% endif %}
  355.                                                                 </div>
  356.                                                             </td>
  357.                                                         {% endif %}
  358.                                                         {% if details.agesEnfant.minAge2 is not null and details.agesEnfant.minAge2 > 0 %}
  359.                                                             <td>
  360.                                                                 <div class="text-center">
  361.                                                                     {% if option.enfant2 is not null %}
  362.                                                                         {{ option.enfant2|devise }}
  363.                                                                         <sup>{{ app.session.get('devise').symbole|default('DT') }}</sup>
  364.                                                                     {% else %}
  365.                                                                         <i style="font-size: 1.7em;"
  366.                                                                            class="fa fa-ban"></i>
  367.                                                                     {% endif %}
  368.                                                                 </div>
  369.                                                             </td>
  370.                                                         {% endif %}
  371.                                                         <td>
  372.                                                             <div class="text-center">
  373.                                                                 {% if option.bebe is not null %}
  374.                                                                     {{ option.bebe|devise }}
  375.                                                                     <sup>{{ app.session.get('devise').symbole|default('DT') }}</sup>
  376.                                                                 {% else %}
  377.                                                                     <i style="font-size: 1.7em;"
  378.                                                                        class="fa fa-ban"></i>
  379.                                                                 {% endif %}
  380.                                                             </div>
  381.                                                         </td>
  382.                                                     </tr>
  383.                                                     </tbody>
  384.                                                 {% endfor %}
  385.                                             </table>
  386.                                         </div>
  387.                                     </div>
  388.                                 {% endif %}
  389.                             </div>
  390.                             {% if periode.excursions| length >0 %}
  391.                                 <div class="widget-info">
  392.                                     <div class="info-title">
  393.                                         <h2 class="info-title-left">
  394.                                             {% if  configAffichage!= null and configAffichage.GENERALE.NUMEROTATION_TITLE_FORM is defined and configAffichage.GENERALE.NUMEROTATION_TITLE_FORM == 'oui' %}
  395.                                                 <strong>{{ step }}</strong>
  396.                                                 {% set step=step+1 %}
  397.                                             {% endif %}
  398.                                             {{ "Circuits & excursions"|trans }} </h2>
  399.                                     </div>
  400.                                     <div class=" step row">
  401.                                         <div class="">
  402.                                             <table style="margin-top:0px"
  403.                                                    class="table table-bordered table-striped table-condensed">
  404.                                                 <thead>
  405.                                                 <tr>
  406.                                                     <th></th>
  407.                                                     <th style="color: black;"> {{ "Prix Adulte"|trans }}</th>
  408.                                                     {% if details.agesEnfant.minAge1 is not null and details.agesEnfant.minAge1 > 0 %}
  409.                                                         <th style="color: black;"> {{ "Prix Enfant"|trans }}
  410.                                                             {{ "entre"|trans }} {{ details.agesEnfant.minAge1 }}
  411.                                                             {{ "et"|trans }} {{ details.agesEnfant.maxAge1 }}</th>
  412.                                                     {% endif %}
  413.                                                     {% if details.agesEnfant.minAge2 is not null and details.agesEnfant.minAge2 > 0 %}
  414.                                                         <th style="color: black;"> {{ "Prix Enfant"|trans }}
  415.                                                             {{ "entre"|trans }} {{ details.agesEnfant.minAge2 }}
  416.                                                             {{ "et"|trans }} {{ details.agesEnfant.maxAge2 }}</th>
  417.                                                     {% endif %}
  418.                                                     <th style="color: black;"> {{ "Prix Bebe"|trans }}</th>
  419.                                                 </tr>
  420.                                                 </thead>
  421.                                                 {% for option in periode.excursions %}
  422.                                                     <tbody>
  423.                                                     <tr>
  424.                                                         <td>
  425.                                                             <div class="">
  426.                                                                 <label><input id="excrsion"
  427.                                                                               style="width: 16px; height: 16px; cursor: pointer;"
  428.                                                                               type="checkbox"
  429.                                                                               name="data[circuit{{ option.id }}]"
  430.                                                                               {% if option.obligatoire %}disabled
  431.                                                                               checked {% endif %}/> {{ option.libelle }} {% if option.obligatoire %}
  432.                                                                         <small> {{ "Obligatoire"|trans }}</small>{% endif %}
  433.                                                                 </label>
  434.                                                             </div>
  435.                                                         </td>
  436.                                                         <td>
  437.                                                             <div class="text-center">
  438.                                                                 {% if option.adulte is not null %}
  439.                                                                     {{ option.adulte|devise }}
  440.                                                                     <sup>{{ app.session.get('devise').symbole|default('DT') }}</sup>
  441.                                                                 {% else %}
  442.                                                                     <i style="font-size: 1.7em;"
  443.                                                                        class="fa fa-ban"></i>
  444.                                                                 {% endif %}
  445.                                                             </div>
  446.                                                         </td>
  447.                                                         {% if details.agesEnfant.minAge1 is not null and details.agesEnfant.minAge1 > 0 %}
  448.                                                             <td>
  449.                                                                 <div class="text-center">
  450.                                                                     {% if option.enfant1 is not null %}
  451.                                                                         {{ option.enfant1|devise }}
  452.                                                                         <sup>{{ app.session.get('devise').symbole|default('DT') }}</sup>
  453.                                                                     {% else %}
  454.                                                                         <i class="fa fa-ban fa-2x"></i>
  455.                                                                     {% endif %}
  456.                                                                 </div>
  457.                                                             </td>
  458.                                                         {% endif %}
  459.                                                         {% if details.agesEnfant.minAge2 is not null and details.agesEnfant.minAge2 > 0 %}
  460.                                                             <td>
  461.                                                                 <div class="text-center">
  462.                                                                     {% if option.enfant2 is not null and option.enfant2 > 0 %}
  463.                                                                         {{ option.enfant2|devise }}
  464.                                                                         <sup>{{ app.session.get('devise').symbole|default('DT') }}</sup>
  465.                                                                     {% else %}
  466.                                                                         <i class="fa fa-ban fa-2x"></i>
  467.                                                                     {% endif %}
  468.                                                                 </div>
  469.                                                             </td>
  470.                                                         {% endif %}
  471.                                                         <td>
  472.                                                             <div class="text-center">
  473.                                                                 {% if option.bebe is not null %}
  474.                                                                     {{ option.bebe|devise }}
  475.                                                                     <sup>{{ app.session.get('devise').symbole|default('DT') }}</sup>
  476.                                                                 {% else %}
  477.                                                                     <i class="fa fa-ban fa-2x"></i>
  478.                                                                 {% endif %}
  479.                                                             </div>
  480.                                                         </td>
  481.                                                     </tr>
  482.                                                     </tbody>
  483.                                                 {% endfor %}
  484.                                             </table>
  485.                                         </div>
  486.                                     </div>
  487.                                 </div>
  488.                             {% endif %}
  489.                             {% if periode.frais|length >0 %}
  490.                                 <div class="widget-info">
  491.                                     <div class="info-title">
  492.                                         <h2 class="info-title-left">
  493.                                             {% if  configAffichage!= null and configAffichage.GENERALE.NUMEROTATION_TITLE_FORM is defined and configAffichage.GENERALE.NUMEROTATION_TITLE_FORM == 'oui' %}
  494.                                                 <strong>{{ step }}</strong>
  495.                                                 {% set step=step+1 %}
  496.                                             {% endif %}
  497.                                             Autres frais divers </h2>
  498.                                     </div>
  499.                                     <div class="step row">
  500.                                         <div class="">
  501.                                             <table style="margin-top:0px"
  502.                                                    class="table table-bordered table-striped table-condensed">
  503.                                                 <thead>
  504.                                                 <tr>
  505.                                                     <th></th>
  506.                                                     <th style="color: black;"> {{ "Prix Adulte"|trans }}</th>
  507.                                                     {% if details.agesEnfant.minAge1 is not null and details.agesEnfant.minAge1 > 0 %}
  508.                                                         <th style="color: black;"> {{ "Prix Enfant"|trans }}
  509.                                                             {{ "entre"|trans }} {{ details.agesEnfant.minAge1 }}
  510.                                                             {{ "et"|trans }} {{ details.agesEnfant.maxAge1 }}</th>
  511.                                                     {% endif %}
  512.                                                     {% if details.agesEnfant.minAge2 is not null and details.agesEnfant.minAge2 > 0 %}
  513.                                                         <th style="color: black;"> {{ "Prix Enfant"|trans }}
  514.                                                             {{ "entre"|trans }} {{ details.agesEnfant.minAge2 }}
  515.                                                             {{ "et"|trans }} {{ details.agesEnfant.maxAge2 }}</th>
  516.                                                     {% endif %}
  517.                                                     <th style="color: black;"> {{ "Prix Bebe"|trans }}</th>
  518.                                                 </tr>
  519.                                                 </thead>
  520.                                                 {% for option in periode.frais %}
  521.                                                     <tbody>
  522.                                                     <tr>
  523.                                                         <td>
  524.                                                             <div class="text-center">
  525.                                                                 <label><input id="frais"
  526.                                                                               style="width: 16px; height: 16px; cursor: pointer;"
  527.                                                                               type="checkbox"
  528.                                                                               name="data[frai{{ option.id }}]"
  529.                                                                               {% if option.obligatoire %}disabled
  530.                                                                               checked {% endif %}/> {{ option.libelle }} {% if option.obligatoire %}
  531.                                                                         <small> {{ "Obligatoire"|trans }}</small>{% endif %}
  532.                                                                 </label>
  533.                                                             </div>
  534.                                                         </td>
  535.                                                         <td>
  536.                                                             <div class="text-center">
  537.                                                                 {% if option.adulte is not null %}
  538.                                                                     {{ option.adulte|devise }}
  539.                                                                     <sup>{{ app.session.get('devise').symbole|default('DT') }}</sup>
  540.                                                                 {% else %}
  541.                                                                     <i style="font-size: 1.7em;"
  542.                                                                        class="fa fa-ban"></i>
  543.                                                                 {% endif %}
  544.                                                             </div>
  545.                                                         </td>
  546.                                                         {% if details.agesEnfant.minAge1 is not null and details.agesEnfant.minAge1 > 0 %}
  547.                                                             <td>
  548.                                                                 <div class="text-center">
  549.                                                                     {% if option.enfant1 is not null %}
  550.                                                                         {{ option.enfant1|devise }}
  551.                                                                         <sup>{{ app.session.get('devise').symbole|default('DT') }}</sup>
  552.                                                                     {% else %}
  553.                                                                         <i class="fa fa-ban fa-2x"></i>
  554.                                                                     {% endif %}
  555.                                                                 </div>
  556.                                                             </td>
  557.                                                         {% endif %}
  558.                                                         {% if details.agesEnfant.minAge2 is not null and details.agesEnfant.minAge2 > 0 %}
  559.                                                             <td>
  560.                                                                 <div class="text-center">
  561.                                                                     {% if option.enfant2 is not null %}
  562.                                                                         {{ option.enfant2|devise }}
  563.                                                                         <sup>{{ app.session.get('devise').symbole|default('DT') }}</sup>
  564.                                                                     {% else %}
  565.                                                                         <i class="fa fa-ban fa-2x"></i>
  566.                                                                     {% endif %}
  567.                                                                 </div>
  568.                                                             </td>
  569.                                                         {% endif %}
  570.                                                         <td>
  571.                                                             <div class="text-center">
  572.                                                                 {% if option.bebe is not null %}
  573.                                                                     {{ option.bebe|devise }}
  574.                                                                     <sup>{{ app.session.get('devise').symbole|default('DT') }}</sup>
  575.                                                                 {% else %}
  576.                                                                     <i class="fa fa-ban fa-2x"></i>
  577.                                                                 {% endif %}
  578.                                                             </div>
  579.                                                         </td>
  580.                                                     </tr>
  581.                                                     </tbody>
  582.                                                 {% endfor %}
  583.                                             </table>
  584.                                         </div>
  585.                                     </div>
  586.                                 </div>
  587.                             {% endif %}
  588.                             <div class="widget-info">
  589.                                 <div class="info-title">
  590.                                     <h2 class="info-title-left">
  591.                                         {% if  configAffichage!= null and configAffichage.GENERALE.NUMEROTATION_TITLE_FORM is defined and configAffichage.GENERALE.NUMEROTATION_TITLE_FORM == 'oui' %}
  592.                                             <strong>{{ step }}</strong>
  593.                                             {% set step=step+1 %}
  594.                                         {% endif %}
  595.                                         {{ "Informations Client"|trans }} </h2>
  596.                                 </div>
  597.                                 <div class="step info-detail">
  598.                                     <div class="row">
  599.                                         <div class="col-sm-6">
  600.                                             <div class="form-group">
  601.                                                 <div class="input-user input-icon icon-v2">
  602.                                                     <label for="">   {{ "Nom & Prénom"|trans }} <span
  603.                                                                 class="obligatoire">*</span> </label>
  604.                                                     <input type="text" name="data[form][client][nomPrenom]"
  605.                                                            required
  606.                                                            id="nomPrenom" class="form-control "
  607.                                                            placeholder="Entrez votre nom & prénom *">
  608.                                                 </div>
  609.                                             </div>
  610.                                         </div>
  611.                                         <div class="col-sm-6">
  612.                                             <div class="form-group">
  613.                                                 <div class="input-email input-icon icon-v2">
  614.                                                     <label for=""> {{ "Email"|trans }} {#<span class="obligatoire">*</span>#} </label>
  615.                                                     <input type="email" name="data[form][client][email]"
  616.                                                            id="email"
  617.                                                         {#   required#}
  618.                                                            class="form-control"
  619.                                                            placeholder="Entrez votre email">
  620.                                                 </div>
  621.                                             </div>
  622.                                         </div>
  623.                                         {% set matricule = (configAffichage.VOYAGE.INPUT_MATRICULE_TARIFS_DISPO == 'oui' and (amicale or (client and client.amicale))) %}
  624.                                         {% set adresse = not (amicale and amicale.configs.HIDE_ADDRESS_IN_TARIF_DISPO is defined and amicale.configs.HIDE_ADDRESS_IN_TARIF_DISPO|upper == 'TRUE') %}
  625.                                         {% set matricule_required = amicale and amicale.configs.MATRICULE_REQUIRED is defined and amicale.configs.MATRICULE_REQUIRED|upper == 'TRUE' %}
  626.                                         {% set colmd = 12 /  (1 + (matricule ? 1 : 0) + (adresse ? 1 : 0)) %}
  627.                                         <div class="col-sm-{{ colmd }}">
  628.                                             <div class="form-group">
  629.                                                 <div class="input-phone input-icon icon-v2">
  630.                                                     <label for=""> {{ "GSM"|trans }} <span
  631.                                                                 class="obligatoire">*</span></label>
  632.                                                     <input type="number" name="data[form][client][tel1]" id="tel1"
  633.                                                            required
  634.                                                            class="form-control"
  635.                                                            placeholder="Entrez votre GSM *">
  636.                                                 </div>
  637.                                             </div>
  638.                                         </div>
  639.                                         {% if adresse %}
  640.                                             <div class="col-sm-{{ colmd }}">
  641.                                                 <div class="form-group">
  642.                                                     <div class="input-marker input-icon icon-v2">
  643.                                                         <label for=""> {{ "Adresse"|trans }}</label>
  644.                                                         <input type="text" name="data[form][client][adresse]"
  645.                                                                id="adresse" class="form-control"
  646.                                                                placeholder="Entrez votre adresse *">
  647.                                                     </div>
  648.                                                 </div>
  649.                                             </div>
  650.                                         {% endif %}
  651.                                         {% set matricule_label = '' %}
  652.                                         {% if  amicale and amicale.configs.MATRICULE_LABEL is defined %}
  653.                                             {% set matricule_label = amicale.configs.MATRICULE_LABEL  %}
  654.                                         {% endif %}
  655.                                         {% if matricule %}
  656.                                             <div class="col-sm-{{ colmd }}">
  657.                                                 <div class="form-group">
  658.                                                     <div class="input-barcode input-icon icon-v2">
  659.                                                         <label for=""> {% if matricule_label != '' %}  {{ matricule_label }} {% else%} {{ "Matricule"|trans }} {% endif%} <span
  660.                                                                     class="obligatoire">*</span></label>
  661.                                                         <input type="text" class="form-control"
  662.                                                                {% if matricule_required %}required{% endif %}
  663.                                                                name="data[form][client][matricule]"
  664.                                                                placeholder= {% if matricule_label != '' %}   " Entrez votre {{matricule_label }} " {% else%} "{{ " Entrez votre matricule"|trans }}" {% endif%}>
  665.                                                     </div>
  666.                                                 </div>
  667.                                             </div>
  668.                                         {% endif %}
  669.                                         {% if  configAffichage.VOYAGE.JOINDER_PASSPORT == 'oui' %}
  670.                                             <div class="col-sm-6">
  671.                                                 <div class="form-group">
  672.                                                     <div class="info-title">
  673.                                                         <h2 class="info-title-left title-copie-passport"> {{ "Joindre copie(s) passeport"|trans }} </h2>
  674.                                                     </div>
  675.                                                     <div class="passport-info d-inline">
  676.                                                         <a href="javascript:void(0)" id="addVisa"> Télécharger
  677.                                                             votre
  678.                                                             fichier <i class="fa fa-plus bg-plus"
  679.                                                                        aria-hidden="true"
  680.                                                                        class="mr-2"> </i> </a>
  681.                                                         <a href="javascript:void(0)" id="removeVisa">
  682.                                                             <i class="fa fa-trash bg-minus"
  683.                                                                aria-hidden="true"></i>
  684.                                                         </a>
  685.                                                     </div>
  686.                                                     <div class="info-detail ">
  687.                                                         <div class="row" id="visas"></div>
  688.                                                     </div>
  689.                                                 </div>
  690.                                             </div>
  691.                                         {% endif %}
  692.                                     </div>
  693.                                 </div>
  694.                             </div>
  695.                             {#        <div class="info-title">
  696.                                         <h2 class="info-title-left title-copie-passport"> Joindre copie passport </h2>
  697.                                         <span style="float: right">
  698.                                                 <a href="javascript:void(0)"
  699.                                                    style="font-size: 11px;font-weight: 400;text-transform: none;margin-right: 5px;"
  700.                                                    id="addVisa"><i class="fa fa-plus" aria-hidden="true"> </i>Passport</a>
  701.                                                 <a href="javascript:void(0)" style="font-size: 11px;font-weight: 400;text-transform: none"
  702.                                                    id="removeVisa"><i class="fa fa-trash-o" aria-hidden="true"></i> Passport</a>
  703.                                             </span>
  704.                                     </div>#}
  705.                             <div class="widget-info">
  706.                                 <div class="info-detail ">
  707.                                     <div class="row" id="visas"></div>
  708.                                 </div>
  709.                                 {% if amicale and amicale.configs.COMMENT_PAYEMENT is defined %}
  710.                                     {{ amicale.configs.COMMENT_PAYEMENT|raw }}
  711.                                 {% endif %}
  712.                                 {% if not (amicale and amicale.configs.HIDE_METHOD_PAYEMENT_IN_TARIF_DISPO is defined and amicale.configs.HIDE_METHOD_PAYEMENT_IN_TARIF_DISPO|upper == 'TRUE') %}
  713.                                     <div class="info-title">
  714.                                         <h2 class="info-title-left">
  715.                                             {% if  configAffichage!= null and configAffichage.GENERALE.NUMEROTATION_TITLE_FORM is defined and configAffichage.GENERALE.NUMEROTATION_TITLE_FORM == 'oui' %}
  716.                                                 <strong>{{ step }}</strong>
  717.                                                 {% set step=step+1 %}
  718.                                             {% endif %}
  719.                                             {{ "Mode de paiement"|trans }} </h2>
  720.                                     </div>
  721.                                     {% set  tablePv = pointsventes | filter (p=>not p.franchise) %}
  722.                                     {% set  tablePvFranchise =pointsventes | filter (p=>p.franchise) %}
  723.                                     {% set typePaymentAgence = typePayment | filter (tp=> tp | filter (tp1=> tp1.value in [1,12,10]) | length > 0) %}
  724.                                     <div class="step paiement-tabs">
  725.                                         <ul class="nav nav-tabs">
  726.                                             {% for method in methodPayment %}
  727.                                                 <li {% if loop.first %}class="active"{% endif %}>
  728.                                                     <a data-toggle="tab"
  729.                                                        onclick="$('#method{{ loop.index }} [name=payment_type]:first').prop('checked',true) ; $('#method{{ loop.index }} [name=point_vente]:first').prop('checked',true)"
  730.                                                        href="#method{{ loop.index }}"><b>{{ method }}</b></a>
  731.                                                 </li>
  732.                                             {% endfor %}
  733.                                             {# --------------------------------------------- Start Btn Franchise ---------------------------------- #}
  734.                                             {% if  tablePvFranchise | length > 0 %}
  735.                                                 <li>
  736.                                                     <a data-toggle="tab"
  737.                                                        onclick="$('#methodfranchise [name=payment_type]:first').prop('checked',true); $('#methodfranchise [name=point_vente]:first').prop('checked',true)  "
  738.                                                        href="#methodfranchise"><b>Franchise</b></a>
  739.                                                 </li>
  740.                                             {% endif %}
  741.                                             {# --------------------------------------------- Start Btn Franchise ---------------------------------- #}
  742.                                         </ul>
  743.                                         <div class="tab-content" style=" margin-top: 25px; ">
  744.                                             {% for type in typePayment %}
  745.                                                 <div id="method{{ loop.index }}"
  746.                                                      class="tab-pane {% if loop.first %}fade in active{% endif %}"
  747.                                                      style="min-height: auto !important;">
  748.                                                     {% for item in type %}
  749.                                                         <div class="custom-control custom-radio">
  750.                                                             <label class="custom-control-label">
  751.                                                                 <input type="radio" name="payment_type"
  752.                                                                        {% if loop.parent.loop.first and loop.first %}checked{% endif %}
  753.                                                                        value="{{ item.value }}"
  754.                                                                        class="control-input">
  755.                                                                 {{ item.libelle|raw }}</label>
  756.                                                         </div>
  757.                                                     {% endfor %}
  758.                                                     {% if methodPayment[loop.index0] == "Paiement à l'agence" %}
  759.                                                         <h5 class="mt-2 mb-2"> {{ "Veuillez sélectionner une agence"|trans ~ ":" }}</h5>
  760.                                                         <article id="content">
  761.                                                             {% for pointvente in tablePv %}
  762.                                                                 <div class="custom-control custom-radio pt-vente-tarif">
  763.                                                                     <label class="custom-control-label">
  764.                                                                         <input type="radio"
  765.                                                                                class="control-input pointvente"
  766.                                                                                name="point_vente"
  767.                                                                                value="{{ pointvente.id }}"/>
  768.                                                                         <span class="font-weight-500-libelle">   {{ pointvente.libelle }} </span>
  769.                                                                         <p class="mb-1">
  770.                                                                             <i class="fa fa-map-marker-alt"></i> {{ pointvente.adresse }}
  771.                                                                             <br>
  772.                                                                             <span class="optional">
  773.                                                                                     <i class="fa fa-phone-alt"></i> {{ "Tél"|trans ~ ":" }} {{ pointvente.tel }}
  774.                                                                             </span>
  775.                                                                         </p>
  776.                                                                     </label>
  777.                                                                 </div>
  778.                                                             {% endfor %}
  779.                                                         </article>
  780.                                                         {% if  tablePv|length > 2 %}
  781.                                                             <div class="position-read-more">
  782.                                                                 <button id="read-more">
  783.                                                                     Afficher Plus
  784.                                                                 </button>
  785.                                                             </div>
  786.                                                         {% endif %}
  787.                                                     {% endif %}
  788.                                                     {% if methodPayment[loop.index0] == "Versement bancaire" and rib %}
  789.                                                         <h5> {{ "Coordonnées Bancaire"|trans ~ ":" }}</h5>
  790.                                                         <p>{{ rib|raw }}</p>
  791.                                                     {% endif %}
  792.                                                     {% if methodPayment[loop.index0] == "Mondat Postal" and rip %}
  793.                                                         <h5> {{ "Coordonnées Postales"|trans ~ ":" }}</h5>
  794.                                                         <p>{{ rip|raw }}</p>
  795.                                                     {% endif %}
  796.                                                 </div>
  797.                                             {% endfor %}
  798.                                             {# --------------------------------------------- Start Container Franchise ---------------------------------- #}
  799.                                             {% for type in typePaymentAgence %}
  800.                                                 <div id="methodfranchise"
  801.                                                      class="tab-pane {#{% if loop.first %}fade in active{% endif %}#}"
  802.                                                      style="min-height: auto !important;">
  803.                                                     {% for item in type %}
  804.                                                         <div class="custom-control custom-radio">
  805.                                                             <label class="custom-control-label">
  806.                                                                 <input type="radio" name="payment_type"
  807.                                                                        value="{{ item.value }}"
  808.                                                                        class="control-input">
  809.                                                                 {{ item.libelle|raw }} </label>
  810.                                                         </div>
  811.                                                     {% endfor %}
  812.                                                     <h5 class="mt-2 mb-2">  {{ "Veuillez sélectionner une agence"|trans ~ ":" }}</h5>
  813.                                                     {% for pointvente in tablePvFranchise %}
  814.                                                         <div class="custom-control custom-radio">
  815.                                                             <label class="custom-control-label">
  816.                                                                 <input type="radio"
  817.                                                                        name="point_vente"
  818.                                                                        value="{{ pointvente.id }}"
  819.                                                                        class="control-input">
  820.                                                                 {{ pointvente.libelle }}
  821.                                                                 : {{ pointvente.adresse }}.
  822.                                                                 {{ "Tél"|trans ~ ":" }} {{ pointvente.tel }}</label>
  823.                                                         </div>
  824.                                                     {% endfor %}
  825.                                                 </div>
  826.                                             {% endfor %}
  827.                                             {# --------------------------------------------- End Container Franchise ------------------------------------ #}
  828.                                         </div>
  829.                                     </div>
  830.                                 {% endif %}
  831.                                 <hr/>
  832.                                 <div class="checkbox">
  833.                                     <label>
  834.                                         <input type="checkbox" name="" required value="option1">
  835.                                         {{ " En cliquant sur Finalisez ma réservation vous confirmez accepter nos"|trans }}
  836.                                         <a
  837.                                                 href="javascript:void(-1)" onClick="popup()"
  838.                                                 style="color: red"> {{ "conditions générales de vente."|trans }}</a>
  839.                                     </label>
  840.                                 </div>
  841.                                     {% if  configAffichage!= null and configAffichage.GENERALE.RECAPTCHA_FORM is defined and configAffichage.GENERALE.RECAPTCHA_FORM == 'oui' and agence is defined and agence.recaptcha is defined and agence.recaptcha != '' %}
  842.                                         <div class="g-recaptcha"
  843.                                              data-sitekey="{{ agence.recaptcha }}"
  844.                                              data-callback="onSubmit"
  845.                                              data-expired-callback="onExpired"
  846.                                              data-action="submit">
  847.                                         </div>
  848.                                         <br>
  849.                                     {% endif %}
  850.                                 <button type="submit"
  851.                                         class="btn btn-success btn-submit" id="submit-validate">  {{ "Finalisez ma réservation"|trans }}
  852.                                 </button>
  853.                                 <div id="flash-message" class="alert alert-danger" style="display:none;">
  854.                                     ⏰ Votre vérification a expiré. Veuillez la recommencer.
  855.                                 </div>
  856.                             </div>
  857.                         </form>
  858.                     </div>
  859.                 </div>
  860.                 <div class="col-lg-4 col-md-4  col-sm-12 col-12 container-sidebar">
  861.                     <aside id="sidebar" class="mob-side payment-side-block">
  862.                         <div class="widget widget-recommend ">
  863.                             {% if details.prix>0 %}
  864.                                 <h3 class="widget-title price-reservation-vo">
  865.                                     {% if details.aPartirDe=="true" %}
  866.                                         <small class="font12 voyage-pack-change"> {{ "à partir de"|trans }} </small>
  867.                                     {% endif %}
  868.                                     {{ details.prix|devise(false,true) }}<sup
  869.                                             style=" font-size: 60%; ">{{ deviseSelected().symbole }}</sup>
  870.                                     <small class="font12"> {{ "/personne"|trans }} </small>
  871.                                 </h3>
  872.                             {% else %}
  873.                                 <h3 class="widget-title">  {{ "sur demande"|trans }} </h3>
  874.                             {% endif %}
  875.                             <img src="{{ details.photoPrincipal }}" alt="{{ details.libelle }}">
  876.                             <table class="table table_summary">
  877.                                 <tbody>
  878.                                 <tr>
  879.                                     <td class="font-size-13">
  880.                                         {{ "Packs"|trans }}
  881.                                     </td>
  882.                                     <td class="text-right font-size-13">
  883.                                         {{ packs.libelle }}
  884.                                     </td>
  885.                                 </tr>
  886.                                 <tr>
  887.                                     <td class="font-size-13">
  888.                                         {{ "Période"|trans }}
  889.                                     </td>
  890.                                     <td class="text-right font-size-13">
  891.                                         {{ "du"|trans }}  {{ periode.du |date("d/m/Y") }}   {{ "au"|trans }} {{ periode.au |date("d/m/Y") }}
  892.                                     </td>
  893.                                 </tr>
  894.                                 </tbody>
  895.                             </table>
  896.                             <a href="{{ path('front_voyageorganise_details',{slug:details.slug}) }}"
  897.                                class="btn btn-primary btn-lg "
  898.                                style="font-size: 20px; padding-top: 5px; padding-bottom: 5px; width: 100%">
  899.                                 Changer
  900.                             </a>
  901.                         </div>
  902.                         <!-- help -->
  903.                         <!-- /help -->
  904.                         <!-- help2 -->
  905.                         <!-- /help2 -->
  906.                         {% if facebook and facebook!=null %}
  907.                             <div class="border-block" style="padding:10px">
  908.                                 <div class="fb-page"
  909.                                      data-tabs="timeline,events,messages"
  910.                                      data-href="{{ facebook }}"
  911.                                      data-small-header="false"
  912.                                      data-adapt-container-width="true"
  913.                                      data-hide-cover="false"
  914.                                      data-show-facepile="true"
  915.                                      data-show-posts="false"></div>
  916.                                 <div class="clearfix"></div>
  917.                             </div>
  918.                         {% endif %}
  919.                     </aside>
  920.                     {% if not is_mobile() %}
  921.                         <aside id="vjs-recap" class="recap-voyages">
  922.                             <div class="payment-side-block" v-if="parseInt(total) > 0">
  923.                                 <h3 class="widget-title no-margin title-recap"> {{ packs.libelle }} </h3>
  924.                                 {% if details.villes is not null %}
  925.                                     <small class="recap-map" style="color:#000!important">
  926.                                         <i class="fa fa-map-marker-alt" style="margin-top: 0;margin-right: 5px;"></i>
  927.                                         {{ details.villes }}
  928.                                     </small>
  929.                                     </br>
  930.                                 {% endif %}
  931.                                 <small style="margin-top:10px"> {{ "du"|trans }}  {{ periode.du |date("d/m/Y") }} {{ "au"|trans }}  {{ periode.au |date("d/m/Y") }}</small>
  932.                                 <ul class="pkg-total-list">
  933.                                     <li class="total-list-head" style=" border-top: 1px dotted #ccc; "></li>
  934.                                 </ul>
  935.                                 <ul class="pkg-total-list">
  936.                                     <template v-for="(chambre , index_chbr) in chambres">
  937.                                         <li class="total-list-head" style=" padding-bottom: 0px; ">
  938.                                      <span class="pull-left">${ (index_chbr+1) }.   {% if type == 8 %} {{ "Occupations"|trans }} {% else %} ${ chambre.chambre } {% endif %}
  939.                                      </span>
  940.                                         </li>
  941.                                         <li>
  942.                                             <div>
  943.                                                 <span class="pull-left"> {{ "Personnes"|trans }} </span>
  944.                                                 <span class="pull-right"><strong>x${ chambre['nbr-occupants'] }</strong></span>
  945.                                             </div>
  946.                                         </li>
  947.                                     </template>
  948.                                     <li>
  949.                                         <template v-if="sousTotal != total">
  950.                                             <span class="pull-left"> {{ "Sous Total"|trans ~ ":" }} </span>
  951.                                             <span class="pull-right"><strong>${ sousTotal|devise } {{ deviseSelected().symbole }} </strong></span>
  952.                                             </br>
  953.                                         </template>
  954.                                         <template v-if="coupon.montant != (0).formatMoney(3, ',', ' ')">
  955.                                             <span color="red" class="pull-left"> {{ "Coupon réduction"|trans }}  ${ coupon.reduction }:</span>
  956.                                             <span color="red"
  957.                                                   class="pull-right"><strong>-${ coupon.montant } {{ deviseSelected().symbole }} </strong></span>
  958.                                             </br>
  959.                                         </template>
  960.                                         <template v-if="remiseInternet != 0..formatMoney(3, ',', ' ')">
  961.                                             <span class="pull-left"> {{ "Remise internet"|trans ~ ":" }} </span>
  962.                                             <span class="pull-right"><strong>- ${ remiseInternet|devise } {{ deviseSelected().symbole }} </strong></span>
  963.                                             </br>
  964.                                         </template>
  965.                                         <template v-if="fraisDossier != 0..formatMoney(3, ',', ' ')">
  966.                                             <span class="pull-left"> {{ "Frais de dossier"|trans ~ ":" }} </span>
  967.                                             <span class="pull-right"><strong>${ fraisDossier|devise } {{ deviseSelected().symbole }} </strong></span>
  968.                                             </br>
  969.                                         </template>
  970.                                         <template v-if="timbre != 0..formatMoney(3, ',', ' ')">
  971.                                             <span class="pull-left"> {{ "Timbre fiscal"|trans ~ ":" }} </span>
  972.                                             <span class="pull-right"><strong>${ timbre|devise } {{ deviseSelected().symbole }} </strong></span>
  973.                                             <br>
  974.                                         </template>
  975.                                         <template v-if="remise != 0..formatMoney(3, ',', ' ')">
  976.                                             <span class="pull-left"> {{ "Remise"|trans ~ ":" }} </span>
  977.                                             <span class="pull-right"><strong>- ${ remise|devise } {{ deviseSelected().symbole }} </strong></span>
  978.                                             </br>
  979.                                         </template>
  980.                                         <template v-if="margeB2B != 0..formatMoney(3, ',', ' ')">
  981.                                             <div>
  982.                                                 <a data-toggle="collapse" href="#collapseExample" role="button"
  983.                                                    aria-expanded="false" aria-controls="collapseExample">
  984.                                                     <a data-toggle="collapse" href="#collapseExample" role="button"
  985.                                                        aria-expanded="false" aria-controls="collapseExample">
  986.                                                         <strong>{% if is_granted('ROLE_CLIENT_B2B') %} Commission & Marge  {% else %} Remise & Marge {% endif %} </strong>
  987.                                                         <i class="fa fa-arrow-circle-down pull-right"></i>
  988.                                                     </a>
  989.                                                 </a>
  990.                                             </div>
  991.                                             <div class="collapse" id="collapseExample">
  992.                                                 <span class="pull-left"> {{ "Marge"|trans ~ ":" }} </span>
  993.                                                 <span class="pull-right"><strong>${ margeB2B|devise } {{ deviseSelected().symbole }} </strong></span>
  994.                                                 <br>
  995.                                                 {% if is_granted('ROLE_CLIENT_B2B') %}
  996.                                                     <span class="pull-left"> {{ "Commission"|trans ~ ":" }} </span>
  997.                                                 {% else %}
  998.                                                     <span class="pull-left"> {{ "Remise"|trans ~ ":" }} </span>
  999.                                                 {% endif %}
  1000.                                                 <span class="pull-right"><strong>${ commission|devise } {{ deviseSelected().symbole }} </strong></span>
  1001.                                                 <br>
  1002.                                             </div>
  1003.                                         </template>
  1004.                                         <template v-if="commission != 0..formatMoney(3, ',', ' ')">
  1005.                                             <span class="pull-left"> {{ "Total à payer"|trans ~ ":" }} </span>
  1006.                                             <span class="pull-right"><strong>${ totalPayer|devise } {{ deviseSelected().symbole }} </strong></span>
  1007.                                         </template>
  1008.                                     </li>
  1009.                                     <li>
  1010.                                         <span class="pull-left"> {{ "Total Réservation"|trans ~ ":" }} </span>
  1011.                                         <span class="pull-right recap-total">${ Total  } {{ deviseSelected().symbole }} </span>
  1012.                                     </li>
  1013.                                 </ul>
  1014.                                 {% if configAffichage.GENERALE.COUPON_REDUCTION == 'oui' %}
  1015.                                     <div class="input-group" style="display: inline-flex;margin-top: 20px;width: 100%">
  1016.                                         <input type="text" placeholder="Coupon Réduction" v-model="coupon.code"
  1017.                                                name="coupon"
  1018.                                                @input="onInputCoupon" class="form-control border-right-0">
  1019.                                         <span class="input-group-append">
  1020.                                                     <button class="btn btn-teal" @click="verifCoupon" type="button"><i
  1021.                                                                 id="load-coupon"
  1022.                                                                 class="fa fa-spinner fa-spin hidden"></i> OK</button>
  1023.                                                 </span>
  1024.                                     </div>
  1025.                                 {% endif %}
  1026.                             </div>
  1027.                         </aside>
  1028.                     {% else %}
  1029.                         <div class="row" id="sticky-row">
  1030.                             <div class="col-md-3 " id="vjs-recap">
  1031.                                 <div class="row align-items-center">
  1032.                                     <div class="col-6">
  1033.                                         <p class="text-white text-center">
  1034.                                             {{ "Prix Total"|trans ~ ":" }}
  1035.                                         </p>
  1036.                                         <div class="font-size-24 text-center text-white font-weight-bold ml-1 price_list text-center loadedprice ">
  1037.                                             ${ total|devise } {{ deviseSelected().symbole }}</div>
  1038.                                     </div>
  1039.                                     <div class="col-sm-12 bg-yellow text-center">
  1040.                                         <a data-toggle="collapse" href="#collapseExample" role="button"
  1041.                                            aria-expanded="false" aria-controls="collapseExample" class="collapsed text-center color-details">
  1042.                                             {{ "Afficher détails"|trans }} <i class="flaticon-arrow"></i>
  1043.                                         </a>
  1044.                                         <div class="collapse" id="collapseExample" style="">
  1045.                                             <div id="vjs-recap" class="bg-yellow">
  1046.                                                 <div id="basicsAccordion">
  1047.                                                     <div class="card rounded-0 border-top-0 border-left-0 border-right-0">
  1048.                                                         <div id="basicsHeadingOne"
  1049.                                                              class="card-header card-collapse bg-transparent border-0">
  1050.                                                             <h5 class="text-center">
  1051.                                                                 {{ "Récap Reservation"|trans }}
  1052.                                                             </h5>
  1053.                                                         </div>
  1054.                                                         <div id="basicsCollapseOne"
  1055.                                                              aria-labelledby="basicsHeadingOne"
  1056.                                                              data-parent="#basicsAccordion" class="collapse show">
  1057.                                                             <div class="card-body px-4 pt-0">
  1058.                                                                 <template
  1059.                                                                         v-for="(chambre , index_chbr) in chambres">
  1060.                                                                     <ul class="mb-0">
  1061.                                                                         <li class="total-list-head">
  1062.                                                                             <h3 class="pull-left">${(index_chbr+1)}.
  1063.                                                                                 ${chambre.chambre}</h3>
  1064.                                                                         </li>
  1065.                                                                         <li class="total-list-head">
  1066.                                                                             <div class="row">
  1067.                                                                                 <div class="col-xs-12">
  1068.                                                                                     <div class="col-xs-6"> {{ "Personnes"|trans }}</div>
  1069.                                                                                     <div class="col-xs-6"><strong>x${
  1070.                                                                                             chambre['nbr-occupants']
  1071.                                                                                             }</strong></div>
  1072.                                                                                 </div>
  1073.                                                                             </div>
  1074.                                                                         </li>
  1075.                                                                     </ul>
  1076.                                                                 </template>
  1077.                                                                 <li class="total-list-head">
  1078.                                                                     <div class="border-dashed"></div>
  1079.                                                                     <template v-if="sousTotal != total">
  1080.                                                                         <div class="row">
  1081.                                                                             <div class="col-xs-12">
  1082.                                                                                 <div class="col-xs-6"> {{ "Sous Total"|trans ~ ":" }}</div>
  1083.                                                                                 <div class="col-xs-6"><strong>${
  1084.                                                                                         sousTotal|devise
  1085.                                                                                         } {{ deviseSelected().symbole }} </strong>
  1086.                                                                                 </div>
  1087.                                                                             </div>
  1088.                                                                         </div>
  1089.                                                                     </template>
  1090.                                                                     <template
  1091.                                                                             v-if="remiseInternet != 0..formatMoney(3, ',', ' ')">
  1092.                                                                         <div class="row">
  1093.                                                                             <div class="col-xs-12">
  1094.                                                                                 <div class="col-xs-6"> {{ "Remise internet"|trans ~ ":" }}</div>
  1095.                                                                                 <div class="col-xs-6"><strong>- ${
  1096.                                                                                         remiseInternet|devise
  1097.                                                                                         } {{ deviseSelected().symbole }} </strong>
  1098.                                                                                 </div>
  1099.                                                                             </div>
  1100.                                                                         </div>
  1101.                                                                         </br>
  1102.                                                                     </template>
  1103.                                                                     <template
  1104.                                                                             v-if="fraisDossier != 0..formatMoney(3, ',', ' ')">
  1105.                                                                         <div class="row">
  1106.                                                                             <div class="col-xs-12">
  1107.                                                                                 <div class="col-xs-6"> {{ "Frais de dossier"|trans ~ ":" }}</div>
  1108.                                                                                 <div class="col-xs-6"><strong>${
  1109.                                                                                         fraisDossier|devise
  1110.                                                                                         } {{ deviseSelected().symbole }} </strong>
  1111.                                                                                 </div>
  1112.                                                                             </div>
  1113.                                                                         </div>
  1114.                                                                         </br>
  1115.                                                                     </template>
  1116.                                                                     <template
  1117.                                                                             v-if="timbre != 0..formatMoney(3, ',', ' ')">
  1118.                                                                         <div class="row">
  1119.                                                                             <div class="col-xs-12">
  1120.                                                                                 <div class="col-xs-6"> {{ "Timbre fiscal"|trans ~ ":" }}</div>
  1121.                                                                                 <div class="col-xs-6"><strong>${
  1122.                                                                                         timbre|devise
  1123.                                                                                         } {{ deviseSelected().symbole }} </strong>
  1124.                                                                                 </div>
  1125.                                                                             </div>
  1126.                                                                         </div>
  1127.                                                                     </template>
  1128.                                                                     <template
  1129.                                                                             v-if="remise != 0..formatMoney(3, ',', ' ')">
  1130.                                                                         <div class="row">
  1131.                                                                             <div class="col-xs-12">
  1132.                                                                                 <div class="col-xs-6"> {{ "Remise"|trans ~ ":" }}</div>
  1133.                                                                                 <div class="col-xs-6"><strong>- ${
  1134.                                                                                         remise|devise
  1135.                                                                                         } {{ deviseSelected().symbole }} </strong>
  1136.                                                                                 </div>
  1137.                                                                             </div>
  1138.                                                                         </div>
  1139.                                                                         </br>
  1140.                                                                     </template>
  1141.                                                                     <template
  1142.                                                                             v-if="commission != 0..formatMoney(3, ',', ' ')">
  1143.                                                                         <div class="row">
  1144.                                                                             <div class="col-xs-12">
  1145.                                                                                 <div class="col-xs-6"> {{ "Commission"|trans ~ ":" }}   </div>
  1146.                                                                                 <div class="col-xs-6"><strong>${
  1147.                                                                                         commission|devise
  1148.                                                                                         } {{ deviseSelected().symbole }} </strong>
  1149.                                                                                 </div>
  1150.                                                                             </div>
  1151.                                                                         </div>
  1152.                                                                     </template>
  1153.                                                                     {% if configAffichage.GENERALE.COUPON_REDUCTION == 'oui' %}
  1154.                                                                         <div class="input-group"
  1155.                                                                              style="display: inline-flex; flex-wrap: nowrap; margin-top: 20px;width: 100%">
  1156.                                                                             <input type="text"
  1157.                                                                                    placeholder="Coupon Réduction"
  1158.                                                                                    v-model="coupon.code"
  1159.                                                                                    name="coupon"
  1160.                                                                                    @input="onInputCoupon"
  1161.                                                                                    class="form-control border-right-0 text-left">
  1162.                                                                             <span class="input-group-append">
  1163.                                                     <button class="btn btn-teal " @click="verifCoupon" type="button"><i
  1164.                                                                 id="load-coupon"
  1165.                                                                 class="fa fa-spinner fa-spin hidden"></i> OK</button>
  1166.                                                 </span>
  1167.                                                                         </div>
  1168.                                                                     {% endif %}
  1169.                                                                 </li>
  1170.                                                             </div>
  1171.                                                         </div>
  1172.                                                     </div>
  1173.                                                     <a data-toggle="collapse" href="#collapseExample" role="button"
  1174.                                                        aria-expanded="false" aria-controls="collapseExample"
  1175.                                                        class="collapsed text-center color-details">
  1176.                                                         {{ "Masquer détails"|trans }} <i
  1177.                                                                 class="flaticon-down-chevron"></i></a>
  1178.                                                 </div>
  1179.                                             </div>
  1180.                                         </div>
  1181.                                     </div>
  1182.                                 </div>
  1183.                             </div>
  1184.                         </div>
  1185.                     {% endif %}
  1186.                 </div>
  1187.             </div>
  1188.         </div>
  1189.     </div>
  1190. </div>