radiantassure/Vue/Ajaxderogations/index.php
2025-12-07 09:35:13 +00:00

56 lines
2.3 KiB
PHP
Executable File

<div id="div_derogations">
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;">
<thead>
<tr>
<th style='text-align:center'> </th>
<th style='text-align:center'> Date </th>
<th style='text-align:center'> Dérogation </th>
<th style='text-align:center'> Prestataire </th>
<th colspan="2" style='text-align:center'> Bénéficiaire </th>
<th style='text-align:center'> Répondue le </th>
<th style='text-align:center'> Répondue par </th>
<th style='text-align:center'> Situation </th>
<th style='text-align:center'> Motif </th>
<th style='text-align:center'> TM </th>
</tr>
</thead>
<tbody>
<?php foreach ($derogations as $derogation):
$idDemandederogation = $this->nettoyer($derogation['idDemandederogation']);
$codeReponseDerogation = $this->nettoyer($derogation['codeReponseDerogation']);
$numeroDerogation = $this->nettoyer($derogation['numeroDerogation']);
?>
<?php if ($codeReponseDerogation=='9'): ?>
<tr valign="top" style='color:red'>
<?php elseif ($codeReponseDerogation=='1'): ?>
<tr valign="top" style='color:green'>
<?php else : ?>
<tr valign="top">
<?php endif; ?>
<td align='center'>
<input type="button" value="<?= $numeroDerogation ?> "
onClick="javascript:consulter_derogation_2(<?= $idDemandederogation ?>);">
</td>
<td align='center'><?= dateheureFr($this->nettoyer($derogation['dateSysteme'])) ?></td>
<td align='center'><?= $this->nettoyer($derogation['libelleDerogation']) ?></td>
<td align='center'><?= $this->nettoyer($derogation['prestataire']) ?></td>
<td align='center'><?= $this->nettoyer($derogation['numeroBeneficiaire']) ?></td>
<td><?= $this->nettoyer($derogation['beneficiaire']) ?></td>
<td align='center'><?= dateheureFr($this->nettoyer($derogation['dateReponse'])) ?></td>
<td align='center'><?= $this->nettoyer($derogation['responsableDerogation']) ?></td>
<td align='center'><?= $this->nettoyer($derogation['reponseDerogation']) ?></td>
<td align='center' ><?= $this->nettoyer($derogation['motifRefusAssure']) ?></td>
<td align='center'><?= $this->nettoyer($derogation['tmDerogation']) ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>