diff --git a/Js/fonctions.js b/Js/fonctions.js
index 741f7d8..9d19fda 100755
--- a/Js/fonctions.js
+++ b/Js/fonctions.js
@@ -17986,12 +17986,13 @@ function affichelisteprestataires(libelle)
}
}
-function selectPrestataire(code, libelle){
+function selectPrestataire(code, libelle, rdvPossible){
nomForm = $("#nomForm").val();
-
+ alert("rdvPossible => "+rdvPossible);
$("#searchInputPrestataire").val(libelle);
$("#div_selection_prestataire").hide();
$("#codePrestataire").val(code);
+ $("#rdvPossible").val(rdvPossible);
}
function estDateAnncienne(date) {
diff --git a/Vue/Ajaxchargerlisteprestataires/index.php b/Vue/Ajaxchargerlisteprestataires/index.php
index 12b3e49..8caf57b 100755
--- a/Vue/Ajaxchargerlisteprestataires/index.php
+++ b/Vue/Ajaxchargerlisteprestataires/index.php
@@ -6,7 +6,7 @@ if(!empty($prestataires)) {
-
', '=$v["libelle"];?>')">= $v["libelle"]; ?>
+', '=$v["libelle"];?>', '=$v["rdvPossible"];?>')">= $v["libelle"]; ?>
\ No newline at end of file
diff --git a/Vue/Rendezvous/index.php b/Vue/Rendezvous/index.php
index 552ff03..4ae52d5 100755
--- a/Vue/Rendezvous/index.php
+++ b/Vue/Rendezvous/index.php
@@ -12,6 +12,7 @@
$debutRdv = $this->nettoyer($demande['debutRdv']);
$finRdv = $this->nettoyer($demande['finRdv']);
$codePrestataire = $this->nettoyer($demande['codePrestataire']);
+ $rdvPossible = $this->nettoyer($demande['rdvPossible']);
$prestataire = $this->nettoyer($demande['prestataire']);
$codeSpecialite = $this->nettoyer($demande['codeSpecialite']);
$etatRdv = $this->nettoyer($demande['etatRdv']);
@@ -34,6 +35,7 @@
$debutRdv = date('Y-m-d');
$finRdv = date('Y-m-d');
$codePrestataire = "";
+ $rdvPossible = "1";
$prestataire = "";
$codeSpecialite = "";
$etatRdv = "";
@@ -177,10 +179,12 @@
value="= $prestataire; ?>"
placeholder="= _('Rechercher un prestataire') ?>">
+
+