aze
This commit is contained in:
parent
41099a705c
commit
58b999c03f
|
|
@ -37,4 +37,12 @@ class ControleurAjaxcontextbeneficiaire extends Controleur {
|
|||
|
||||
$this->finger->majmobilebeneficiaire($idBeneficiaire, $telephonePortable);
|
||||
}
|
||||
|
||||
public function majemail()
|
||||
{
|
||||
$idBeneficiaire = $_SESSION['idBeneficiaire_C'];
|
||||
$emailBeneficiaire = $this->requete->getParametreFormulaire("emailBeneficiaire");
|
||||
|
||||
$this->finger->majemailbeneficiaire($idBeneficiaire, $emailBeneficiaire);
|
||||
}
|
||||
}
|
||||
|
|
@ -18946,8 +18946,6 @@ function enregistrer_compte_bancaire_assure(){
|
|||
|
||||
function maj_mobile_beneficiaire()
|
||||
{
|
||||
debugger;
|
||||
|
||||
donnees = 'telephonePortable='+$("#telephonePortable").val();
|
||||
|
||||
$.ajax({
|
||||
|
|
@ -18960,4 +18958,21 @@ function maj_mobile_beneficiaire()
|
|||
complete: function() {
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function maj_email_beneficiaire()
|
||||
{
|
||||
donnees = 'emailBeneficiaire='+$("#emailBeneficiaire").val();
|
||||
|
||||
$.ajax({
|
||||
url: $("#racineWeb").val()+"Ajaxcontextbeneficiaire/majemail/",
|
||||
type : 'post',
|
||||
data: donnees,
|
||||
error: function(errorData) {
|
||||
alert("Erreur : "+errorData);
|
||||
},
|
||||
complete: function() {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -41,4 +41,11 @@ class Finger extends Modele {
|
|||
|
||||
$this->executerRequete($sql, array($idBeneficiaire, $telephonePortable));
|
||||
}
|
||||
|
||||
public function majemailbeneficiaire($idBeneficiaire, $emailBeneficiaire)
|
||||
{
|
||||
$sql = 'CALL sp_maj_email_beneficiaire(?, ?);';
|
||||
|
||||
$this->executerRequete($sql, array($idBeneficiaire, $emailBeneficiaire));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user