Import initial du projet Production

This commit is contained in:
KANE LAZENI
2025-12-01 16:12:12 +00:00
commit 2f364ab2fc
14257 changed files with 3395325 additions and 0 deletions

29
Modele/Generartionbon.php Executable file
View File

@@ -0,0 +1,29 @@
<?php
require_once 'Framework/Modele.php';
class Generartionbon extends Modele {
public function afficherListeGenererBonpecs($codePrestataire, $codeTypeBon, $d1, $d2)
{
$sql = 'call sp_afficher_liste_generer_bonpecs(?, ?, ?, ?, ?)';
$bonpecs = $this->executerRequete($sql, array($_SESSION['codeSociete'], $codePrestataire, $codeTypeBon, $d1, $d2));
return $bonpecs->fetchAll(PDO::FETCH_ASSOC);
}
public function detailgenerationbon($idgenerationbon)
{
$sql = 'call sp_detailgenerationbon(?)';
$bonpecs = $this->executerRequete($sql, array($idgenerationbon));
return $bonpecs->fetchAll(PDO::FETCH_ASSOC);
}
public function unegenerationbon($idgenerationbon)
{
$sql = 'call sp_afficher_genererationbon(?)';
$generationbon = $this->executerRequete($sql, array($idgenerationbon));
return $generationbon->fetch(PDO::FETCH_ASSOC);
}
}