production/Vue/Refuserententeprealables/index.php
2025-12-01 16:12:12 +00:00

131 lines
6.1 KiB
PHP
Executable File

<?php $this->titre = "INTER SANTE - Refuser un acte";
$codeActe = $this->nettoyer($ententeprealable['codeActe']);
$libelleActe = $this->nettoyer($ententeprealable['libelleActe']);
$numeroBonExamen = $this->nettoyer($ententeprealable['numeroBonExamen']);
$fraisReelExamen = $this->nettoyer($ententeprealable['fraisReelExamen']);
$idProlongation = $this->nettoyer($ententeprealable['idProlongation']);
$numeroBon = $this->nettoyer($ententeprealable['numeroBon']);
if ($codeActe=="HHC" || $codeActe=="HHM"){
if ($idProlongation>"0"){
if (est_anglophone()){
$libelleActe = "NOTICE OF EXTENSION ".$libelleActe;
}else{
$libelleActe = "AVIS PROROGATION ".$libelleActe;
}
}else{
if (est_anglophone()){
$libelleActe = "NOTICE OF ".$libelleActe;
}else{
$libelleActe = "AVIS ".$libelleActe;
}
}
}
?>
<INPUT class="sr-only" TYPE="text" id="retour" NAME="retour" value="<?= $_SESSION['vueEntentePrealable'] ?>" readonly>
<form id="frmdententeprealable" name="frmdententeprealable" method="post" >
<input class="sr-only" type="text" id="nomForm" name="nomForm" value="refuserEntentePrealable">
<INPUT class="sr-only" TYPE="text" id="idDemandeententeprealable" name="idDemandeententeprealable" value="<?= $this->nettoyer($ententeprealable['idDemandeententeprealable']) ?>">
<INPUT class="sr-only" TYPE="text" id="smsGestionPrestataire" name="smsGestionPrestataire" value="<?= $this->nettoyer($ententeprealable['smsGestionPrestataire']) ?>">
<INPUT class="sr-only" TYPE="text" id="prestataire" name="prestataire" value="<?= $this->nettoyer($ententeprealable['prestataire']) ?>">
<INPUT class="sr-only" TYPE="text" id="codePrestataire" name="codePrestataire" value="<?= $this->nettoyer($ententeprealable['codePrestataire']) ?>">
<INPUT class="sr-only" TYPE="text" id="beneficiaire" name="beneficiaire" value="<?= $this->nettoyer($ententeprealable['beneficiaire']) ?>">
<INPUT class="sr-only" TYPE="text" id="numeroBeneficiaire" name="numeroBeneficiaire" value="<?= $this->nettoyer($ententeprealable['numeroBeneficiaire']) ?>">
<INPUT class="sr-only" TYPE="text" id="libelleActe" name="libelleActe" value="<?= $libelleActe ?>">
<INPUT class="sr-only" TYPE="text" id="codeActe" name="codeActe" value="<?= $codeActe ?>">
<INPUT class="sr-only" TYPE="text" id="telephonePortableAdherent" name="telephonePortableAdherent" value="<?= $this->nettoyer($ententeprealable['telAdherent']) ?>">
<legend> <?= _("Refuser un acte") ?> </legend>
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
<tbody>
<tr>
<td width="10%" > <?= _("No") ?> </td>
<td width="20%"> <INPUT id="numeroEntentePrealable" name="numeroEntentePrealable" class="form-control" TYPE="text" style='font-size:10pt;text-align:center;' value="<?= $this->nettoyer($ententeprealable['numeroEntentePrealable']) ?>" readonly> </td>
<td width="10%" align="center"> <?= _("Acte") ?> </td>
<td>
<?php if($codeActe=='EXAM'): ?>
<a style='font-size:13pt; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;' href="javascript:afficherExamensPrescrits('<?= $numeroBonExamen ?>');">
<span style="display: block; color:#394d55; background-color:#eeeeee; border:1px solid #000; border-radius:3px;">
<?= $libelleActe ?>
</span>
</a>
<?php else: ?>
<INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $libelleActe ?>" readonly>
<?php endif; ?>
</td>
</tr>
<tr>
<td> Date </td>
<td> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= dateheureLang($this->nettoyer($ententeprealable['dateSysteme'])) ?>" readonly> </td>
<td align="center"> <?= _("Prestataire") ?> </td>
<td> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $this->nettoyer($ententeprealable['prestataire']) ?>" readonly> </td>
</tr>
<tr>
<td> <?= _("Motif Médical") ?> </td>
<td colspan="3"><INPUT class="form-control" TYPE="text" id="motifPrestataire" NAME="motifPrestataire" style='font-size:10pt;' value="<?= $this->nettoyer($ententeprealable['motifPrestataire']); ?>" readonly></td>
</tr>
<tr>
<td> <?= _("Bénéficiaire") ?> </td>
<td colspan="5"><INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $this->nettoyer($ententeprealable['beneficiaire']) . " ( " . $this->nettoyer($ententeprealable['numeroBeneficiaire']) . " )" ?>" readonly> </td>
</tr>
<tr>
<td class="required"> <?= _("Observation") ?> </td>
<td colspan="3"><INPUT class="form-control" TYPE="text" id="motifReel" NAME="motifReel" style='font-size:10pt;' required AUTOCOMPLETE="OFF" autofocus ></td>
</tr>
<tr>
<td class="required"> <?= _("Motif Refus") ?> </td>
<td colspan="3"><INPUT class="form-control" TYPE="text" id="motifRefusAssure" NAME="motifRefusAssure" style='font-size:10pt;' required AUTOCOMPLETE="OFF" ></td>
</tr>
<tr>
<td> </td>
<td colspan="3"> <input id="btn_enreg" name="btn_enreg" class = "form-control btn btn-primary" type="button" value="<?= _("Valider le refus") ?>" onClick="enregistrerrefusententepreslable_2();" style='font-size:10pt;' > </td>
</tr>
</tbody>
</table>
<?php if (isset($msgErreur)): ?>
<div id ="msgErreur" class="alert alert-danger" style="height:30px; padding:5px;" >
<H4><?= $msgErreur ?></H4>
</div>
<?php endif; ?>
</form>
<div id ="div_wait">
</div>
<div id="div_examens_prescrits" class="modal fade" role="dialog">
</div>
<hr style="border:none; border-top: 3px double #333; color:#333; overflow: visible; text-align:center; height:5px;">
<p>
<a href="javascript:afficherHistoriquePrestataion('<?=$ententeprealable['numeroBeneficiaire']?>', <?= $numeroBon ?>);" style="font-size:16pt;">
<?= _("Historique des prestations du Bénéficiaire") ?>
</a>
</p>
<div id="div_historique_prestation" class="modal fade" role="dialog" data-backdrop="static" data-keyboard="false">
</div>