a
This commit is contained in:
parent
bedd9a6799
commit
debc1f5beb
22
Controleur/ControleurLiercolleges.php
Normal file
22
Controleur/ControleurLiercolleges.php
Normal 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));
|
||||
}
|
||||
|
||||
}
|
||||
20
Vue/Liercolleges/index.php
Normal file
20
Vue/Liercolleges/index.php
Normal 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>
|
||||
Loading…
Reference in New Issue
Block a user