a
This commit is contained in:
@@ -15,14 +15,12 @@ class Beneficiaire extends Modele {
|
||||
// return $beneficiaire;
|
||||
}
|
||||
|
||||
public function getBeneficiaires($nomBeneficiaire, $prenomsBeneficiaire, $telephonePortable, $email)
|
||||
public function getBeneficiaires($nomBeneficiaire, $prenomsBeneficiaire)
|
||||
{
|
||||
$nomBeneficiaire = contruireParamLike($nomBeneficiaire);
|
||||
$prenomsBeneficiaire = contruireParamLike($prenomsBeneficiaire);
|
||||
$telephonePortable = contruireParamLike($telephonePortable);
|
||||
$email = contruireParamLike($email);
|
||||
|
||||
$sql = 'call sp_get_beneficiaires(?, ?, ?, ?, ?);';
|
||||
$sql = 'call sp_get_beneficiaires_client(?, ?, ?, ?, ?);';
|
||||
|
||||
$adherent = $this->executerRequete($sql, array($_SESSION['codeSociete'], $nomBeneficiaire, $prenomsBeneficiaire, $telephonePortable, $email));
|
||||
return $adherent;
|
||||
|
||||
Reference in New Issue
Block a user