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

54 lines
2.5 KiB
PHP
Executable File

<div id="div_ententeprealable">
<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'> Acte </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 Réponse </th>
</tr>
</thead>
<tbody>
<?php foreach ($ententeprealables as $ententeprealable):
$idDemandeententeprealable = $this->nettoyer($ententeprealable['idDemandeententeprealable']);
$codeReponseEntentePrealable = $this->nettoyer($ententeprealable['codeReponseEntentePrealable']);
$numeroEntentePrealable = $this->nettoyer($ententeprealable['numeroEntentePrealable']);
?>
<?php if($codeReponseEntentePrealable=='2'): ?>
<tr valign="top" style="background-color: yellow;">
<?php elseif($codeReponseEntentePrealable=='1'): ?>
<tr valign="top" style="background-color: #00ff00;">
<?php elseif($codeReponseEntentePrealable=='9'): ?>
<tr valign="top" style="background-color: red;color:white;">
<?php else: ?>
<tr valign="top">
<?php endif; ?>
<td align='center'>
<input type="button" value="<?= $numeroEntentePrealable ?> "
onClick="javascript:consulter_ententeprealable_2(<?= $idDemandeententeprealable ?>);">
</td>
<td align='center'><?= dateheureFr($this->nettoyer($ententeprealable['dateSysteme'])) ?></td>
<td align='center'><?= $this->nettoyer($ententeprealable['libelleActe']) ?></td>
<td align='center'><?= $this->nettoyer($ententeprealable['prestataire']) ?></td>
<td align='center'><?= $this->nettoyer($ententeprealable['numeroBeneficiaire']) ?></td>
<td><?= $this->nettoyer($ententeprealable['beneficiaire']) ?></td>
<td align='center'><?= dateheureFr($this->nettoyer($ententeprealable['dateReponse'])) ?></td>
<td align='center'><?= $this->nettoyer($ententeprealable['responsableAccord']) ?></td>
<td align='center'><?= $this->nettoyer($ententeprealable['reponsentEnteprealable']) ?></td>
<td align='center'><?= $this->nettoyer($ententeprealable['motifRefusAssure']) ?></td>
<?php endforeach; ?>
</tbody>
</table>
</div>