liste des fraisForfaitaires

This commit is contained in:
pierre renaudot
2023-12-21 11:54:30 +01:00
parent 674514ed06
commit 5b5e5cc28e
5 changed files with 35 additions and 15 deletions

View File

@@ -10,16 +10,20 @@ class Class_newFiche
$this->pdo = $pDO->getPdoGsb();
}
public function listFraisForfaitaires(): array
{
$req = 'SELECT "fLibelle", "fMontant" FROM forfait';
$req = 'SELECT "fLibelle", round("fMontant", 2) AS "fMontant", "fId" FROM forfait';
$result = $this->pdo->prepare($req);
$result->execute();
return $result->fetchAll();
}
public function listFraisHF():array
{
//
}
public function endInter(string $id)
{
$req = "UPDATE intervention