prestation/Vue/Ajaxetatreponsesubstitution/index.php
2025-12-05 10:42:46 +00:00

29 lines
1.6 KiB
PHP
Executable File

<div id="div_patienter" style='font-size:10pt;'>
<?php
$codeReponseEntentePrealable = $demandesubstitution['codeReponseEntentePrealable'];
$demandesubstitution = $demandesubstitution['id'];
?>
<input class="sr-only" type="text" id="codeReponseEntentePrealable" name="codeReponseEntentePrealable" value="<?= $codeReponseEntentePrealable ?>">
<input class="sr-only" type="text" id="idDemandeSubstitution" name="idDemandeSubstitution" value="<?= $idDemandeSubstitution ?>">
<?php if($codeReponseEntentePrealable=='2'): ?>
<marquee behavior="scroll" direction="left" scrollamount="8" style="color:red; background-color:yellow;font-size:14pt">
<?= _("Veuillez patienter un instant puis cliquer sur actualiser pour voir la réponse de l'assureur.") ?>
</marquee>
<td colspan="5">
<input class="form-control" style="font-size:12pt;background-color: yellow;text-align:center;" id="codeReponseEntentePrealable" name="codeReponseEntentePrealable" value="<?= $libelleReponse ?>" readonly > </td>
</td>
<?php elseif($codeReponseEntentePrealable=='9'): ?>
<td colspan="5">
<input class="form-control" style="font-size:12pt;background-color: red;color:white;text-align:center;" id="codeReponseEntentePrealable" name="codeReponseEntentePrealable" value="<?= $libelleReponse ?>" readonly > </td>
</td>
<?php elseif($codeReponseEntentePrealable=='1'): ?>
<td colspan="5">
<input class="form-control" style="font-size:12pt;background-color: #00ff00;text-align:center;" id="codeReponseEntentePrealable" name="codeReponseEntentePrealable" value="<?= $libelleReponse ?>" readonly > </td>
</td>
<?php endif; ?>
</div>