Maj
This commit is contained in:
26
Modele/Synthese.php
Executable file
26
Modele/Synthese.php
Executable file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
require_once 'Framework/Modele.php';
|
||||
|
||||
class Synthese extends Modele {
|
||||
|
||||
public function getKpis()
|
||||
{
|
||||
$idClient = $_SESSION['idClient_C'];
|
||||
|
||||
$sql = 'call sp_c_get_kpis(?)';
|
||||
|
||||
$resultat = $this->executerRequete($sql, array($idClient));
|
||||
|
||||
return $resultat->fetch();
|
||||
}
|
||||
|
||||
|
||||
public function getdetailprescription_lab($numeroBonExamen, $codePrestataireLivraison)
|
||||
{
|
||||
$sql = 'call sp_r_get_detail_prestation_lab(?, ?)';
|
||||
|
||||
$optique = $this->executerRequete($sql, array($numeroBonExamen, $codePrestataireLivraison));
|
||||
|
||||
return $optique->fetchAll(PDO::FETCH_ASSOC);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user