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

68 lines
4.0 KiB
PHP
Executable File

<div id="infosacte" style='font-size:10pt;'>
<input class="sr-only" type="number" id="prixActe" name="prixActe" value="<?= $prixActe ?>">
<input class="sr-only" type="number" id="valeurActe" name="valeurActe" value="<?= $valeurActe ?>">
<input class="sr-only" type="number" id="montantTm" name="montantTm" value="<?= $montantTm ?>">
<input class="sr-only" type="number" id="aRembourser" name="aRembourser" value="<?= $aRembourser ?>">
<input class="sr-only" type="text" id="acteExclu" name="acteExclu" value="<?= $acteExclu ?>">
<input class="sr-only" type="text" id="ententePrealable" name="ententePrealable" value="<?= $ententePrealable ?>">
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
<tbody>
<tr>
<td width="15%" > <?= _("Prix") ?> </td>
<td width="20%" > <input id="prixActe_info" name="prixActe_info" class="form-control" style="background-color: rgb(190,190,190);text-align: center; font-size:10pt;'" type="text" value="<?= format_N($prixActe) ?>" readonly> </td>
<td width="15%" align="center"> Total </td>
<td width="15%" > <input id="valeurActe_info" name="valeurActe_info" class="form-control" style="background-color: rgb(190,190,190);text-align: center; font-size:10pt;'" type="text" value="<?= format_N($valeurActe) ?>" readonly ></td>
<td width="15%" align="center"> <?= _("T M") ?> </td>
<td width="20%" > <input id="montantTm_info" name="montantTm_info" class="form-control" style="background-color: rgb(190,190,190);text-align: center; font-size:10pt;'" type="text" value="<?= format_N($montantTm) ?>" readonly ></td>
</tr>
<tr>
<td> <?= _("Motif") ?> </td>
<td colspan="5"><input id="motifHospit" name="motifHospit" class="form-control" style="background-color: rgb(190,190,190);text-align: center; font-size:10pt;" value="<?= $_SESSION['p_motifHospitalisation_C'] ?>" type="text" readonly></td>
</tr>
<tr>
<td> <?= _("A Remb") ?> </td>
<td > <input id="aRembourser_info" name="aRembourser_info" class="form-control" style="background-color: rgb(190,190,190);text-align: center; font-size:10pt;'" type="text" value="<?= format_N($aRembourser) ?>" readonly ></td>
<td align="center"> <?= _("Accord?") ?> </td>
<td align="center"> <input id="montantTm_info" name="montantTm_info" class="form-control" style="background-color: rgb(190,190,190);text-align: center; font-size:10pt;'" type="text" value="<?= div_oui_non($ententePrealable, $_SESSION['p_lang']); ?>" readonly > </td>
<td align="center"> <?= _("No Chambre") ?> </td>
<td> <input id="numeroChambre" name="numeroChambre" class="form-control" style="text-align: center; font-size:10pt;'" type="text"></td>
</tr>
<tr>
<td> </td>
<td colspan="5">
<?php if ($acteExclu=="1"): ?>
<input id="btn_enreg_chambre" name="btn_enreg_chambre" class = "form-control btn btn-danger" type="button" value="Chambre exclue! Demander Accord? / Room not covered! Request Agreement" disabled onClick="javascript:demanderaccordchambreexclu();" style='font-size:10pt;' >
<?php else: ?>
<?php if ($ententePrealable=="1"): ?>
<input id="btn_enreg_chambre" name="btn_enreg_chambre" class = "form-control btn btn-warning" type="button" value="<?= _("Demander Accord") ?>" onClick="javascript:enregistrerchambre();" style='font-size:10pt;' >
<?php else: ?>
<input id="btn_enreg_chambre" name="btn_enreg_chambre" class = "form-control btn btn-primary" type="button" value="<?= _("Enregistrer") ?>" onClick="javascript:enregistrerchambre();" style='font-size:10pt;' >
<?php endif; ?>
<?php endif; ?>
</td>
</tr>
</tbody>
</table>
<div id="div_fraisExclu">
<input class="sr-only" type="text" id="fraisExclu" name="fraisExclu" value="0" >
</div>
<?php if ($acteExclu=="1"): ?>
<div class="alert alert-danger" style="height:38px; padding:5px;">
<H4> <?= _("NON COUVERT !") ?> </H4>
</div>
<?php endif; ?>
</div>