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,55 @@
<?php
require_once 'Framework/Controleur.php';
require_once 'Modele/Garantiesbaremepriseencharge.php';
require_once 'Modele/Baremepriseencharge.php';
require_once 'Modele/Menuvueutilisateur.php';
require_once 'Modele/Ouinon.php';
class ControleurDetailbaremecollegetemp extends Controleur {
private $menuvue;
private $bareme;
private $garantie;
private $oui_non;
public function __construct() {
$this->menuvue = new Menuvueutilisateur();
$this->menuvue->getMenuVue('Detailbaremecollegetemp');
$this->bareme = new Baremepriseencharge();
$this->garantie = new Garantiesbaremepriseencharge();
$this->oui_non = new Ouinon();
}
public function index()
{
$idBaremePriseEnCharge = $this->requete->getParametreFormulaire("id");
$bareme = $this->bareme->getBaremepriseenchargeId($idBaremePriseEnCharge);
$_SESSION['idBaremePriseEnCharge'] = $idBaremePriseEnCharge;
$idCollegeTemp = $_SESSION['idCollegeTemp'];
$garantiesajoutees = $this->garantie->getGarantiesProduitTemp($bareme["codeProduit"], $idBaremePriseEnCharge, $idCollegeTemp);
$actif = $this->oui_non->getListe();
$tmBareme = $this->garantie->getTmBaremeTemp($idBaremePriseEnCharge, $idCollegeTemp);
$maxDateEffetBareme = $this->garantie->getMaxDateEffetBaremeTemp($idBaremePriseEnCharge, $idCollegeTemp);
$retour = $_SESSION['vueCollege'];
$this->genererVue(array(
'bareme' => $bareme,
'garantiesajoutees' => $garantiesajoutees,
'actif' => $actif,
'tmBareme' => $tmBareme,
'maxDateEffetBareme' => $maxDateEffetBareme,
'retour' => $retour
));
}
}