From 4f420ebbe87d8024bd6f326a7ea36ad90b044ea4 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Thu, 5 Mar 2026 05:33:46 +0000 Subject: [PATCH] a --- Js/fonctions.js | 5 +++-- Vue/Ajaxchargerlisteprestataires/index.php | 2 +- Vue/Rendezvous/index.php | 4 ++++ Vue/gabarit.php | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) 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)) { -
  • ', '')">
  • +
  • ', '', '')">
  • \ 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="" placeholder=""> +
    +