a
This commit is contained in:
parent
6cbc0c3c1c
commit
47b2e4f77a
|
|
@ -215,5 +215,30 @@ class Ged extends Modele {
|
|||
|
||||
$this->executerRequete($sql, array($idGed, $motifSuppression, $user));
|
||||
}
|
||||
|
||||
public function enregistrergedRD($idDemandeRemboursement, $nomOrigine, $nouveau_fichier, $taille)
|
||||
{
|
||||
$login = $_SESSION['login'];
|
||||
|
||||
|
||||
$sql = 'Call sp_a_ajouter_ged_demande_rbd(?, ?, ?, ?, ?);';
|
||||
|
||||
$this->executerRequete($sql,array($idDemandeRemboursement, $nomOrigine, $nouveau_fichier, $taille, $login));
|
||||
|
||||
}
|
||||
|
||||
public function getgedRd()
|
||||
{
|
||||
|
||||
$idDemandeRemboursement = $_SESSION['idDemandeRemboursement'] ?? '0';
|
||||
|
||||
$sql = 'call sp_a_get_ged_adherent_rd(?)';
|
||||
|
||||
|
||||
|
||||
$resultat = $this->executerRequete($sql, array($idDemandeRemboursement));
|
||||
|
||||
return $resultat->fetchAll(PDO::FETCH_ASSOC);
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user