Function de validation des fiches et reversement des frais HF
This commit is contained in:
@@ -70,12 +70,13 @@ class Class_gestionFiche
|
||||
public function get_Page(int $nPage, string $idUtilisateur): array
|
||||
{
|
||||
$decalage = ($nPage - 1) * $this::$NB_LIGNES_PAGINATION;
|
||||
|
||||
$req = 'SELECT "rMois", "rVisiteur", "rEtat", ROUND("rMontantValide", 2)
|
||||
as "rMontantValide", "eLibelle"
|
||||
FROM remboursement
|
||||
INNER JOIN etat ON etat."eId"=remboursement."rEtat"
|
||||
WHERE "rVisiteur"= :userId
|
||||
ORDER BY "rDateModif" DESC LIMIT :nbLignes offset :decalage;';
|
||||
ORDER BY "rMois" DESC LIMIT :nbLignes offset :decalage;';
|
||||
$result = $this->pdo->prepare($req);
|
||||
$result->bindParam('nbLignes', $this::$NB_LIGNES_PAGINATION);
|
||||
$result->bindParam('decalage', $decalage);
|
||||
|
Reference in New Issue
Block a user