a
This commit is contained in:
parent
87c13fd034
commit
c81867e54a
|
|
@ -62,8 +62,8 @@ class ControleurRechercherassure extends Controleur {
|
|||
$derniernumerobeneficiaires = '0';
|
||||
}
|
||||
|
||||
// if (count($beneficiaires) == 1)
|
||||
if ($beneficiaires->rowCount() == 1)
|
||||
if (count($beneficiaires) == 1)
|
||||
// if ($beneficiaires->rowCount() == 1)
|
||||
{
|
||||
var_dump(
|
||||
array(
|
||||
|
|
|
|||
|
|
@ -16,7 +16,8 @@ class Beneficiaire extends Modele {
|
|||
$sql = 'call sp_r_recherche_beneficiaire_vide();';
|
||||
|
||||
$beneficiaire = $this->executerRequete($sql);
|
||||
return $beneficiaire;
|
||||
// return $beneficiaire;
|
||||
return $resultat ->fetchAll(PDO::FETCH_ASSOC);
|
||||
}
|
||||
|
||||
public function getBeneficiaires($nomBeneficiaire, $prenomsBeneficiaire, $telephonePortable, $email)
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
// $this->titre = "INTER SANTE - "._("Rechercher assuré") ;
|
||||
?>
|
||||
|
||||
<form id="frmrecherche" name="frmrecherche" method="post" action="Recherche/index/">
|
||||
<form id="frmrecherche" name="frmrecherche" method="post" action="Rechercherassure/index/">
|
||||
<fieldset>
|
||||
|
||||
<legend> <?= _("Critères de recherche de l'assuré") ?> </legend>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user