62 lines
2.4 KiB
PHP
Executable File
62 lines
2.4 KiB
PHP
Executable File
<?php
|
|
$this->titre = "INTER-SANTE - Suivi dérogation permanente";
|
|
|
|
$derogationFingerPermanent=$beneficiaire['derogationFingerPermanent'];
|
|
$idBeneficiaire=$beneficiaire['idBeneficiaire'];
|
|
|
|
?>
|
|
|
|
<legend> <?= _("Suivi dérogation permanente") ?> </legend>
|
|
|
|
<table class="table table-responsive table-condensed" style='font-size:9pt;'>
|
|
<tbody>
|
|
<tr>
|
|
<td width="15%">
|
|
<?php if($derogationFingerPermanent==1): ?>
|
|
<input style="font-size:10pt;" class = "form-control btn btn-danger" type="button" value="<?= _("Désactiver") ?>" onClick="javascript:desactiver_derogation_permanente('<?= $idBeneficiaire ?>');">
|
|
<?php else: ?>
|
|
<input style="font-size:10pt;" class = "form-control btn btn-primary" type="button" value="<?= _("Activer") ?>" onClick="javascript:activer_derogation_permanente('<?= $idBeneficiaire ?>');">
|
|
<?php endif; ?>
|
|
</td>
|
|
|
|
<td><INPUT class="form-control" TYPE="text" id="observations" NAME="observations" style='font-size:10pt;' placeholder="Observations" required AUTOCOMPLETE="OFF" ></td>
|
|
|
|
<td width="15%"> <button style='font-size:10pt;' type="button" class="form-control btn btn-primary" onclick="javascript:liste_derogation_permanente();"><?= _("Actualiser...") ?></button> </td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<div id="div_derogations">
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:10pt;">
|
|
<thead>
|
|
<tr>
|
|
<th style='text-align:center'> Date </th>
|
|
<th style='text-align:center'> Activation </th>
|
|
<th style='text-align:center'> Observation </th>
|
|
<th style='text-align:center'> <?= _("Responsable") ?> </th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php foreach ($derogations as $derogation):
|
|
$activation = $this->nettoyer($derogation['activation']);
|
|
?>
|
|
|
|
<tr valign="top">
|
|
|
|
<td align='center'><?= dateheureLang($this->nettoyer($derogation['dateSysteme'])) ?></td>
|
|
|
|
<?php if($activation=='1'): ?>
|
|
<td align='center'> <input type="checkbox" checked disabled ></td>
|
|
<?php else: ?>
|
|
<td align='center'> <input type="checkbox" disabled ></td>
|
|
<?php endif; ?>
|
|
|
|
<td align='center'><?= $this->nettoyer($derogation['observations']) ?></td>
|
|
|
|
<td align='center'><?= $this->nettoyer($derogation['codeUtilisateur']) ?></td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|