diff --git a/Controleur/ControleurAjaxsituationproformahospit.php b/Controleur/ControleurAjaxsituationproformahospit.php index c9b3121..0c35b5f 100755 --- a/Controleur/ControleurAjaxsituationproformahospit.php +++ b/Controleur/ControleurAjaxsituationproformahospit.php @@ -23,9 +23,6 @@ class ControleurAjaxsituationproformahospit extends Controleur { $this->garantie->getsourcebaremegarantienew($idBeneficiaire, $codeGarantie, $datePrestation); - echo "après getsourcebaremegarantienew"; - exit(); - $statut = $this->garantie->getstatutproformahospit($idBeneficiaire, $codeActe, $codeGarantie, $datePrestation); echo "après getstatutproformahospit"; diff --git a/Modele/Garantiesbaremepriseencharge.php b/Modele/Garantiesbaremepriseencharge.php index b2ef81e..89d8384 100755 --- a/Modele/Garantiesbaremepriseencharge.php +++ b/Modele/Garantiesbaremepriseencharge.php @@ -303,16 +303,23 @@ class Garantiesbaremepriseencharge extends Modele { $codePrestataire = $_SESSION['p_codePrestataire_C']; - + var_dump( + array( + "idBeneficiaire" => $idBeneficiaire, + "idSaisie" => $idSaisie, + "user" => $user, + "codeActe" => $codeActe, + "codeGarantie" => $codeGarantie, + "datePrestation" => $datePrestation, + "codePrestataire" => $codePrestataire, + ) + ); + exit; + $sql = "SELECT fn_statut_acteconsultationbareme_newversion(?, ?, ?, ?, ?, ?, ?) AS statutActe;"; - - $resultat = $this->executerRequete($sql, array($idBeneficiaire, $idSaisie, $user, $codeActe, $codeGarantie, $datePrestation, $codePrestataire))->fetch(PDO::FETCH_ASSOC); - - return $resultat['statutActe']; - } }