assure/Vue/Listeexclusions/index.php
2025-12-05 09:34:39 +00:00

60 lines
2.6 KiB
PHP
Executable File

<?php
$this->titre = "Intersanté - Gestion des actes exclus";
?>
<legend> Actes exclus / Excluded Acts </legend>
<button style='font-size:10pt;' type="button" class="form-control btn btn-primary" onclick="javascript:liste_exclusions();">Actualiser... / Refresh...</button>
<div id="div_ententeprealable">
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;">
<thead>
<tr>
<th rowspan="2" style='text-align:center'> N° </th>
<th rowspan="2" style='text-align:center'> Date </th>
<th rowspan="2" style='text-align:center'> Acte </th>
<th rowspan="2" style='text-align:center'> Répondue le </th>
<th rowspan="2" style='text-align:center'> Répondue par </th>
<th rowspan="2" style='text-align:center'> Situation </th>
<th colspan="2" style='text-align:center'> Tarif </th>
<th rowspan="2" style='text-align:center'> Motif refus </th>
</tr>
<tr>
<th style='text-align:center'> Convent. </th>
<th style='text-align:center'> Autoris. </th>
</tr>
</thead>
<tbody>
<?php foreach ($ententeprealables as $ententeprealable):
$idDemandeautorisation = $this->nettoyer($ententeprealable['idDemandeautorisation']);
$codeReponseAutorisation = $this->nettoyer($ententeprealable['codeReponseAutorisation']);
?>
<?php if($codeReponseAutorisation=='2'): ?>
<tr valign="top" style="background-color: yellow;">
<?php elseif($codeReponseAutorisation=='1'): ?>
<tr valign="top" style="background-color: #00ff00;">
<?php elseif($codeReponseAutorisation=='9'): ?>
<tr valign="top" style="background-color: red;color:white;">
<?php else: ?>
<tr valign="top">
<?php endif; ?>
<td align='center'><?= $this->nettoyer($ententeprealable['numeroAutorisation']) ?></td>
<td align='center'><?= dateheureFr($this->nettoyer($ententeprealable['dateSysteme'])) ?></td>
<td align='center'><?= $this->nettoyer($ententeprealable['libelleActe']) ?></td>
<td align='center'><?= dateheureFr($this->nettoyer($ententeprealable['dateReponse'])) ?></td>
<td align='center'><?= $this->nettoyer($ententeprealable['responsableAccord']) ?></td>
<td align='center'><?= $this->nettoyer($ententeprealable['reponseAutorisation']) ?></td>
<td align='center'> <?= format_N($this->nettoyer($ententeprealable['prixTarif'])) ?></td>
<td align='center'> <?= format_N($this->nettoyer($ententeprealable['valeurActe'])) ?></td>
<td align='center'><?= $this->nettoyer($ententeprealable['motifRefusAssure']) ?></td>
<?php endforeach; ?>
</tbody>
</table>
</div>