Merge branch 'main' of git.ebene.ovh:ebene/radiantrh
This commit is contained in:
commit
e55e880230
|
|
@ -34,6 +34,6 @@ class ControleurFicheretrait extends Controleur {
|
|||
{
|
||||
$this->avenant->enregistrerretrait();
|
||||
|
||||
// $this->rediriger("Fichepolice");
|
||||
$this->rediriger("Fichepolice");
|
||||
}
|
||||
}
|
||||
|
|
@ -1544,8 +1544,6 @@ function enregistrer_retrait()
|
|||
.then((isConfirmed) => {
|
||||
if (isConfirmed) {
|
||||
// L'utilisateur a confirmé
|
||||
alert("confirmé");
|
||||
return;
|
||||
window.location.assign($("#racineWeb" ).val()+"Ficheretrait/enregistrerretrait/");
|
||||
} else {
|
||||
// L'utilisateur a annulé
|
||||
|
|
@ -1568,15 +1566,3 @@ function controle_date_avenant()
|
|||
$("#dateAvenant").readable();
|
||||
$("#motifavenant").readable();
|
||||
}
|
||||
|
||||
function ouvrirModal(idModal) {
|
||||
const modal = document.getElementById(idModal);
|
||||
if (modal && modal.parentNode !== document.body) {
|
||||
document.body.appendChild(modal); // extrait le modal de son contexte
|
||||
}
|
||||
const bsModal = new bootstrap.Modal(modal, {
|
||||
backdrop: 'static',
|
||||
keyboard: false
|
||||
});
|
||||
bsModal.show();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -355,7 +355,8 @@ class Police extends Modele {
|
|||
$user = $_SESSION['login'];
|
||||
$idPolice = $_SESSION['idPolice_C'];
|
||||
|
||||
$sql = 'call sp_avenant_retrait(?, ?)';
|
||||
// $sql = 'call sp_avenant_retrait(?, ?)';
|
||||
$sql = 'call sp_avenant_retrait_client(?, ?)';
|
||||
$this->executerRequete($sql, array($idPolice, $user));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user