diff --git a/Modele/Prestataire.php b/Modele/Prestataire.php index 8e03104..7a8a099 100755 --- a/Modele/Prestataire.php +++ b/Modele/Prestataire.php @@ -385,9 +385,9 @@ class Prestataire extends Modele { $libelle = contruireParamLike($libelle); - $sql = 'call sp_a_get_prestataires_rdv(?, ?)'; + $sql = 'call sp_a_get_prestataires_rdv(?, ?, ?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'], $libelle)); + $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'], $_SESSION['idCollege_C'], $libelle)); return $resultat->fetchAll(PDO::FETCH_ASSOC); } @@ -395,9 +395,9 @@ class Prestataire extends Modele { public function getprestatairerdvmobile() { - $sql = 'call sp_a_get_prestataires_rdv_mobile(?)'; + $sql = 'call sp_a_get_prestataires_rdv_mobile(?, ?)'; - $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'])); + $resultat = $this->executerRequete($sql, array($_SESSION['codeSociete'], $_SESSION['idCollege_C'])); return $resultat->fetchAll(PDO::FETCH_ASSOC); } diff --git a/Vue/Ajaxinfosadherent/index.php b/Vue/Ajaxinfosadherent/index.php index dd54357..60d1276 100755 --- a/Vue/Ajaxinfosadherent/index.php +++ b/Vue/Ajaxinfosadherent/index.php @@ -89,7 +89,7 @@ - + diff --git a/Vue/Ajaxinfosbeneficiaire/index.php b/Vue/Ajaxinfosbeneficiaire/index.php index 09d837a..a39351b 100755 --- a/Vue/Ajaxinfosbeneficiaire/index.php +++ b/Vue/Ajaxinfosbeneficiaire/index.php @@ -89,7 +89,7 @@ - + diff --git a/Vue/Ajaxlisteprestataireparametrage/prestatairesactifs.php b/Vue/Ajaxlisteprestataireparametrage/prestatairesactifs.php index 5950dcc..42e880a 100755 --- a/Vue/Ajaxlisteprestataireparametrage/prestatairesactifs.php +++ b/Vue/Ajaxlisteprestataireparametrage/prestatairesactifs.php @@ -22,7 +22,7 @@ - +