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

View File

@@ -0,0 +1,30 @@
<?php
require_once 'Framework/Controleur.php';
require_once 'Modele/Typebon.php';
require_once 'Modele/Menuvueutilisateur.php';
class ControleurAjaxcommanderbons extends Controleur {
private $typebon;
public function __construct() {
$this->typebon = new Typebon();
}
public function index()
{
$typebon = $this->typebon->getListe();
$this->genererVueAjax(array('typebon' => $typebon));
}
public function commanderBon()
{
$codeTypeBon = $this->requete->getParametreFormulaire("codeTypeBon");
$quantite = $this->requete->getParametreFormulaire("quantite", "numerique");
$commentaire = "";
$this->typebon->commanderbon($codeTypeBon, $quantite, $commentaire);
$this->executerAction("index");
}
}