templates/front/hunt/action.html.twig line 1

Open in your IDE?
  1. {% set currentOffer = offer %}
  2. {% set territoryOffersCount = 0 %}
  3. {% for offer in offer.getTerritory().getOffers() %}
  4.     {% if offer.getId() != currentOffer.getId() and offer.getStatus() == 1 %}
  5.         {% set territoryOffersCount = territoryOffersCount + 1 %}
  6.     {% endif %}
  7. {% endfor %}
  8. {% if app.user %}
  9.     {% set userIsOwner = offer.createdBy.id == app.user.id %}
  10. {% else %}
  11.     {% set userIsOwner = false %}
  12. {% endif %}
  13. <div class="details">
  14.     <div class="detail-tac">
  15.         <p class="type {{ offer.type }}">Action</p>
  16.         {% if offer.isTuchassouSelected %}
  17.             <p class="type br"> Sélection Tuchassou</p>
  18.         {% endif %} </div>
  19.     {% set territory = offer.territory %}
  20.     <h1>{{ offer.title }}</h1>
  21.     <p class="city">
  22.         <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
  23.             <defs>
  24.                 <style>.cls-1 {
  25.                         fill: none;
  26.                     }
  27.                     .cls-2 {
  28.                         fill: #ff5203;
  29.                     } </style>
  30.             </defs>
  31.             <g id="pin-solid" transform="translate(-0.5)">
  32.                 <g id="icons_Q2" data-name="icons Q2" transform="translate(3.423 1.14)">
  33.                     <path id="Tracé_12723" data-name="Tracé 12723" class="cls-2"
  34.                           d="M15.6,2A8.541,8.541,0,0,0,7,10.78c0,4.829,5.817,10.39,7.891,12.39a.985.985,0,0,0,1.416,0c2.074-2,7.891-7.463,7.891-12.39A8.484,8.484,0,0,0,15.6,2Zm0,10.731a3.479,3.479,0,0,1-3.541-3.415,3.543,3.543,0,0,1,7.081,0A3.479,3.479,0,0,1,15.6,12.731Z"
  35.                           transform="translate(-7 -2)"></path>
  36.                 </g>
  37.             </g>
  38.         </svg>
  39.         {{ territory.city }}
  40.     </p>
  41.     <ul class="libs">
  42.         <li>
  43.             <p>
  44.                 <span><icon><img src="{{ asset('assets/img/forest.png') }}"></icon>Biotope <i class="fa fa-info-circle"
  45.                                                                                               data-bs-toggle="modal"
  46.                                                                                               data-bs-target="#modal-biotope">&nbsp;</i></span>
  47.                 <span>{% for biotope in territory.biotope %}{{ biotope }}{% if not loop.last %}, {% endif %}{% endfor %}</span>
  48.             </p>
  49.         </li>
  50.         <li>
  51.             <p>
  52.                 <span><icon><img src="{{ asset('assets/img/space.png') }}"></icon>Superficie</span>
  53.                 <span>{{ territory.nbHectares }} hectares</span>
  54.             </p>
  55.         </li>
  56.         <li>
  57.             <p>
  58.                 <span><icon><img src="{{ asset('assets/img/hunt.png') }}"></icon>Mode de chasse</span>
  59.                 <span>{% for huntingMode in offer.huntingMode %}{{ huntingMode.title }}{% if not loop.last %}, {% endif %}{% endfor %}</span>
  60.             </p>
  61.         </li>
  62.         <li>
  63.             <p>
  64.                 <span><icon>
  65.                 <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20.04" viewBox="0 0 20 20.04">
  66.     <path data-name="Tracé 12813"
  67.           d="M38.5-571.625a1.285 1.285 0 0 1 1.168.854 2.616 2.616 0 0 1 .052 1.738v.01a5.2 5.2 0 0 0-.1.6c-.045.639-.1 7.652-.064 8.563.121 3.233.068 4.356-.246 5.221a3.835 3.835 0 0 1-2.237 2.353 2.712 2.712 0 0 1-.813.125 3.208 3.208 0 0 1-2.341-1.1 10.507 10.507 0 0 1-2.224-5.675 14.527 14.527 0 0 1 0-3.141 15.731 15.731 0 0 1 1.4-4.81 10.911 10.911 0 0 1 2.314-3.24 6.035 6.035 0 0 1 2.308-1.333 2.478 2.478 0 0 1 .783-.165zm-.484 2.194a3.54 3.54 0 0 0 .057-.3 4.236 4.236 0 0 0-1.507.919 9.193 9.193 0 0 0-1.891 2.681 14.012 14.012 0 0 0-1.244 4.284 12.854 12.854 0 0 0 0 2.684 8.957 8.957 0 0 0 1.774 4.713 1.492 1.492 0 0 0 1.057.543.956.956 0 0 0 .286-.044 2.13 2.13 0 0 0 1.119-1.282c.215-.591.249-1.7.142-4.558-.036-.98.019-8.1.068-8.762v-.01a6.806 6.806 0 0 1 .142-.868z"
  68.           transform="translate(-29.496 571.87)" style="fill:#172a3b"/>
  69.     <path data-name="Tracé 12814"
  70.           d="M243.664-565.081a3.387 3.387 0 0 1 1.137.24 7.624 7.624 0 0 1 3 2.581 10.9 10.9 0 0 1 .717 1.388 14.489 14.489 0 0 1 .727 2.622 20.83 20.83 0 0 1 .119 5.66c-.1.9-.271 2.18-.37 2.791a6.551 6.551 0 0 1-1.08 3.065 3.188 3.188 0 0 1-2.614 1.234 3.1 3.1 0 0 1-1.916-.616h-.006a3.69 3.69 0 0 1-1.094-1.448v-.007a5.46 5.46 0 0 1-.354-1.22 5.923 5.923 0 0 1-.1-1.558 26.469 26.469 0 0 1 .3-3.728 35.516 35.516 0 0 0 .424-5.3c-.011-.266-.035-.752-.057-1.181l-.012-.236a31.646 31.646 0 0 1-.051-1.444 13.874 13.874 0 0 1 .116-1.762 1.272 1.272 0 0 1 .253-.723 1.06 1.06 0 0 1 .861-.358zm1.637 17.829a1.447 1.447 0 0 0 1.21-.526 5.123 5.123 0 0 0 .757-2.3v-.005c.1-.586.26-1.827.359-2.709a19.014 19.014 0 0 0-.1-5.166 12.727 12.727 0 0 0-.627-2.269 9.938 9.938 0 0 0-.539-1.053 6.067 6.067 0 0 0-2.131-1.91 8.338 8.338 0 0 0-.049.943c0 .277.022.894.048 1.347l.012.245c.022.433.046.924.057 1.2a36.285 36.285 0 0 1-.437 5.589 24.735 24.735 0 0 0-.282 3.509 4.358 4.358 0 0 0 .067 1.2v.008a3.745 3.745 0 0 0 .249.884 1.964 1.964 0 0 0 .539.743 1.358 1.358 0 0 0 .866.27z"
  71.           transform="translate(-231.542 565.541)" style="fill:#172a3b"/>
  72. </svg>
  73. </icon>Gibiers<i class="fa fa-info-circle"
  74.                  style="margin-left: 5px;"
  75.                  data-bs-toggle="modal"
  76.                  data-bs-target="#modal-gibiers">&nbsp;</i></span>
  77.                 <span>{% for gibier in offer.gibiers %}{% if loop.index0 < 2 %}{{ gibier.title }}{% endif %}{% if loop.index0 == 0 %}, {% endif %}{% endfor %}{% if offer.gibiers|length > 2 %}...{% endif %}</span>
  78.             </p>
  79.         </li>
  80.         <li>
  81.             <p>
  82.                <span><icon><svg version="1.2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="32"
  83.                                 height="32">
  84.     <title>empreinte-de-patte</title>
  85.     <defs>
  86.         <image width="32" height="32" id="img1"
  87.                href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgAQMAAABJtOi3AAAAAXNSR0IB2cksfwAAAAZQTFRFAAAAlZWV0uzaQAAAAAJ0Uk5TAP9bkSK1AAAAd0lEQVR4nGXNMQqEMBSE4QkpLD3B6lFyLRtJbrDXsZKAhWWOoOAFXFIqb/YFtbL5mhn4gdMFGPEBVnyETYfy/T2krFAHU9aPuAG+awUMhhfbNM3YUlaWY0YmEzj2hD+dXOdmrztgrzW0Vjc22vhirUqNWiMDQOIPVPhH/rwMseUAAAAASUVORK5CYII="/>
  88.     </defs>
  89.     <style>
  90.     </style>
  91.     <use id="Background" href="#img1" x="0" y="0"/>
  92. </svg></icon>Animal <i class="fa fa-info-circle"
  93.                        style="margin-left: 5px;"
  94.                        data-bs-toggle="modal"
  95.                        data-bs-target="#modal-animal">&nbsp;</i></span>
  96.                 <span>{% for animal in offer.animals %}{% if loop.index0 < 2 %}{{ animal.name }}{% endif %}{% if loop.index0 == 0 %}, {% endif %}{% endfor %}{% if offer.animals|length > 2 %}...{% endif %}</span>
  97.             </p>
  98.         </li>
  99.         <li>
  100.             <p>
  101.                 <span><icon><img src="{{ asset('assets/img/user.png') }}"></icon>Statut de l'hôte</span>
  102.                 <span>{{ territory.status }}</span>
  103.             </p>
  104.         </li>
  105.     </ul>
  106.     <ul class="tabs">
  107.         <li class="tab active" data-tab="about"><a href="#">A propos</a></li>
  108.         <li class="tab" data-tab="huntMap"><a href="#">Carte</a></li>
  109.         <li class="tab" data-tab="details"><a href="#">Informations détaillées</a></li>
  110.         {% if offer.getTerritory().getOffers()|length > 1  and territoryOffersCount > 0 %}
  111.             <li class="tab" data-tab="related-offers"><a href="#">Les offres du territoire</a></li>
  112.         {% endif %}
  113.     </ul>
  114.     <div class="tab-content" id="about">
  115.         <p id="recurrence-exceptions-days" class="d-none">{{ offer.recurrenceException }}</p>
  116.         <h2>Description d'une journée type</h2>
  117.         <p class="description">{{ offer.unfoldsDay }}</p>
  118.         <h2>Description de l'équipe/de l'expérience de chasse</h2>
  119.         <p class="description">{{ offer.teamExperienceDescription }}</p>
  120.         <h2>Plan de chasse</h2>
  121.         <p class="description">{{ offer.huntingPlan }}</p>
  122.         {% if offer.planningText %}
  123.             <h2>Planning</h2>
  124.             <p class="description">{{ offer.planningText }}</p>
  125.         {% endif %}
  126.         {% if offer.getTerritory().getTuchassouRecommendations() %}
  127.             <h2>Recommandations tuchassou</h2>
  128.             <p>{{ offer.getTerritory().getTuchassouRecommendations() }}</p>
  129.         {% endif %}
  130.     </div>
  131.     <div class="tab-content" id="huntMap">
  132.         <div id="map_details" style="width: 100%; height: 500px;"></div>
  133.     </div>
  134.     <div class="tab-content" id="details">
  135.         <p class="information-title">Action</p>
  136.         <ul class="informations">
  137.             <li>
  138.                 <span>Nombre d'actions disponibles</span>
  139.                 <span>{{ offer.nbActionsAvailable }}</span>
  140.             </li>
  141.             <li>
  142.                 <span>Date des journées</span>
  143.                 <span>
  144.                     {% include('front/hunt/_offer-dates.html.twig') %}
  145.                 </span>
  146.                 {# <span>{{ offer.planningText }}</span>  #}
  147.             </li>
  148.             <li>
  149.                 <span>Demi-action possible</span>
  150.                 {% if offer.halfAction %}<span class="valide">Oui</span>{% else %}<span
  151.                         class="non-valide"> Non </span>{% endif %}
  152.             </li>
  153.             <li>
  154.                 <span> Nombre de journées de chasse dans la demi-action</span>
  155.                 <span>{% if offer.halfActionNbDays > 0 %} {{ offer.halfActionNbDays }} {% else %} 0 {% endif %}jours</span>
  156.             </li>
  157.         </ul>
  158.         <p class="informations-title">Options</p>
  159.         <ul class="informations">
  160.             {% for service in offer.offerAdditionalServices %}
  161.                 {% if service.additionalService.name not in ["repas","hébergement","equipement"] %}
  162.                     <li>
  163.                         {% if service.isActive %}
  164.                             <span>{{ service.additionalService.name|capitalize }}</span>
  165.                             <span class="valide">Oui</span>
  166.                             <span style="margin-left: 100px;">{% if service.price is not null and service.price > 0 %}{{ service.price }} €{% else %}Gratuit{% endif %}</span>
  167.                         {% else %}
  168.                             <span>{{ service.additionalService.name|capitalize }}</span>
  169.                             <span class="non-valide">Non</span>
  170.                         {% endif %}
  171.                     </li>
  172.                 {% endif %}
  173.             {% endfor %}
  174.             {% if offer.hasShowServices() %}
  175.                     {% for service in offer.offerAdditionalServices %}
  176.                         {% if service.additionalService.name in ["repas","hébergement"] %}
  177.                             <li>
  178.                                 {% if service.isActive %}
  179.                                     <span>{{ service.additionalService.name|capitalize }}</span>
  180.                                     <span class="valide">Oui</span>
  181.                                     <span style="margin-left: 100px;">{% if service.price is not null and service.price > 0 %}{{ service.price }} €{% else %}Gratuit{% endif %}</span>
  182.                                 {% else %}
  183.                                     <span>{{ service.additionalService.name|capitalize }}</span>
  184.                                     <span class="non-valide">Non</span>
  185.                                 {% endif %}
  186.                             </li>
  187.                         {% endif %}
  188.                     {% endfor %}
  189.             {% endif %}
  190.         </ul>
  191.         {% if offer.furtherInformation or offer.getWeapons() or offer.equipement %}
  192.             <p class="information-title">A savoir</p>
  193.             <ul class="informations">
  194.                 <li>
  195.                     <span>Armes Autorisées</span>
  196.                     <span>
  197.                     {% if offer.getWeapons()|length > 0 %}
  198.                         {{ offer.getWeapons()|join(', ') }}
  199.                     {% endif %}
  200.                 </span>
  201.                 </li>
  202.                 {% if offer.equipement %}
  203.                     <li>
  204.                         <span>Equipement : {{ offer.equipement }}</span>
  205.                     </li>
  206.                 {% endif %}
  207.                 <li>
  208.                     <span>Informations complémentaires : {{ offer.furtherInformation }}</span>
  209.                 </li>
  210.             </ul>
  211.         {% endif %}
  212.     </div>
  213.     {% if offer.getTerritory().getOffers()|length > 1 and territoryOffersCount > 0 %}
  214.         <div class="tab-content" id="related-offers">
  215.             <ul class="carousel_slides_related_offers">
  216.                 {% set currentOffer = offer %}
  217.                 {% for offer in offer.getTerritory().getOffers() %}
  218.                     {% if offer.getId() != currentOffer.getId() and offer.getStatus() == 1 %}
  219.                         <li>
  220.                             {% include 'front/hunt/offer_bloc.html.twig' with {'class': 'other-territory-offers'}  %}
  221.                         </li>
  222.                     {% endif %}
  223.                 {% endfor %}
  224.             </ul>
  225.         </div>
  226.     {% endif %}
  227. </div>
  228. <div class="order bracelet action {% if offer.status == 3 %} offer-ep {% endif %}">
  229.     <div class="or  ">
  230. <span class="close">
  231. <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
  232.                     <path data-name=""
  233.                           d="M233.218 162.145h-11.907l4.936 4.936a1.014 1.014 0 1 1-1.434 1.434l-6.671-6.671a1.007 1.007 0 0 1 0-1.434l6.671-6.671a1.014 1.014 0 1 1 1.434 1.434l-4.936 4.97h11.907a1 1 0 0 1 0 2z"
  234.                           transform="translate(-213.866 -149.485)" style="fill:#172a3b;fill-rule:evenodd"></path>
  235.                 </svg>
  236. </span>
  237.         <form method="post" action="{{ path('booking_create') }}">
  238.                 <input type="hidden" name="offerType" id="offerType" value="ac">
  239.                 <input type="hidden" name="offerId" value="{{ offer.getId() }}" id="offerId">
  240.                 <input type="hidden" name="quantity" value="1" id="quantity">
  241.                 <input type="hidden" name="initial_formated_price"
  242.                        value="{{ offer.getBasePrice()|number_format(2, '.', '') }}" id="initial_formated_price">
  243.                 <input type="hidden" id="nbmax" value="{{ offer.nbActionsAvailable }}"/>
  244.                 <div class="alert alert-danger" style="display: none;" id="errorNbMax">Le nombre <span
  245.                             class="option_type_value_ap">l'action</span>s disponibles est : {{ offer.nbActionsAvailable }}.
  246.                 </div>
  247.                 <div class="form">
  248.                     <p class="price"><span
  249.                                 class="initial_price">{{ offer.getBasePrice()|number_format(2, '.', ',') }} €</span> / <span
  250.                                 class="option_type_value">Action</span></p>
  251.                     {% if userIsOwner %}
  252.                         <div class="booking-not-allowed">
  253.                             Vous ne pouvez pas réserver votre propre annonce.
  254.                         </div>
  255.                     {% else %}
  256.                         <ul class="variants">
  257.                             <li>
  258.                                 <label for="type_action" class="for-select">Type d'action</label>
  259.                                 <select name="type_action" id="type_action"
  260.                                         class="{% if offer.halfAction %}  {% else %} one_ {% endif %}">
  261.                                     <option value="Action" selected data-price="{{ offer.getBasePrice() }}">
  262.                                         Action
  263.                                     </option>
  264.                                     {% if offer.halfAction %}
  265.                                         <option value="Demi-Action" data-price="{{ offer.getBaseHalfActionPrice() }}">
  266.                                             Demi-Action
  267.                                         </option>
  268.                                     {% endif %}
  269.                                 </select>
  270.                             </li>
  271.                             <li>
  272.                                 <div>
  273.                                     <p>Quantité</p>
  274.                                     <span id="qty">1</span> <span class="option_type_value">Action</span><span class="plusriels"
  275.                                                                                                                style="display: none">s</span>
  276.                                 </div>
  277.                                 <div style="display: none;">
  278.                                     <button data-action="minis">-</button>
  279.                                     <button data-action="add">+</button>
  280.                                 </div>
  281.                             </li>
  282.                         </ul>
  283.                         <label class="for-select" style="display:none;"> Type de réservation </label>
  284.                         <select name="type" id="type_action" style="display:none;">
  285.                             <option value="Action" selected>Hote
  286.                             </option>
  287.                             <option value="Demi-Action">
  288.                                 Chasseur
  289.                             </option>
  290.                         </select>
  291.                         <div class="alert alert-info">Nombre d'action disponible : {{ offer.nbActionsAvailable }}
  292.                         </div>
  293.                         {#
  294.                         <div style="margin-bottom: 10px;">
  295.                             <small class="text-sm" style="font-style: italic; font-size: 0.70rem;">
  296.                                 Pour sélectionner une date unique cliquez 2 fois dessus
  297.                             </small>
  298.                         </div>#}
  299.                         <div class="show-dates" style="padding-bottom: 10px;">
  300.                             {% include('front/hunt/_offer-dates.html.twig') %}
  301.                         </div>
  302.                     {% endif %}
  303.                     <div class="order-totals">
  304.                         <p class="total">Total<span>Tva et services inclus</span></p>
  305.                         <p class="details"><span
  306.                                     class="final_price">{{ offer.getBasePrice()|number_format(2, '.', ',') }}</span> €
  307.                             <span type="button" data-bs-toggle="collapse" data-bs-target="#coll" aria-expanded="false">Voir le détail</span>
  308.                         </p>
  309.                     </div>
  310.                     <div class="coll collapse" id="coll">
  311.                         <ul>
  312.                             <li class="homey_price_first">
  313.                                 <div>Prix de <span class="option_type_value_ap">l'action</span></div>
  314.                                 <span class="initial_price">{{ offer.getBasePrice()|number_format(2, '.', ',') }} €</span>
  315.                             </li>
  316.                             <li>
  317.                                 Frais de service <span>{{ offer.getFraisService() }} €</span>
  318.                             </li>
  319.                             <li class="payment-due">Paiement dû <span
  320.                                         class="final_price">{{ offer.getBasePrice()|number_format(2, '.', ',') }} € </span>
  321.                             </li>
  322.                         </ul>
  323.                     </div>
  324.                 </div>
  325.             <p class="confirm">Je confirme</p>
  326.             <ul class="checkboxes">
  327.                 <li>
  328.                     <input id="isAcceptPermis" type="checkbox" required>
  329.                     <span>Que mon permis de chasse est valide pour le lieu et les dates auxquelles je compte chasser</span>
  330.                 </li>
  331.                 <li>
  332.                     <input id="isAcceptCivilite" type="checkbox" required>
  333.                     <span>Que je suis détenteur d'une responsabilité civile chasse</span>
  334.                 </li>
  335.                 <li>
  336.                     <input id="isAcceptCgu" type="checkbox" required>
  337.                     <span>Que j'ai lu et j'accepte les <a href="#" target="_blank" style="color: #1db3a3 !important">CGU.</a></span>
  338.                 </li>
  339.             </ul>
  340.             <p class="order-notification">
  341.                 La réservation est à titre personnel.<br>
  342.                 Pour une réservation à plusieurs,<br>
  343.                 veuillez <span>contacter TUCHASSOU.</span>
  344.             </p>
  345.             {% if app.user and not app.user.isAdminValidated %}
  346.                 <span class="btn-modal-not-allowed" href="#" data-bs-toggle="modal" data-bs-target="#modal-not-allowed">Réserver</span>
  347.                 <div class="modal fade" id="modal-not-allowed" tabindex="-1" aria-labelledby="modal-not-allowed"
  348.                      aria-hidden="true">
  349.                     <div class="modal-dialog">
  350.                         <div class="modal-content">
  351.                             <div class="modal-body-right">
  352.                                 <div class="modal-content" style="display: flex; flex-direction: column">
  353.                                     <div class="modal-header">
  354.                                         <button type="button" class="close" data-bs-dismiss="modal"
  355.                                                 aria-label="Close"><span
  356.                                                     aria-hidden="true">×</span></button>
  357.                                         <span class="modal-title">Compte non validé</span>
  358.                                     </div>
  359.                                     <div class="modal-body">
  360.                                         <div>
  361.                                             <div>
  362.                                                 <div class="body offre su d-flex mt-0">
  363.                                                     <p style="text-align: center; color: #1db3a3; font-size: 50px; margin-right: 20px;">
  364.                                                         <i class="fa fa-calendar-check">&nbsp</i></p>
  365.                                                     <p>
  366.                                                         La réservation vous sera accessible dès qu'un membre Tuchassou
  367.                                                         aura validé votre compte. N'hésitez pas à nous écrire pour toute
  368.                                                         question : <a href="mailto:support@tuchassou.fr">support@tuchassou.fr</a>
  369.                                                     </p>
  370.                                                 </div>
  371.                                             </div>
  372.                                         </div>
  373.                                     </div>
  374.                                 </div>
  375.                             </div>
  376.                         </div>
  377.                     </div>
  378.                 </div>
  379.             {% else %}
  380.                 <button id="reservation" class="submit" {% if userIsOwner %}disabled{% endif %}>Réserver</button>
  381.             {% endif %}
  382.         </form>
  383.         {% if offer.status == 3 %}
  384.             <p class="center">Offre épuisée, contactez-nous si vous souhaitez être averti lors de sa disponibilité</p>
  385.             <a href="https://www.tuchassou.fr/contactez-nous/" class="btn btn-default">Contactez-nous</a>
  386.         {% endif %}
  387.         <div class="bes">
  388.             <p>
  389.                 <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
  390.                     <path data-name="Tracé 78"
  391.                           d="M179.522 109.063a10.574 10.574 0 1 0 4.768-2.782 10.648 10.648 0 0 0-4.768 2.782zM187.05 108a8.566 8.566 0 0 1 5.3 1.827l-2.706 2.706a4.807 4.807 0 0 0-5.182 0l-2.706-2.706A8.563 8.563 0 0 1 187.05 108zm1.944 10.526a2.726 2.726 0 1 1 .813-1.94 2.747 2.747 0 0 1-.813 1.94zm-10.529-1.94a8.52 8.52 0 0 1 1.83-5.3L183 114a4.808 4.808 0 0 0 0 5.182l-2.706 2.706a8.521 8.521 0 0 1-1.83-5.298zm3.29 6.755 2.706-2.706a4.808 4.808 0 0 0 5.182 0l2.706 2.706a8.586 8.586 0 0 1-10.594 0zm12.05-1.456-2.706-2.706a4.808 4.808 0 0 0 0-5.182l2.706-2.706a8.586 8.586 0 0 1 0 10.594z"
  392.                           transform="translate(-175.182 -104.708)" style="fill:#172a3b"/>
  393.                 </svg>
  394.                 <span> Besoin d'aide ? </span> <a href="https://www.tuchassou.fr/contactez-nous/"> Contactez-nous </a>
  395.             </p>
  396.         </div>
  397.     </div>
  398.     <div class="fix_vas_mobile" style="display:none;">
  399.         <div class="mob-variant select-date">
  400.             <p class="price"><span id="initial_price">{{ offer.getBasePrice()|number_format(2, '.', ',') }} €</span> /
  401.                 Action</p>
  402.             <a class=" new_d btn btn-default">Sélectionner une date</a>
  403.         </div>
  404.     </div>
  405. </div>
  406. <div class="modal fade custom-modal-login in modal-more-info" id="modal-gibiers" tabindex="-1" role="dialog">
  407.     <div class="modal-dialog clearfix" role="document">
  408.         <div class="modal-content">
  409.             <div class="modal-header">
  410.                 <button type="button" class="close" data-bs-dismiss="modal" aria-label="Close"><span
  411.                             aria-hidden="true">×</span>
  412.                 </button>
  413.                 <span class="modal-title d-flex align-items-center"><icon>
  414.                 <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20.04" viewBox="0 0 20 20.04">
  415.     <path data-name="Tracé 12813"
  416.           d="M38.5-571.625a1.285 1.285 0 0 1 1.168.854 2.616 2.616 0 0 1 .052 1.738v.01a5.2 5.2 0 0 0-.1.6c-.045.639-.1 7.652-.064 8.563.121 3.233.068 4.356-.246 5.221a3.835 3.835 0 0 1-2.237 2.353 2.712 2.712 0 0 1-.813.125 3.208 3.208 0 0 1-2.341-1.1 10.507 10.507 0 0 1-2.224-5.675 14.527 14.527 0 0 1 0-3.141 15.731 15.731 0 0 1 1.4-4.81 10.911 10.911 0 0 1 2.314-3.24 6.035 6.035 0 0 1 2.308-1.333 2.478 2.478 0 0 1 .783-.165zm-.484 2.194a3.54 3.54 0 0 0 .057-.3 4.236 4.236 0 0 0-1.507.919 9.193 9.193 0 0 0-1.891 2.681 14.012 14.012 0 0 0-1.244 4.284 12.854 12.854 0 0 0 0 2.684 8.957 8.957 0 0 0 1.774 4.713 1.492 1.492 0 0 0 1.057.543.956.956 0 0 0 .286-.044 2.13 2.13 0 0 0 1.119-1.282c.215-.591.249-1.7.142-4.558-.036-.98.019-8.1.068-8.762v-.01a6.806 6.806 0 0 1 .142-.868z"
  417.           transform="translate(-29.496 571.87)" style="fill:#172a3b"/>
  418.     <path data-name="Tracé 12814"
  419.           d="M243.664-565.081a3.387 3.387 0 0 1 1.137.24 7.624 7.624 0 0 1 3 2.581 10.9 10.9 0 0 1 .717 1.388 14.489 14.489 0 0 1 .727 2.622 20.83 20.83 0 0 1 .119 5.66c-.1.9-.271 2.18-.37 2.791a6.551 6.551 0 0 1-1.08 3.065 3.188 3.188 0 0 1-2.614 1.234 3.1 3.1 0 0 1-1.916-.616h-.006a3.69 3.69 0 0 1-1.094-1.448v-.007a5.46 5.46 0 0 1-.354-1.22 5.923 5.923 0 0 1-.1-1.558 26.469 26.469 0 0 1 .3-3.728 35.516 35.516 0 0 0 .424-5.3c-.011-.266-.035-.752-.057-1.181l-.012-.236a31.646 31.646 0 0 1-.051-1.444 13.874 13.874 0 0 1 .116-1.762 1.272 1.272 0 0 1 .253-.723 1.06 1.06 0 0 1 .861-.358zm1.637 17.829a1.447 1.447 0 0 0 1.21-.526 5.123 5.123 0 0 0 .757-2.3v-.005c.1-.586.26-1.827.359-2.709a19.014 19.014 0 0 0-.1-5.166 12.727 12.727 0 0 0-.627-2.269 9.938 9.938 0 0 0-.539-1.053 6.067 6.067 0 0 0-2.131-1.91 8.338 8.338 0 0 0-.049.943c0 .277.022.894.048 1.347l.012.245c.022.433.046.924.057 1.2a36.285 36.285 0 0 1-.437 5.589 24.735 24.735 0 0 0-.282 3.509 4.358 4.358 0 0 0 .067 1.2v.008a3.745 3.745 0 0 0 .249.884 1.964 1.964 0 0 0 .539.743 1.358 1.358 0 0 0 .866.27z"
  420.           transform="translate(-231.542 565.541)" style="fill:#172a3b"/>
  421. </svg>
  422. </icon> <span style="margin-left: 10px;">Gibiers</span> <br></span>
  423.             </div>
  424.             <div class="modal-body">
  425.                 <span> <b> Gibiers </b> </span><br>
  426.                 <span>{% for gibier in offer.gibiers %}{{ gibier.title }}{% if not loop.last %}, {% endif %}{% endfor %}</span>
  427.             </div>
  428.         </div>
  429.     </div>
  430. </div>
  431. <div class="modal fade custom-modal-login in modal-more-info" id="modal-animal" tabindex="-1" role="dialog">
  432.     <div class="modal-dialog clearfix" role="document">
  433.         <div class="modal-content">
  434.             <div class="modal-header">
  435.                 <button type="button" class="close" data-bs-dismiss="modal" aria-label="Close"><span
  436.                             aria-hidden="true">×</span>
  437.                 </button>
  438.                 <span class="modal-title d-flex align-items-center"><icon>
  439.                 <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20.04" viewBox="0 0 20 20.04">
  440.     <path data-name="Tracé 12813"
  441.           d="M38.5-571.625a1.285 1.285 0 0 1 1.168.854 2.616 2.616 0 0 1 .052 1.738v.01a5.2 5.2 0 0 0-.1.6c-.045.639-.1 7.652-.064 8.563.121 3.233.068 4.356-.246 5.221a3.835 3.835 0 0 1-2.237 2.353 2.712 2.712 0 0 1-.813.125 3.208 3.208 0 0 1-2.341-1.1 10.507 10.507 0 0 1-2.224-5.675 14.527 14.527 0 0 1 0-3.141 15.731 15.731 0 0 1 1.4-4.81 10.911 10.911 0 0 1 2.314-3.24 6.035 6.035 0 0 1 2.308-1.333 2.478 2.478 0 0 1 .783-.165zm-.484 2.194a3.54 3.54 0 0 0 .057-.3 4.236 4.236 0 0 0-1.507.919 9.193 9.193 0 0 0-1.891 2.681 14.012 14.012 0 0 0-1.244 4.284 12.854 12.854 0 0 0 0 2.684 8.957 8.957 0 0 0 1.774 4.713 1.492 1.492 0 0 0 1.057.543.956.956 0 0 0 .286-.044 2.13 2.13 0 0 0 1.119-1.282c.215-.591.249-1.7.142-4.558-.036-.98.019-8.1.068-8.762v-.01a6.806 6.806 0 0 1 .142-.868z"
  442.           transform="translate(-29.496 571.87)" style="fill:#172a3b"/>
  443.     <path data-name="Tracé 12814"
  444.           d="M243.664-565.081a3.387 3.387 0 0 1 1.137.24 7.624 7.624 0 0 1 3 2.581 10.9 10.9 0 0 1 .717 1.388 14.489 14.489 0 0 1 .727 2.622 20.83 20.83 0 0 1 .119 5.66c-.1.9-.271 2.18-.37 2.791a6.551 6.551 0 0 1-1.08 3.065 3.188 3.188 0 0 1-2.614 1.234 3.1 3.1 0 0 1-1.916-.616h-.006a3.69 3.69 0 0 1-1.094-1.448v-.007a5.46 5.46 0 0 1-.354-1.22 5.923 5.923 0 0 1-.1-1.558 26.469 26.469 0 0 1 .3-3.728 35.516 35.516 0 0 0 .424-5.3c-.011-.266-.035-.752-.057-1.181l-.012-.236a31.646 31.646 0 0 1-.051-1.444 13.874 13.874 0 0 1 .116-1.762 1.272 1.272 0 0 1 .253-.723 1.06 1.06 0 0 1 .861-.358zm1.637 17.829a1.447 1.447 0 0 0 1.21-.526 5.123 5.123 0 0 0 .757-2.3v-.005c.1-.586.26-1.827.359-2.709a19.014 19.014 0 0 0-.1-5.166 12.727 12.727 0 0 0-.627-2.269 9.938 9.938 0 0 0-.539-1.053 6.067 6.067 0 0 0-2.131-1.91 8.338 8.338 0 0 0-.049.943c0 .277.022.894.048 1.347l.012.245c.022.433.046.924.057 1.2a36.285 36.285 0 0 1-.437 5.589 24.735 24.735 0 0 0-.282 3.509 4.358 4.358 0 0 0 .067 1.2v.008a3.745 3.745 0 0 0 .249.884 1.964 1.964 0 0 0 .539.743 1.358 1.358 0 0 0 .866.27z"
  445.           transform="translate(-231.542 565.541)" style="fill:#172a3b"/>
  446. </svg>
  447. </icon> <span style="margin-left: 10px;">Animal</span> <br></span>
  448.             </div>
  449.             <div class="modal-body">
  450.                 <span> <b> Animal </b> </span><br>
  451.                 <span>{% for animal in offer.animals %}{{ animal.name }}{% if not loop.last %}, {% endif %}{% endfor %}</span>
  452.             </div>
  453.         </div>
  454.     </div>
  455. </div>