prestation/Vue/Listeexclusions/index.php
2025-12-01 18:54:33 +00:00

60 lines
2.7 KiB
PHP

<?php
$this->titre = "INTER-SANTE - Gestion des actes exclus";
?>
<legend> <?= _("Actes exclus") ?> </legend>
<button style='font-size:10pt;' type="button" class="form-control btn btn-primary" onclick="javascript:liste_exclusions();"><?= _("Actualiser...") ?> </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'> No </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'><?= dateheureLang($this->nettoyer($ententeprealable['dateSysteme'])) ?></td>
<td align='center'><?= $this->nettoyer($ententeprealable['libelleActe']) ?></td>
<td align='center'><?= dateheureLang($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>