Initial commit for newdesigngestionnaire project

This commit is contained in:
2026-02-20 11:18:16 +00:00
commit 8757eaca01
14144 changed files with 3475356 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
<?php
require_once 'Framework/Controleur.php';
require_once 'Modele/Menuvueutilisateur.php';
require_once 'Modele/Etatcp.php';
require_once 'Modele/Avenant.php';
require_once 'Modele/Adherent.php';
class ControleurContrat extends Controleur
{
private $menuvue;
private $etat;
private $avenant;
public function __construct()
{
$this->menuvue = new Menuvueutilisateur();
$this->menuvue->getMenuVue("Contrat");
$this->avenant = (new Avenant())->getListeEnCoursrp($_SESSION['idPolice_C']);
$this->etat = new Etatcp();
}
public function index()
{
// $chemin = $this->menuvue->getChemin('Contrat');
// $allAderents = (new Adherent())->getAllAderents();
$etats = $this->etat->getEtatcp() ;
// $this->genererVue(array('avenant' => $this->avenant,'adherents'=>$allAderents,'etats' => $etats, 'chemin' => $chemin));
$this->genererVue(array('avenant' => $this->avenant,'etats' => $etats));
}
}