Depart a zero

This commit is contained in:
2025-12-07 09:35:13 +00:00
commit bbbcb96f64
3335 changed files with 2221682 additions and 0 deletions

25
Cron/Typebon.php Executable file
View File

@@ -0,0 +1,25 @@
<?php
require_once 'Modele.php';
class Typebon extends Modele {
public function getInfos($codeTypeBon)
{
$sql = 'select libelle 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;
}
}