This commit is contained in:
KANE LAZENI 2026-01-04 17:48:43 +00:00
parent bedd9a6799
commit debc1f5beb
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,22 @@
<?php
require_once 'Framework/Controleur.php';
require_once 'Modele/Collegepolice.php';
require_once 'Modele/Menuvueutilisateur.php';
class ControleurLiercolleges extends Controleur {
private $college;
public function __construct() {
$this->menuvue = new Menuvueutilisateur();
$this->menuvue->getMenuVue('Liercolleges');
$this->college = (new Collegepolice())->getListe($_SESSION['idPolice_C']);
}
public function index() {
$idPolice = $_SESSION['idPolice_C'];
$this->genererVue(array('college' => $this->college));
}
}

View File

@ -0,0 +1,20 @@
<?php $this->titre = "INTER-SANTE - Lier collèges"; ?>
<legend> <?= _("Lier les assurés importés à un collège") ?> </legend>
<table class="table table-condensed table-responsive" style="font-size:10pt;" >
<tbody>
<tr>
<td width="15%" > <?= _("Collège") ?> </td>
<td>
<SELECT style="font-size:10pt;" class="form-control" id="idCollege" NAME="idCollege" required autofocus onChange="afficher_adherent_importee();" >
<?php liste_options($college,""); ?>
</SELECT>
</td>
</tr>
</tbody>
</table>
<div id="div_adherents_importes">
</div>