47 lines
1.9 KiB
PHP
Executable File
47 lines
1.9 KiB
PHP
Executable File
<?php
|
|
$this->titre = "INTER-SANTE - Dérogations Médicaments";
|
|
$superUser = $_SESSION['superUser'];
|
|
?>
|
|
|
|
<script type="text/javascript">
|
|
|
|
</script>
|
|
|
|
<INPUT class="sr-only" TYPE="text" id="idCollege" name="idCollege" >
|
|
|
|
<legend> <?= _("Dérogations Médicaments pour la Police Numéro") . " : " . $this->nettoyer($police['numeroPolice'])?> </legend>
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:10pt;">
|
|
<thead>
|
|
<tr>
|
|
<th width="10%" style='text-align:center'> <?= _("Cat") ?> </th>
|
|
<th width="40%" > <?= _("Collège") ?> </th>
|
|
<th width="10%" style='text-align:center'> <?= _("Fam") ?> </th>
|
|
<th width="20%" style='text-align:center'> <?= _("Etat") ?> </th>
|
|
<th style='text-align:center'> <?= _("Décision") ?> </th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<?php foreach ($colleges as $college):
|
|
$idCollege=$college['id'];
|
|
?>
|
|
<tr valign="top">
|
|
|
|
<td align='center'> <?= $this->nettoyer($college['codeProduit']) ?> </td>
|
|
|
|
<td> <?= $this->nettoyer($college['libelleCollege']) ?> </td>
|
|
|
|
<td align='center'><?= format_N($this->nettoyer($college['nbAdherent'])) ?></td>
|
|
|
|
<?php if($college['accesAjoutPh']=='1'): ?>
|
|
<td align="center" style='font-size:10pt; background-color:blue;color:white;'> <?= _("Accordé") ?> </td>
|
|
<td> <input style="font-size:10pt;" class = "form-control btn btn-danger" type="button" value="<?= _("Refuser") ?>" onClick="javascript:refuser_derogation_medicament('<?= $idCollege ?>');"></td>
|
|
<?php else: ?>
|
|
<td align="center" style='font-size:10pt; background-color:red;color:white;'> <?= _("Refusé") ?> </td>
|
|
<td> <input style="font-size:10pt;" class = "form-control btn btn-primary" type="button" value="<?= _("Accorder") ?>" onClick="javascript:accorder_derogation_medicament('<?= $idCollege ?>');"></td>
|
|
<?php endif; ?>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|