diff --git a/Modele/Prestationactes.php b/Modele/Prestationactes.php index 9ba8905..6e833a0 100755 --- a/Modele/Prestationactes.php +++ b/Modele/Prestationactes.php @@ -378,14 +378,11 @@ class Prestationactes extends Modele { } - public function gethistoriqueprestation($numeroAdherent, $codeGarantie, $d1, $d2) + public function gethistoriqueprestation($numeroAdherent, $d1, $d2) { - $sql = 'call sp_p_get_historique_prestation_adherent(?, ?, ?, ?);'; + $sql = 'call sp_a_get_historique_prestation_adherent(?, ?, ?);'; - //var_dump($numeroBeneficiaire, $codeGarantie, $d1, $d2); - //die(); - - $resultat = $this->executerRequete($sql, array($numeroAdherent, $codeGarantie, $d1, $d2)); + $resultat = $this->executerRequete($sql, array($numeroAdherent, $d1, $d2)); return $resultat->fetchAll(PDO::FETCH_ASSOC); } diff --git a/Vue/gabarit.php b/Vue/gabarit.php index ca1a603..c9149ad 100755 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -297,18 +297,19 @@
$_SESSION['dossierLogo'], "dossierAssure" => $_SESSION['dossierAssure'], "lienLogo" => $_SESSION['lienLogo'], "dateEffetAdherent_C" => $_SESSION['dateEffetAdherent_C'], + */ + "idAdherent_C" => $_SESSION['idAdherent_C'], ) ); - */ ?>