{% extends 'base_front.html.twig' %}
{% block meta %}
<title>Les produits disponibles pour votre mariage</title>
<meta name="description" content="Les produits disponibles. Actuellement, {{ countProducts }} produits disponibles.">
{% endblock %}
{% block style %}
<link rel="stylesheet" href="{{ asset('css/styleFiltreHebergement.css') }}">
{% endblock %}
{% block body %}
<!-- Modal filter -->
<div class="modal fade" id="modalFilter" tabindex="-1" role="dialog" aria-labelledby="filterModal" aria-hidden="true" style="padding-right:0">
<div class="modal-dialog myWidth" role="document">
<div class="modal-content">
<form id="searchForm" method="post" action="{{ path('heb_filtre') }}">
<div class="modal-header">
<h5 class="modal-title" id="">Filtre hébergement</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div class="row">
<div class="col-12">
<h3>Filtre prix</h3>
<div class="form-group filtrePrix">
<select name="prix" id="" class="padForFltrePrix">
<option value="moinsCher">Plus cher à moin cher</option>
<option value="plusCher">Moin cher à plus cher</option>
</select>
</div>
</div>
<div class="col-12">
<h3>Avis</h3>
<div class="form-group filtrePrix">
<select name="avis" id="" class="padForFltrePrix">
<option value="passable">Passable</option>
<option value="bien">Bien</option>
<option value="tbiens">Très bien</option>
</select>
</div>
</div>
<div class="col-12">
<h3>Type d'hébergement</h3>
<div class="flexRadio" id="cont_choix_type_hebergement">
<div class="custom-checkbox" style="position: relative">
<input type="radio" name="typeHebergement[]" value="maison" id="maison" class="custom-control-input">
<label for="maison" class="custom-control-label" style="margin-left: 25px;">Maison
</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="radio" name="typeHebergement[]" value="appartement" id="appartement" class="custom-control-input">
<label for="appartement" class="custom-control-label" style="margin-left: 25px;">Appartement</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="radio" name="typeHebergement[]" value="villa" id="villa" class="custom-control-input">
<label for="villa" class="custom-control-label" style="margin-left: 25px;">Villa</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="radio" name="typeHebergement[]" value="camping" id="camping" class="custom-control-input">
<label for="camping" class="custom-control-label" style="margin-left: 25px;">Camping</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="radio" name="typeHebergement[]" value="hotel" id="hotel" class="custom-control-input">
<label for="hotel" class="custom-control-label" style="margin-left: 25px;">Hôtel</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="radio" name="typeHebergement[]" value="bateau" id="bateau" class="custom-control-input">
<label for="bateau" class="custom-control-label" style="margin-left: 25px;">Bateau</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="radio" name="typeHebergement[]" value="chalet" id="chalet" class="custom-control-input">
<label for="chalet" class="custom-control-label" style="margin-left: 25px;">Chalet</label>
</div>
</div>
</div>
<div class="col-12">
<h3>Nombre participants</h3>
<div class="form-group flexRadio">
<input type="radio" name="nbrParticipant" value="" id="allParticipant" class="hideRadio" checked="checked">
<label for="allParticipant" class="labelRadio">Tous</label>
<input type="radio" name="nbrParticipant" value="1" id="oneParicipant" class="hideRadio">
<label for="oneParicipant" class="labelRadio">1</label>
<input type="radio" name="nbrParticipant" value="2" id="tooParicipant" class="hideRadio">
<label for="tooParicipant" class="labelRadio">2</label>
<input type="radio" name="nbrParticipant" value="3" id="3Paricipant" class="hideRadio">
<label for="3Paricipant" class="labelRadio">3</label>
<input type="radio" name="nbrParticipant" value="4" id="4Paricipant" class="hideRadio">
<label for="4Paricipant" class="labelRadio">4</label>
<input type="radio" name="nbrParticipant" value="5" id="5Paricipant" class="hideRadio">
<label for="5Paricipant" class="labelRadio">5</label>
<input type="radio" name="nbrParticipant" value="6" id="6Paricipant" class="hideRadio">
<label for="6Paricipant" class="labelRadio">6</label>
<input type="radio" name="nbrParticipant" value="7" id="7Paricipant" class="hideRadio">
<label for="7Paricipant" class="labelRadio">7</label>
<input type="radio" name="nbrParticipant" value="8" id="8Paricipant" class="hideRadio">
<label for="8Paricipant" class="labelRadio">8+</label>
</div>
</div>
<div class="col-12">
<h3>Nombre adultes</h3>
{# (input:radio[name="nbrAdulte"]#$Adulte.hideRadio+label.labelRadio[for="$Adulte"]{$})*8 #}
<div class="form-group flexRadio">
<input type="radio" name="nbrAdulte" value="" id="allAdulte" class="hideRadio" checked="checked">
<label for="allAdulte" class="labelRadio">Tous</label>
<input type="radio" name="nbrAdulte" id="1Adulte" value="1" class="hideRadio">
<label for="1Adulte" class="labelRadio">1</label>
<input type="radio" name="nbrAdulte" id="2Adulte" value="2" class="hideRadio">
<label for="2Adulte" class="labelRadio">2</label>
<input type="radio" name="nbrAdulte" id="3Adulte" value="3" class="hideRadio">
<label for="3Adulte" class="labelRadio">3</label>
<input type="radio" name="nbrAdulte" id="4Adulte" value="4" class="hideRadio">
<label for="4Adulte" class="labelRadio">4</label>
<input type="radio" name="nbrAdulte" id="5Adulte" value="5" class="hideRadio">
<label for="5Adulte" class="labelRadio">5</label>
<input type="radio" name="nbrAdulte" id="6Adulte" value="6" class="hideRadio">
<label for="6Adulte" class="labelRadio">6</label>
<input type="radio" name="nbrAdulte" id="7Adulte" value="7" class="hideRadio">
<label for="7Adulte" class="labelRadio">7</label>
<input type="radio" name="nbrAdulte" id="8Adulte" value="8" class="hideRadio">
<label for="8Adulte" class="labelRadio">8+</label>
</div>
</div>
<div class="col-12">
<h3>Nombre enfants (entre 2ans et 10ans)</h3>
<div class="form-group flexRadio">
<input type="radio" name="nbrEnfant" value="" id="allEnfant" checked="checked" class="hideRadio">
<label for="allEnfant" class="labelRadio">Tous</label>
<input type="radio" name="nbrEnfant" id="1Enfant" value="1" class="hideRadio">
<label for="1Enfant" class="labelRadio">1</label>
<input type="radio" name="nbrEnfant" id="2Enfant" value="2" class="hideRadio">
<label for="2Enfant" class="labelRadio">2</label>
<input type="radio" name="nbrEnfant" id="3Enfant" value="3" class="hideRadio">
<label for="3Enfant" class="labelRadio">3</label>
<input type="radio" name="nbrEnfant" id="4Enfant" value="4" class="hideRadio">
<label for="4Enfant" class="labelRadio">4</label>
<input type="radio" name="nbrEnfant" id="5Enfant" value="5" class="hideRadio">
<label for="5Enfant" class="labelRadio">5</label>
<input type="radio" name="nbrEnfant" id="6Enfant" value="6" class="hideRadio">
<label for="6Enfant" class="labelRadio">6</label>
<input type="radio" name="nbrEnfant" id="7Enfant" value="7" class="hideRadio">
<label for="7Enfant" class="labelRadio">7</label>
<input type="radio" name="nbrEnfant" id="8Enfant" value="8" class="hideRadio">
<label for="8Enfant" class="labelRadio">8+</label>
</div>
</div>
<div class="col-12">
<h3>Nombre bébé (0 et 23 mois)</h3>
<div class="form-group flexRadio">
<input type="radio" name="nbrBebe" value="" id="allBebe" class="hideRadio" checked="checked">
<label for="allBebe" class="labelRadio">Tous</label>
<input type="radio" name="nbrBebe" id="1Bebe" value="1" class="hideRadio">
<label for="1Bebe" class="labelRadio">1</label>
<input type="radio" name="nbrBebe" id="2Bebe" value="2" class="hideRadio">
<label for="2Bebe" class="labelRadio">2</label>
<input type="radio" name="nbrBebe" id="3Bebe" value="3" class="hideRadio">
<label for="3Bebe" class="labelRadio">3</label>
<input type="radio" name="nbrBebe" id="4Bebe" value="4" class="hideRadio">
<label for="4Bebe" class="labelRadio">4</label>
<input type="radio" name="nbrBebe" id="5Bebe" value="5" class="hideRadio">
<label for="5Bebe" class="labelRadio">5</label>
<input type="radio" name="nbrBebe" id="6Bebe" value="6" class="hideRadio">
<label for="6Bebe" class="labelRadio">6</label>
<input type="radio" name="nbrBebe" id="7Bebe" value="7" class="hideRadio">
<label for="7Bebe" class="labelRadio">7</label>
<input type="radio" name="nbrBebe" id="8Bebe" value="8" class="hideRadio">
<label for="8Bebe" class="labelRadio">8+</label>
</div>
</div>
<div class="col-12" id="cont_prix_hotel">
<div class="col-12">
<h3>Prix par nuit (€)</h3>
<div class="form-group">
<range-selector
min-range="0"
max-range="2000"
inputs-for-labels
slider-color="#FE7708"
circle-border="3px solid #0DE8C7"
circle-focus-border="3px solid #0DE8C7"
/>
</div>
</div>
<div class="col-12">
<h3>Prix par séjour (€)</h3>
<div class="form-group">
<range-selector
min-range="0"
max-range="2000"
inputs-for-labels
slider-color="#FE7708"
circle-border="3px solid #0DE8C7"
circle-focus-border="3px solid #0DE8C7"
/>
</div>
</div>
</div>
<div class="col-12" id="cont_another_rice">
<h3>Prix (€)</h3>
<div class="form-group">
<range-selector
min-range="0"
max-range="2000"
inputs-for-labels
slider-color="#FE7708"
circle-border="3px solid #0DE8C7"
circle-focus-border="3px solid #0DE8C7"
/>
</div>
</div>
<div class="col-12">
<h3>Nombre de chambres</h3>
<div class="form-group flexRadio">
<input type="radio" name="nbrChambre" value="" id="allChambre" class="hideRadio" checked="checked">
<label for="allChambre" class="labelRadio">Tous</label>
<input type="radio" name="nbrChambre" id="1Chambre" value="1" class="hideRadio">
<label for="1Chambre" class="labelRadio">1</label>
<input type="radio" name="nbrChambre" id="2Chambre" value="2" class="hideRadio">
<label for="2Chambre" class="labelRadio">2</label>
<input type="radio" name="nbrChambre" id="3Chambre" value="3" class="hideRadio">
<label for="3Chambre" class="labelRadio">3</label>
<input type="radio" name="nbrChambre" id="4Chambre" value="4" class="hideRadio">
<label for="4Chambre" class="labelRadio">4</label>
<input type="radio" name="nbrChambre" id="5Chambre" value="5" class="hideRadio">
<label for="5Chambre" class="labelRadio">5</label>
<input type="radio" name="nbrChambre" id="6Chambre" value="6" class="hideRadio">
<label for="6Chambre" class="labelRadio">6+</label>
</div>
</div>
<div class="col-12">
<h3>Nombre de lits</h3>
<div class="form-group flexRadio">
<input type="radio" name="nbrChambreLits" id="allLits" class="hideRadio" checked="checked">
<label for="allLits" class="labelRadio">Tous</label>
<input type="radio" name="nbrChambreLits" id="1Lits" value="1" class="hideRadio">
<label for="1Lits" class="labelRadio">1</label>
<input type="radio" name="nbrChambreLits" id="2Lits" value="2" class="hideRadio">
<label for="2Lits" class="labelRadio">2</label>
<input type="radio" name="nbrChambreLits" id="3Lits" value="3" class="hideRadio">
<label for="3Lits" class="labelRadio">3</label>
<input type="radio" name="nbrChambreLits" id="4Lits" value="4" class="hideRadio">
<label for="4Lits" class="labelRadio">4</label>
<input type="radio" name="nbrChambreLits" id="5Lits" value="5" class="hideRadio">
<label for="5Lits" class="labelRadio">5</label>
<input type="radio" name="nbrChambreLits" id="6Lits" value="6" class="hideRadio">
<label for="6Lits" class="labelRadio">6+</label>
</div>
</div>
<div class="col-12">
<h3>Equipements</h3>
{# (div.custom-checkbox[style="position: relative"]>input:checkbox#.custom-control-input[name="equipements"]+label.custom-control-label[style="margin-left: 25px;"]{})*3 #}
<div class="flexRadio">
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="equipements[]" id="wifi" value="wifi" class="custom-control-input">
<label for="wifi" class="custom-control-label" style="margin-left: 25px;">Wifi
</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="equipements[]" id="climatisation" value="climatisation" class="custom-control-input">
<label for="climatisation" class="custom-control-label" style="margin-left: 25px;">Climatisation</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="equipements[]" id="laveLinge" value="laveLinge" class="custom-control-input">
<label for="laveLinge" class="custom-control-label" style="margin-left: 25px;">Lave linge</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="equipements[]" id="secheLinge" value="secheLinge" class="custom-control-input">
<label for="secheLinge" class="custom-control-label" style="margin-left: 25px;">Sèche linge</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="equipements[]" id="laveVaisselle" value="laveVaisselle" class="custom-control-input">
<label for="laveVaisselle" class="custom-control-label" style="margin-left: 25px;">Lave vaisselle</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="equipements[]" id="television" value="television" class="custom-control-input">
<label for="television" class="custom-control-label" style="margin-left: 25px;">Télévision</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="equipements[]" id="ferARepasser" value="ferARepasser" class="custom-control-input">
<label for="ferARepasser" class="custom-control-label" style="margin-left: 25px;">Fer à repasser</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="equipements[]" id="four" value="four" class="custom-control-input">
<label for="four" class="custom-control-label" style="margin-left: 25px;">Four</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="equipements[]" id="litBebe" value="litBebe" class="custom-control-input">
<label for="litBebe" class="custom-control-label" style="margin-left: 25px;">Lit bébé</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="equipements[]" id="chaiseHaute" value="chaiseHaute" class="custom-control-input">
<label for="chaiseHaute" class="custom-control-label" style="margin-left: 25px;">Chaise haute</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="equipements[]" id="lingeDeMaison" value="lingeDeMaison" class="custom-control-input">
<label for="lingeDeMaison" class="custom-control-label" style="margin-left: 25px;">Linge de maison fourni</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="equipements[]" id="cuisineSeparee" value="cuisineSeparee" class="custom-control-input">
<label for="cuisineSeparee" class="custom-control-label" style="margin-left: 25px;">Cuisine séparée</label>
</div>
</div>
</div>
<div class="col-12">
<h3>Confort</h3>
<div class="flexRadio">
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="caracteristique[]" id="piscine" value="piscine" class="custom-control-input">
<label for="piscine" class="custom-control-label" style="margin-left: 25px;">Piscine</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="caracteristique[]" id="jacuzzi" value="jacuzzi" class="custom-control-input">
<label for="jacuzzi" class="custom-control-label" style="margin-left: 25px;">Jacuzzi</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="caracteristique[]" id="terrasse" value="terrasse" class="custom-control-input">
<label for="terrasse" class="custom-control-label" style="margin-left: 25px;">Terrasse</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="caracteristique[]" id="balcon" value="balcon" class="custom-control-input">
<label for="balcon" class="custom-control-label" style="margin-left: 25px;">Balcon</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="caracteristique[]" id="jardin" value="jardin" class="custom-control-input">
<label for="jardin" class="custom-control-label" style="margin-left: 25px;">Jardin</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="caracteristique[]" id="animal" value="animal" class="custom-control-input">
<label for="animal" class="custom-control-label" style="margin-left: 25px;">Animal domestique accepté</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="caracteristique[]" id="parking" value="parking" class="custom-control-input">
<label for="parking" class="custom-control-label" style="margin-left: 25px;">Parking</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="caracteristique[]" id="accesHandicapee" value="accesHandicapee" class="custom-control-input">
<label for="accesHandicapee" class="custom-control-label" style="margin-left: 25px;">Accès handicapés</label>
</div>
</div>
</div>
<div class="col-12">
<h3>Localisation</h3>
<div class="flexRadio">
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="localisation[]" id="bordDeMer" value="bord-de-mer" class="custom-control-input">
<label for="bordDeMer" class="custom-control-label" style="margin-left: 25px;">Bord de mer</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="localisation[]" id="centreVille" value="centre-ville" class="custom-control-input">
<label for="centreVille" class="custom-control-label" style="margin-left: 25px;">Centre ville</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="localisation[]" id="bordDePlage" value="bord-de-plage" class="custom-control-input">
<label for="bordDePlage" class="custom-control-label" style="margin-left: 25px;">Bord de plage</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="localisation[]" id="vueMer" value="vue-mer" class="custom-control-input">
<label for="vueMer" class="custom-control-label" style="margin-left: 25px;">Vue mer</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="localisation[]" id="campagne" value="campagne" class="custom-control-input">
<label for="campagne" class="custom-control-label" style="margin-left: 25px;">Campagne</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="localisation[]" id="montagne" value="montagne" class="custom-control-input">
<label for="montagne" class="custom-control-label" style="margin-left: 25px;">Montagne</label>
</div>
</div>
</div>
<div class="col-12">
<h3>Sécurité</h3>
<div class="flexRadio">
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="securite[]" id="detecteurDeFumee" value="detecteur-de-fumee" class="custom-control-input">
<label for="detecteurDeFumee" class="custom-control-label" style="margin-left: 25px;">Détecteur de fumée</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="securite[]" id="detecteurDeMonoxydeDeCarbone" value="detecteur-de-monoxyde-de-carbone" class="custom-control-input">
<label for="detecteurDeMonoxydeDeCarbone" class="custom-control-label" style="margin-left: 25px;">Détecteur de monoxyde de carbone</label>
</div>
</div>
</div>
<div class="col-12">
<h3>Langue du propriétaire</h3>
<div class="flexRadio">
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="langue[]" id="francais" value="francais" class="custom-control-input">
<label for="francais" class="custom-control-label" style="margin-left: 25px;">Français</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="langue[]" id="anglais" value="anglais" class="custom-control-input">
<label for="anglais" class="custom-control-label" style="margin-left: 25px;">Anglais</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="langue[]" id="allemend" value="allemend" class="custom-control-input">
<label for="allemend" class="custom-control-label" style="margin-left: 25px;">Allemand</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="langue[]" id="espagnol" value="espagnol" class="custom-control-input">
<label for="espagnol" class="custom-control-label" style="margin-left: 25px;">Espagnol</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="langue[]" id="italien" value="italien" class="custom-control-input">
<label for="italien" class="custom-control-label" style="margin-left: 25px;">Italien</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="langue[]" id="russe" value="russe" class="custom-control-input">
<label for="russe" class="custom-control-label" style="margin-left: 25px;">Russe</label>
</div>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Fermer</button>
<button type="submit" class="btn btn-primary" id="" onclick="">Afficher</button>
</div>
</form>
</div>
</div>
</div>
<!-- Fin Modal filter -->
<div class="page-header heor-section-style" style="
height: 100%;
{% if categoryBackground is defined and categoryBackground is not null and categoryBackground.image is not null %}
background: url({{ asset(constant('App\\Services\\File::IMAGE_CATEGORY_DIR') ~ categoryBackground.image) }})
{% else %}
background: url({{ asset('images/vacance_background.jpg') }})
{% endif %}
no-repeat center;background-size: cover">
<div class="container">
<div
class="row">
<!-- page caption -->
<div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12 ">
<div class="page-caption">
<h1 class="page-title">Services</h1>
</div>
</div>
<!-- /.page caption -->
</div>
</div>
<!-- page caption -->
<div class="page-breadcrumb">
<div class="container">
<div class="row">
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a href="{{ path('front_home') }}" class="breadcrumb-link">Accueil</a>
</li>
<li class="breadcrumb-item active text-white" aria-current="page">Recherche :
{% if app.session.get('categoryName') %}
{{ app.session.get('categoryName') }}
{% endif %}
{% if app.session.get('departmentName') %}-
{{ app.session.get('departmentName') }}
{% endif %}
{% if app.session.get('weddingdate') %}-
{{ app.session.get('weddingdate') }}
{% endif %}
</li>
</ol>
</nav>
</div>
</div>
</div>
<!-- page breadcrumb -->
</div>
<!-- /.page-header -->
<!-- vendor-section -->
<div class="content">
<div class="container">
<div class="row">
<div
{% if subcategory.subCategorySlug != "hebergements" %} {# test if category is hebergments make full container #}
class="col-xl-8 col-lg-8 col-md-7 col-sm-12 col-12"
{% else %}
class="col-12"
{% endif %}
>
{% for message in app.flashes('success') %}
<div class="alert alert-success">
{{ message }}
</div>
{% endfor %}
<div class="row">
{% if products|length > 0 %}
<div class="col-12">
{# data-toggle="modal" data-target="#modalFilter" #}
{% if subcategory.subCategorySlug == "hebergements" %}
<button type="button" class="btn btn-primary mb-2" onClick="showModal()">Filter</button>
{% endif %}
</div>
{% endif %}
</div>
<div id="allProduct" class="row">
{% if products|length > 0 %}
{# <div class="col-12">
<button type="button" class="btn btn-primary mb-2" data-toggle="modal" data-target="#modalFilter">Filter</button>
</div> #}
{% for product in products %}
{% if product.isActivated and product.isDesactivatedByAdmin == false %}
{% set subCategorySlug = product.subCategories.toArray()[0].subCategorySlug %}
<div
{% if subcategory.subCategorySlug != "hebergements" %} {# test if category is hebergments make 3 colones #}
class="col-lg-6 col-sm-12 col-12"
{% else %}
class="col-lg-4 col-sm-12 col-12"
{% endif %}
>
<div class="container-block-Pcompanies mb-3">
{# <div class="container-imageP zoomimg"> #}
<div class="container-slide-image">
{% if product.photos.first != false %}
{% for imgHebmt in product.photos.toArray() %}
<img src="{{ asset(constant('App\\Services\\File::IMAGE_PRODUCT_DIR') ~ imgHebmt.url) }}" alt="default image" class="img-fluid" style="height: 213px;object-fit: cover; border-radius: .5rem .5rem 0 0;">
{% endfor %}
{% else %}
<img src="{{ asset('images/vecteezy_vector-gear-logo-design-with-multi-colors-range_6172776.jpg') }}" alt="default image" class="img-fluid" style="height: 213px;object-fit: cover; border-radius: .5rem .5rem 0 0;">
{% endif %}
</div>
<div class="container-info-presta" style="padding-bottom: 80px;">
<h2 class="vendor-title">
{# <a href="{{ path('front_product_single', {'slug': product.subCategories[0].categories[0].slug, 'subCategorySlug': product.subCategories[0].subCategorySlug, 'product_id': product.id, 'productSlug': product.productSlug}) }}" class="title">{{ product.name }}</a> #}
{% set subCategory = product.subCategories.toArray()[0] %}
{# <pre>
{{ dump(subCategory.categories.toArray[0].slug) }}
</pre> #}
{% set slug = "" %}
{% if product.typeActivity is not null %}
{% set slug = product.typeActivity.slug %}
{% elseif product.typeHebergements is not null %}
{% set slug = product.typeHebergements.slugTypeHebergm %}
{% else %}
{% set slug = subCategory.categories.toArray[0].slug %}
{% endif %}
<a href="{{ path('front_product_single', {
'slug': slug,
'subCategorySlug': subCategory.subCategorySlug,
'product_id': product.id,
'productSlug': product.productSlug
}) }}" class="title">{{ product.name }}</a>
</h2>
<p class="vendor-address">
{% for department in product.departments %}
{{ department.name }}
{% if not loop.last %},
{% endif %}
{% else %}
Toute la France
{% endfor %}
</p>
<p>
{% if product.typeHebergements is null or product.typeHebergements.slugTypeHebergm != 'hotel' %}
<i class="fas fa-money-bill-wave"></i>
Prix :
{% set today = "now"|date('Y-m-d') %}
{% set customPriceFound = false %}
{% set customPrice = 0 %}
{% set currentPrice = 0 %}
{% set price = 0 %}
{% set difference = null %}
{% set reductionPercentage = 0 %}
{% set duration = null %}
{% set countdown = null %}
{% set reductionValid = false %}
{% for dayPrice in product.dayPrice %}
{% set formattedDate = dayPrice.customDate|date('Y-m-d') %}
{% if formattedDate == today %}
{% set customPriceFound = true %}
{% set customPrice = dayPrice.customPrice|number_format(2, '.') %}
{% endif %}
{% endfor %}
{% set month = "now"|date('n') %}
{% if month >= 3 and month <= 5 %}
{% set springPrice = product.springPrice %}
{% if springPrice is not null %}
{% set currentPrice = product.springPrice %}
{% else %}
{% set currentPrice = 0 %}
{% endif %}
{% elseif month >= 6 and month <= 8 %}
{% set summerPrice = product.summerPrice %}
{% if summerPrice is not null %}
{% set currentPrice = product.summerPrice %}
{% else %}
{% set currentPrice = 0 %}
{% endif %}
{% elseif month >= 9 and month <= 11 %}
{% set autumnPrice = product.autumnPrice %}
{% if autumnPrice is not null %}
{% set currentPrice = product.autumnPrice %}
{% else %}
{% set currentPrice = 0 %}
{% endif %}
{% else %}
{% set winterPrice = product.winterPrice %}
{% if winterPrice is not null %}
{% set currentPrice = product.winterPrice %}
{% else %}
{% set currentPrice = 0 %}
{% endif %}
{% endif %}
{% set day = "now"|date('N') %}
{% if day == 6 or day == 7 %}
{% set weekEndPrice = product.weekEndPrice %}
{% if weekEndPrice is not null %}
{% set currentPrice = product.weekEndPrice %}
{% else %}
{% set currentPrice = 0 %}
{% endif %}
{% endif %}
{% set periodPrice = 0 %}
{% for period in product.periodPrice.toArray() %}
{% set startDate = period.startDate|date("Y-m-d") %}
{% set endDate = period.endDate|date("Y-m-d") %}
{% if today >= startDate and today <= endDate and period.price is not null %}
{% set periodPrice = period.price %}
{% else %}
{% set currentPrice = 0 %}
{% endif %}
{% endfor %}
{% if periodPrice != 0 %}
{% set currentPrice = periodPrice %}
{% endif %}
{% if customPriceFound and customPrice != 0 %}
{% set price = customPrice %}
{% elseif currentPrice != 0 and currentPrice is not null and customPrice == 0 %}
{% set price = currentPrice %}
{% elseif currentPrice == 0 or currentPrice is null and customPrice == 0 %}
{% set price = product.price %}
{% endif %}
{% for autoReduce in product.productAutoReduction.toArray %}
{% if autoReduce.createdAt is not null and autoReduce.countdown is not null and autoReduce.duration is not null and autoReduce.reductionPercentage is not null %}
{% set difference = date(today).diff(autoReduce.createdAt).days %}
{% set duration = autoReduce.duration %}
{% set countdown = autoReduce.countdown %}
{% set reductionPercentage = autoReduce.reductionPercentage %}
{% set durationout = duration + countdown %}
{# {{ dump(countdown,difference,durationout,duration) }} #}
{% set reductionValid = difference > countdown and difference <= durationout %}
{% endif %}
{% endfor %}
{# {{ dump(reductionValid) }} #}
{% if reductionValid %}
{% set priceReduced = price - ((price * reductionPercentage) / 100) %}
<strong>{{ priceReduced|number_format(2, '.') }}</strong>€
{% else %}
<strong>{{ price|number_format(2, '.') }}</strong>€
{% endif %}
{% else %}
{% set lengthRoomNight = 0 %}
{% set statusByNight = false %}
{% set allPriceByNight = 0 %}
{% set lengthRoomDay = 0 %}
{% set statusByDay = false %}
{% set allPriceByDay = 0 %}
{% if product.chambres is defined %}
{% for roomOption in product.chambres.toArray %}
{% if roomOption.tarifNuit is defined %}
{% set lengthRoomNight = lengthRoomNight + 1 %}
{% set statusByNight = true %}
{% set allPriceByNight = allPriceByNight + roomOption.tarifNuit %}
{% endif %}
{% if roomOption.tarifJour is not null %}
{% set lengthRoomDay = lengthRoomDay + 1 %}
{% set statusByDay = true %}
{% set allPriceByDay = allPriceByDay + roomOption.tarifJour %}
{% endif %}
{% endfor %}
{% if statusByDay or statusByNight %}
<p>Prix moyen d'une chambre:</p>
{% endif %}
{% if statusByNight %}
<p>
<i class="fas fa-money-bill-wave"></i>
par nuit
<strong>{{ (allPriceByNight / lengthRoomNight)|number_format(2, '.') }}</strong>€
</p>
{% endif %}
{% if statusByDay %}
{# <p>
<i class="fas fa-money-bill-wave"></i>
par jour
<strong>{{ (allPriceByDay / lengthRoomDay)|number_format(2, '.') }}</strong>€
</p> #}
{% endif %}
{% endif %}
{% if not statusByNight and not statusByDay %}
<p>
Prix : <strong>Prix en attente</strong>
</p>
{% endif %}
{# <i class="fas fa-money-bill-wave"></i>
Prix :
<strong>{{ product.price|number_format(2, '.') }}</strong>€ #}
{% endif %}
</p>
<p>
<i class="fa fa-star rated"></i>
{% set notes = 0 %}
{% for avi in product.avis %}
{% set notes = notes + avi.globalNote %}
{% endfor %}
{% set noteTotal = (notes > 0) ? notes / product.avis|length : 0 %}
{{ product.avis|length }} Avis</p>
<p>{{ product.quantity }}
Quantité restante</p>
</div>
<div class="wishlist-sign">
<a href="#" class="btn-wishlist">
<i class="fa fa-heart"></i>
</a>
</div>
{% if product.subCategories[0].categories[0] is defined %}
<a href="{{ path('front_product_single', {
'slug': slug,
'subCategorySlug': product.subCategories[0].subCategorySlug,
'product_id': product.id,
'productSlug': product.productSlug
}) }}" class="title">
<button class="btnVoirP btn">Voir {% if subCategorySlug == "hebergements"%}l'hébergement{% else %}plus{% endif %}
</button>
</a>
{% endif %}
</div>
</div>
{% endif %}
{% endfor %}
{% else %}
<div class="col-12">
<button type="button" class="btn btn-primary mb-2" data-toggle="modal" data-target="#modalFilter">Filter</button>
</div>
<div class="vendor-thumbnail list-view p-4">Aucun service correspondant</div>
{% endif %}
</div>
{# {% for product in products %}
<div
class="vendor-thumbnail list-view">
<!-- Vendor thumbnail -->
<div class="row">
<div
class="col-xl-4 col-lg-4 col-md-12 col-sm-12 col-12 border-right pr-0 zoom-img">
{# <div class="vendor-img" style="background:url({% if product.photos is not empty %}{{ asset(constant('App\\Services\\File::IMAGE_PRODUCT_DIR') ~ product.photos.first.url) }} {% else %}{{ asset('images/illustration-default.jpg') }}{% endif %})no-repeat center;background-size:cover;height:100%">
{% if product.photos.first != false %}
<div
class="vendor-img" style="background:url({{ asset(constant('App\\Services\\File::IMAGE_PRODUCT_DIR') ~ product.photos.first.url) }})no-repeat center;background-size:cover;height:100%">
<!-- Vendor img -->
<a href="{{ path('front_product_single', {'slug': product.subCategories[0].categories[0].slug, 'subCategorySlug': product.subCategories[0].subCategorySlug, 'product_id': product.id, 'productSlug': product.productSlug}) }}">
<div style="height:100%;width:100%"></div>
</a>
<div class="wishlist-sign">
{% if app.user and app.user.roles == ['ROLE_USER'] %}
{% set isWish = filter_service.getIfIsWish(app.user, product) %}
{% if isWish %}
<a href="#" class="btn-wishlist" style="background-color:#ff4d4d;">
<i class="fa fa-heart" style="color:#fff"></i>
</a>
{% else %}
<a href="#" class="btn-wishlist">
<i class="fa fa-heart"></i>
</a>
{% endif %}
{% endif %}
</div>
</div>
{% else %}
<div
class="vendor-img" style="background:url({{ asset(constant('App\\Services\\File::IMAGE_PRODUCT_DIR') ~ 'photographe-mariage-forfait-4') }})no-repeat center;background-size:cover;height:100%">
<!-- Vendor img -->
<a href="{{ path('front_product_single', {'slug': product.subCategories[0].categories[0].slug, 'subCategorySlug': product.subCategories[0].subCategorySlug, 'product_id': product.id, 'productSlug': product.productSlug}) }}">
<div style="height:100%;width:100%"></div>
</a>
<div class="wishlist-sign">
{% if app.user and app.user.roles == ['ROLE_USER'] %}
{% set isWish = filter_service.getIfIsWish(app.user, product) %}
{% if isWish %}
<a href="#" class="btn-wishlist" style="background-color:#ff4d4d;">
<i class="fa fa-heart" style="color:#fff"></i>
</a>
{% else %}
<a href="#" class="btn-wishlist">
<i class="fa fa-heart"></i>
</a>
{% endif %}
{% endif %}
</div>
</div>
{% endif %}
</div>
<!-- /.Vendor img -->
<div class="col-xl-8 col-lg-8 col-md-12 col-sm-12 col-12 pl-0">
<div
class="vendor-content">
<!-- Vendor Content -->
<h2 class="vendor-title">
<a href="{{ path('front_product_single', {'slug': product.subCategories[0].categories[0].slug, 'subCategorySlug': product.subCategories[0].subCategorySlug, 'product_id': product.id, 'productSlug': product.productSlug}) }}" class="title">{{ product.name }}</a>
</h2>
<p class="vendor-address">
{% for department in product.departments %}
{{ department.name }}
{% if not loop.last %},
{% endif %}
{% else %}
Toute la France
{% endfor %}
</p>
<!-- /.Vendor meta -->
</div>
<div class="vendor-meta m-0">
<div class="vendor-meta-item vendor-meta-item-bordered">
<span class="vendor-price">
{{ product.price|number_format(2, '.') }}€
</span>
<span class="vendor-text">Prix</span>
</div>
<div class="vendor-meta-item vendor-meta-item-bordered">
<span class="vendor-guest">
{{ product.quantity }}
</span>
<span class="vendor-text">Quantité restante</span>
</div>
{% set notes = 0 %}
{% for avi in product.avis %}
{% set notes = notes + avi.globalNote %}
{% endfor %}
{% set noteTotal = (notes > 0) ? notes / product.avis|length : 0 %}
<div class="vendor-meta-item vendor-meta-item-bordered">
<span class="rating-star">
{% for i in 1..5 %}
{% if i < noteTotal %}
<i class="fa fa-star rated"></i>
{% else %}
<i class="fa fa-star rate-mute"></i>
{% endif %}
{% endfor %}
</span>
<span class="rating-count vendor-text">({{ product.avis|length }})</span>
</div>
</div>
<!-- /.Vendor Content -->
</div>
</div>
</div>
{% else %}
<div class="vendor-thumbnail list-view p-4">Aucun service correspondant</div>
{% endfor %} #}
<div class="pagination">
<nav aria-label="Page navigation example">
{{ knp_pagination_render(products) }}
</nav>
</div>
<!-- /.paginations -->
</div>
<!-- sidebar-section -->
{% if subcategory.subCategorySlug != "hebergements" %}
{{ include('front/inc/filter_sidebar.html.twig') }}
{% endif %}
<!-- /.sidebar-section -->
</div>
</div>
</div>
{% endblock %}
{% block javascript %}
<script
type="text/javascript"
src="https://cdn.jsdelivr.net/gh/maxshuty/accessible-web-components@latest/dist/simpleRange.min.js">
</script>
<script src="{{ asset('js/jsForHebergementFilter.js') }}"></script>
<script src="{{ asset('js/getCommune.js') }}"></script>
{% endblock %}
{# <div class="modal fade" id="modalFilter" tabindex="-1" role="dialog" aria-labelledby="filterModal" aria-hidden="true" style="padding-right:0">
<div class="modal-dialog myWidth" role="document">
<div class="modal-content">
<form action="">
<div class="modal-header">
<h5 class="modal-title" id="">Filtre hébergement</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div class="row">
<div class="col-12">
<h3>Filtre prix</h3>
<div class="form-group filtrePrix">
<select name="" id="" class="padForFltrePrix">
<option value="">Plus cher à moin cher</option>
<option value="">Moin cher à plus cher</option>
</select>
</div>
</div>
<div class="col-12">
<h3>Avis</h3>
<div class="form-group filtrePrix">
<select name="" id="" class="padForFltrePrix">
<option value="">Passable</option>
<option value="">Bien</option>
<option value="">Très bien</option>
</select>
</div>
</div>
<div class="col-12">
<h3>Nombre participants</h3>
<div class="form-group flexRadio">
<input type="radio" name="nbrParticipant" value="" id="allParticipant" class="hideRadio" checked="checked">
<label for="allParticipant" class="labelRadio">Tous</label>
<input type="radio" name="nbrParticipant" value="" id="oneParicipant" class="hideRadio">
<label for="oneParicipant" class="labelRadio">1</label>
<input type="radio" name="nbrParticipant" value="" id="tooParicipant" class="hideRadio">
<label for="tooParicipant" class="labelRadio">2</label>
<input type="radio" name="nbrParticipant" value="" id="3Paricipant" class="hideRadio">
<label for="3Paricipant" class="labelRadio">3</label>
<input type="radio" name="nbrParticipant" value="" id="4Paricipant" class="hideRadio">
<label for="4Paricipant" class="labelRadio">4</label>
<input type="radio" name="nbrParticipant" value="" id="5Paricipant" class="hideRadio">
<label for="5Paricipant" class="labelRadio">5</label>
<input type="radio" name="nbrParticipant" value="" id="6Paricipant" class="hideRadio">
<label for="6Paricipant" class="labelRadio">6</label>
<input type="radio" name="nbrParticipant" value="" id="7Paricipant" class="hideRadio">
<label for="7Paricipant" class="labelRadio">7</label>
<input type="radio" name="nbrParticipant" value="" id="8Paricipant" class="hideRadio">
<label for="8Paricipant" class="labelRadio">8+</label>
</div>
</div>
<div class="col-12">
<h3>Nombre adultes</h3>
{# (input:radio[name="nbrAdulte"]#$Adulte.hideRadio+label.labelRadio[for="$Adulte"]{$})*8 }
<div class="form-group flexRadio">
<input type="radio" name="nbrAdulte" value="" id="allAdulte" class="hideRadio" checked="checked">
<label for="allAdulte" class="labelRadio">Tous</label>
<input type="radio" name="nbrAdulte" id="1Adulte" class="hideRadio">
<label for="1Adulte" class="labelRadio">1</label>
<input type="radio" name="nbrAdulte" id="2Adulte" class="hideRadio">
<label for="2Adulte" class="labelRadio">2</label>
<input type="radio" name="nbrAdulte" id="3Adulte" class="hideRadio">
<label for="3Adulte" class="labelRadio">3</label>
<input type="radio" name="nbrAdulte" id="4Adulte" class="hideRadio">
<label for="4Adulte" class="labelRadio">4</label>
<input type="radio" name="nbrAdulte" id="5Adulte" class="hideRadio">
<label for="5Adulte" class="labelRadio">5</label>
<input type="radio" name="nbrAdulte" id="6Adulte" class="hideRadio">
<label for="6Adulte" class="labelRadio">6</label>
<input type="radio" name="nbrAdulte" id="7Adulte" class="hideRadio">
<label for="7Adulte" class="labelRadio">7</label>
<input type="radio" name="nbrAdulte" id="8Adulte" class="hideRadio">
<label for="8Adulte" class="labelRadio">8+</label>
</div>
</div>
<div class="col-12">
<h3>Nombre enfants (entre 2ans et 10ans)</h3>
<div class="form-group flexRadio">
<input type="radio" name="nbrEnfant" id="allEnfant" checked="checked" class="hideRadio">
<label for="allEnfant" class="labelRadio">Tous</label>
<input type="radio" name="nbrEnfant" id="1Enfant" class="hideRadio">
<label for="1Enfant" class="labelRadio">1</label>
<input type="radio" name="nbrEnfant" id="2Enfant" class="hideRadio">
<label for="2Enfant" class="labelRadio">2</label>
<input type="radio" name="nbrEnfant" id="3Enfant" class="hideRadio">
<label for="3Enfant" class="labelRadio">3</label>
<input type="radio" name="nbrEnfant" id="4Enfant" class="hideRadio">
<label for="4Enfant" class="labelRadio">4</label>
<input type="radio" name="nbrEnfant" id="5Enfant" class="hideRadio">
<label for="5Enfant" class="labelRadio">5</label>
<input type="radio" name="nbrEnfant" id="6Enfant" class="hideRadio">
<label for="6Enfant" class="labelRadio">6</label>
<input type="radio" name="nbrEnfant" id="7Enfant" class="hideRadio">
<label for="7Enfant" class="labelRadio">7</label>
<input type="radio" name="nbrEnfant" id="8Enfant" class="hideRadio">
<label for="8Enfant" class="labelRadio">8+</label>
</div>
</div>
<div class="col-12">
<h3>Nombre bébé (0 et 23 mois)</h3>
<div class="form-group flexRadio">
<input type="radio" name="nbrBebe" id="allBebe" class="hideRadio" checked="checked">
<label for="allBebe" class="labelRadio">Tous</label>
<input type="radio" name="nbrBebe" id="1Bebe" class="hideRadio">
<label for="1Bebe" class="labelRadio">1</label>
<input type="radio" name="nbrBebe" id="2Bebe" class="hideRadio">
<label for="2Bebe" class="labelRadio">2</label>
<input type="radio" name="nbrBebe" id="3Bebe" class="hideRadio">
<label for="3Bebe" class="labelRadio">3</label>
<input type="radio" name="nbrBebe" id="4Bebe" class="hideRadio">
<label for="4Bebe" class="labelRadio">4</label>
<input type="radio" name="nbrBebe" id="5Bebe" class="hideRadio">
<label for="5Bebe" class="labelRadio">5</label>
<input type="radio" name="nbrBebe" id="6Bebe" class="hideRadio">
<label for="6Bebe" class="labelRadio">6</label>
<input type="radio" name="nbrBebe" id="7Bebe" class="hideRadio">
<label for="7Bebe" class="labelRadio">7</label>
<input type="radio" name="nbrBebe" id="8Bebe" class="hideRadio">
<label for="8Bebe" class="labelRadio">8+</label>
</div>
</div>
<div class="col-12">
<h3>Prix par nuit (€)</h3>
<div class="form-group">
<range-selector
min-range="0"
max-range="2000"
inputs-for-labels
slider-color="#ff839e"
circle-border="3px solid #903ef5"
circle-focus-border="3px solid #903ef5"
/>
</div>
</div>
<div class="col-12">
<h3>Prix par séjour (€)</h3>
<div class="form-group">
<range-selector
min-range="0"
max-range="2000"
inputs-for-labels
slider-color="#ff839e"
circle-border="3px solid #903ef5"
circle-focus-border="3px solid #903ef5"
/>
</div>
</div>
<div class="col-12">
<h3>Type d'hébergement</h3>
<div class="flexRadio">
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="typeHebergement" id="maison" class="custom-control-input">
<label for="maison" class="custom-control-label" style="margin-left: 25px;">Maison
</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="typeHebergement" id="appartement" class="custom-control-input">
<label for="appartement" class="custom-control-label" style="margin-left: 25px;">Appartement</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="typeHebergement" id="villa" class="custom-control-input">
<label for="villa" class="custom-control-label" style="margin-left: 25px;">Villa</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="typeHebergement" id="camping" class="custom-control-input">
<label for="camping" class="custom-control-label" style="margin-left: 25px;">Camping</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="typeHebergement" id="hotel" class="custom-control-input">
<label for="hotel" class="custom-control-label" style="margin-left: 25px;">Hôtel</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="typeHebergement" id="bateau" class="custom-control-input">
<label for="bateau" class="custom-control-label" style="margin-left: 25px;">Bateau</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="typeHebergement" id="chalet" class="custom-control-input">
<label for="chalet" class="custom-control-label" style="margin-left: 25px;">Chalet</label>
</div>
</div>
</div>
<div class="col-12">
<h3>Nombre de chambres</h3>
<div class="form-group flexRadio">
<input type="radio" name="nbrChambre" id="allChambre" class="hideRadio" checked="checked">
<label for="allChambre" class="labelRadio">Tous</label>
<input type="radio" name="nbrChambre" id="1Chambre" class="hideRadio">
<label for="1Chambre" class="labelRadio">1</label>
<input type="radio" name="nbrChambre" id="2Chambre" class="hideRadio">
<label for="2Chambre" class="labelRadio">2</label>
<input type="radio" name="nbrChambre" id="3Chambre" class="hideRadio">
<label for="3Chambre" class="labelRadio">3</label>
<input type="radio" name="nbrChambre" id="4Chambre" class="hideRadio">
<label for="4Chambre" class="labelRadio">4</label>
<input type="radio" name="nbrChambre" id="5Chambre" class="hideRadio">
<label for="5Chambre" class="labelRadio">5</label>
<input type="radio" name="nbrChambre" id="6Chambre" class="hideRadio">
<label for="6Chambre" class="labelRadio">6+</label>
</div>
</div>
<div class="col-12">
<h3>Nombre de lits</h3>
<div class="form-group flexRadio">
<input type="radio" name="nbrChambreLits" id="allLits" class="hideRadio" checked="checked">
<label for="allLits" class="labelRadio">Tous</label>
<input type="radio" name="nbrChambreLits" id="1Lits" class="hideRadio">
<label for="1Lits" class="labelRadio">1</label>
<input type="radio" name="nbrChambreLits" id="2Lits" class="hideRadio">
<label for="2Lits" class="labelRadio">2</label>
<input type="radio" name="nbrChambreLits" id="3Lits" class="hideRadio">
<label for="3Lits" class="labelRadio">3</label>
<input type="radio" name="nbrChambreLits" id="4Lits" class="hideRadio">
<label for="4Lits" class="labelRadio">4</label>
<input type="radio" name="nbrChambreLits" id="5Lits" class="hideRadio">
<label for="5Lits" class="labelRadio">5</label>
<input type="radio" name="nbrChambreLits" id="6Lits" class="hideRadio">
<label for="6Lits" class="labelRadio">6+</label>
</div>
</div>
<div class="col-12">
<h3>Equipements</h3>
{# (div.custom-checkbox[style="position: relative"]>input:checkbox#.custom-control-input[name="equipements"]+label.custom-control-label[style="margin-left: 25px;"]{})*3 }
<div class="flexRadio">
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="equipements" id="wifi" class="custom-control-input">
<label for="wifi" class="custom-control-label" style="margin-left: 25px;">Wifi
</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="equipements" id="climatisation" class="custom-control-input">
<label for="climatisation" class="custom-control-label" style="margin-left: 25px;">Climatisation</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="equipements" id="laveLinge" class="custom-control-input">
<label for="laveLinge" class="custom-control-label" style="margin-left: 25px;">Lave linge</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="equipements" id="secheLinge" class="custom-control-input">
<label for="secheLinge" class="custom-control-label" style="margin-left: 25px;">Sèche linge</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="equipements" id="laveVaisselle" class="custom-control-input">
<label for="laveVaisselle" class="custom-control-label" style="margin-left: 25px;">Lave vaisselle</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="equipements" id="television" class="custom-control-input">
<label for="television" class="custom-control-label" style="margin-left: 25px;">Télévision</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="equipements" id="ferARepasser" class="custom-control-input">
<label for="ferARepasser" class="custom-control-label" style="margin-left: 25px;">Fer à repasser</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="equipements" id="four" class="custom-control-input">
<label for="four" class="custom-control-label" style="margin-left: 25px;">Four</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="equipements" id="litBebe" class="custom-control-input">
<label for="litBebe" class="custom-control-label" style="margin-left: 25px;">Lit bébé</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="equipements" id="chaiseHaute" class="custom-control-input">
<label for="chaiseHaute" class="custom-control-label" style="margin-left: 25px;">Chaise haute</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="equipements" id="lingeDeMaison" class="custom-control-input">
<label for="lingeDeMaison" class="custom-control-label" style="margin-left: 25px;">Linge de maison fourni</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="equipements" id="cuisineSeparee" class="custom-control-input">
<label for="cuisineSeparee" class="custom-control-label" style="margin-left: 25px;">Cuisine séparée</label>
</div>
</div>
</div>
<div class="col-12">
<h3>Caractéristiques</h3>
<div class="flexRadio">
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="caracteristique" id="piscine" class="custom-control-input">
<label for="piscine" class="custom-control-label" style="margin-left: 25px;">Piscine</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="caracteristique" id="jacuzzi" class="custom-control-input">
<label for="jacuzzi" class="custom-control-label" style="margin-left: 25px;">Jacuzzi</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="caracteristique" id="terrasse" class="custom-control-input">
<label for="terrasse" class="custom-control-label" style="margin-left: 25px;">Terrasse</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="caracteristique" id="balcon" class="custom-control-input">
<label for="balcon" class="custom-control-label" style="margin-left: 25px;">Balcon</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="caracteristique" id="jardin" class="custom-control-input">
<label for="jardin" class="custom-control-label" style="margin-left: 25px;">Jardin</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="caracteristique" id="animal" class="custom-control-input">
<label for="animal" class="custom-control-label" style="margin-left: 25px;">Animal domestique accepté</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="caracteristique" id="parking" class="custom-control-input">
<label for="parking" class="custom-control-label" style="margin-left: 25px;">Parking</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="caracteristique" id="accesHandicapee" class="custom-control-input">
<label for="accesHandicapee" class="custom-control-label" style="margin-left: 25px;">Accès handicapés</label>
</div>
</div>
</div>
<div class="col-12">
<h3>Localisation</h3>
<div class="flexRadio">
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="localisation" id="bordDeMer" class="custom-control-input">
<label for="bordDeMer" class="custom-control-label" style="margin-left: 25px;">Bord de mer</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="localisation" id="centreVille" class="custom-control-input">
<label for="centreVille" class="custom-control-label" style="margin-left: 25px;">Centre ville</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="localisation" id="bordDePlage" class="custom-control-input">
<label for="bordDePlage" class="custom-control-label" style="margin-left: 25px;">Bord de plage</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="localisation" id="vueMer" class="custom-control-input">
<label for="vueMer" class="custom-control-label" style="margin-left: 25px;">Vue mer</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="localisation" id="campagne" class="custom-control-input">
<label for="campagne" class="custom-control-label" style="margin-left: 25px;">Campagne</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="localisation" id="montagne" class="custom-control-input">
<label for="montagne" class="custom-control-label" style="margin-left: 25px;">Montagne</label>
</div>
</div>
</div>
<div class="col-12">
<h3>Sécurité</h3>
<div class="flexRadio">
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="securite" id="detecteurDeFumee" class="custom-control-input">
<label for="detecteurDeFumee" class="custom-control-label" style="margin-left: 25px;">Détecteur de fumée</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="securite" id="" class="custom-control-input">
<label for="detecteurDeMonoxydeDeCarbone" class="custom-control-label" style="margin-left: 25px;">Détecteur de monoxyde de carbone</label>
</div>
</div>
</div>
<div class="col-12">
<h3>Langue du propriétaire</h3>
<div class="flexRadio">
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="langue" id="francais" class="custom-control-input">
<label for="francais" class="custom-control-label" style="margin-left: 25px;">Français</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="langue" id="anglais" class="custom-control-input">
<label for="anglais" class="custom-control-label" style="margin-left: 25px;">Anglais</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="langue" id="allemend" class="custom-control-input">
<label for="allemend" class="custom-control-label" style="margin-left: 25px;">Allemand</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="langue" id="espagnol" class="custom-control-input">
<label for="espagnol" class="custom-control-label" style="margin-left: 25px;">Espagnol</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="langue" id="italien" class="custom-control-input">
<label for="italien" class="custom-control-label" style="margin-left: 25px;">Italien</label>
</div>
<div class="custom-checkbox" style="position: relative">
<input type="checkbox" name="langue" id="russe" class="custom-control-input">
<label for="russe" class="custom-control-label" style="margin-left: 25px;">Russe</label>
</div>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Fermer</button>
<button type="submit" class="btn btn-primary" id="" onclick="">Afficher</button>
</div>
</form>
</div>
</div>
</div> #}