Initial commit for radiantprestation project

This commit is contained in:
2026-01-06 08:29:33 +00:00
commit 89481e47af
2578 changed files with 580558 additions and 0 deletions

25
Cron/Typebon.php Normal file
View File

@@ -0,0 +1,25 @@
<?php
require_once 'Modele.php';
class Typebon extends Modele {
public function getInfos($codeTypeBon)
{
$sql = 'select libelle, libelleEng from p_typebon where (codeTypeBon=?)';
$resultat = $this->executerRequete($sql, array($codeTypeBon));
return $resultat->fetch(PDO::FETCH_ASSOC);
}
public function getbonpec($idBon)
{
$sql = 'call sp_r_get_bonpec(?)';
$bonpec = $this->executerRequete($sql, array($idBon));
$ligne = $bonpec->fetch(PDO::FETCH_ASSOC);
return $ligne;
}
}