94 lines
4.6 KiB
PHP
Executable File
94 lines
4.6 KiB
PHP
Executable File
<?php
|
|
$this->titre = "INTER-SANTE - Gestion des actes exclus";
|
|
?>
|
|
|
|
<input class="form-control" style="text-align: center; font-size:10pt;" type="text" id="nbligne" name="nbligne" value="Demandes accord actes exclus" readonly>
|
|
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
|
|
<tbody>
|
|
<tr>
|
|
<td width="10%" > <?= _("Période du") ?> </td>
|
|
<td width="20%" ><INPUT style='text-align:center; font-size:10pt;' class="form-control datepicker" TYPE="text" id="d1" NAME="d1" value="<?= dateLang($_SESSION['dUneSemaineAvant_C'], $_SESSION['p_lang']) ?>" required AUTOCOMPLETE="OFF" ></td>
|
|
|
|
<td width="10%" align="center" > <?= _("au") ?> </td>
|
|
<td width="20%" ><INPUT style='text-align:center; font-size:10pt;' class="form-control datepicker" TYPE="text" id="d2" NAME="d2" value="<?= dateCouranteLang($_SESSION['p_lang']) ?>" required AUTOCOMPLETE="OFF" ></td>
|
|
|
|
<td> </td>
|
|
<td> <button style='font-size:10pt;' type="button" class="form-control btn btn-primary" onclick="javascript:listeracteexclubeneficiaire();"><?= _("Actualiser...") ?></button> </td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<div id="div_ententeprealable">
|
|
<table class="table table-striped table-bordered 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'> <?= _("Prestataire") ?> </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 colspan="2" style='text-align:center'> <?= _("Motif Réponse") ?> </th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th style='text-align:center'> <?= _("Conventionné") ?> </th>
|
|
<th style='text-align:center'> <?= _("Autoris") ?> </th>
|
|
|
|
<th style='text-align:center'> <?= _("Réel") ?> </th>
|
|
<th style='text-align:center'> <?= _("A l'assuré") ?> </th>
|
|
</tr>
|
|
|
|
<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'><?= $this->nettoyer($ententeprealable['prestataire']) ?></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>
|
|
|
|
<?php if ($codeReponseAutorisation=='2'): ?>
|
|
<td align="center" >
|
|
<input style="color:blue;" type="button" value="<?= _("Accepter") ?>"
|
|
onClick="javascript:accepter_acte_exclu(<?= $idDemandeautorisation ?>);">
|
|
</td>
|
|
|
|
<td align="center">
|
|
<input style="color:red;" type="button" value="<?= _("Refuser") ?>"
|
|
onClick="javascript:refuser_acte_exclu(<?= $idDemandeautorisation ?>, '2');">
|
|
</td>
|
|
<?php elseif($codeReponseAutorisation=='1'): ?>
|
|
<td colspan="2" align='center'><?= $this->nettoyer($ententeprealable['motifReel']) ?></td>
|
|
<?php elseif($codeReponseAutorisation=='9'): ?>
|
|
<td align='center'><?= $this->nettoyer($ententeprealable['motifReel']) ?></td>
|
|
<td align='center'><?= $this->nettoyer($ententeprealable['motifRefusAssure']) ?></td>
|
|
<?php endif; ?>
|
|
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|