radiantprestation/Vue/Ajaxfacturatioseancecso/index.php

63 lines
3.9 KiB
PHP

<div id="div_facturation_seance">
<?php
$numeroBonSeance = $this->nettoyer($prescription['numeroBonSeance']);
$_SESSION['p_numeroBonSeance_C'] = $numeroBonSeance;
$codeGestionBon = $this->nettoyer($prescription['codeGestionBon']);
?>
<input class="sr-only" type="number" id="numeroBonSeance_info" name="numeroBonSeance_info" value="<?= $numeroBonSeance ?>" >
<?php if($codeGestionBon=="0") : ?>
<button type="button" class="form-control btn btn-primary" data-toggle="modal" data-target="#popInitSession" style='font-size:10pt;' > <?= _("Modifier le bon...") ?></button>
<?php endif; ?>
<div id="infosacte" style='font-size:10pt;'>
<input class="sr-only" type="number" id="aRembourser" name="aRembourser" value="<?= $this->nettoyer($prescription['montantArembourserSeance']) ?>" >
<input class="sr-only" type="number" id="totalActe" name="totalActe" value="<?= $this->nettoyer($prescription['fraisReelSeance']) ?>" >
<input class="sr-only" type="number" id="fraisRetenuSeance" name="fraisRetenuSeance" value="<?= $this->nettoyer($prescription['fraisRetenuSeance']) ?>" >
<input class="sr-only" type="text" id="cout" name="cout" value="<?= $this->nettoyer($prescription['fraisReelSeance']) ?>" >
<input class="sr-only" type="number" id="montantTm" name="montantTm" value="<?= $this->nettoyer($prescription['montantTmSeance']) ?>" >
<input class="sr-only" type="text" id="cout_f" name="cout_f" value="<?= format_N($this->nettoyer($prescription['fraisReelSeance'])) ?>" >
<input class="sr-only" type="text" id="montantTm_f" name="montantTm_f" value="<?= format_N($this->nettoyer($prescription['montantTmSeance'])) ?>" >
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
<tbody>
<tr>
<td width="15%" > <?= _("Valeur") ?> </td>
<td width="20%" > <input class="form-control" style="background-color: rgb(190,190,190);text-align: center; font-size:10pt;'" type="text" value="<?= format_N($this->nettoyer($prescription['valeurActeSeance'])) ?>" readonly> </td>
<td width="15%" align="center" > <?= _("Quantité") ?> </td>
<td width="15%" >
<input class="form-control" id="quantiteSeance" name="quantiteSeance" type="number" value="<?= $this->nettoyer($prescription['quantiteSeance']) ?>" style="text-align: center; font-size:10pt; '"
onBlur="javascript:ajaxmajquteseancecso();" >
</td>
<td width="15%" align="center"> <?= _("Total") ?> </td>
<td width="20%" > <input class="form-control" style="background-color: rgb(190,190,190);text-align: center; font-size:10pt;'" type="text" value="<?= format_N($this->nettoyer($prescription['fraisReelSeance'])) ?>" readonly ></td>
</tr>
<tr>
<td> <?= _("T M") ?> </td>
<td> <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($this->nettoyer($prescription['montantTmSeance'])) ?>" readonly ></td>
<td align="center" > <?= _("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($this->nettoyer($prescription['montantArembourserSeance'])) ?>" readonly ></td>
<td align="center" > <?= _("Feuille de soins") ?> </td>
<td align="center" style='font-size:10pt; background-color:blue;color:white;'> <?= $prescription['numeroBonSeance'] ?> </td>
</tr>
<tr>
<td colspan="6" >
<input id="btn_enreg_seance" name="btn_enreg_seance" class = "form-control btn btn-primary" type="button" value="<?= _("Valider") ?>" onClick="javascript:valider_seance_cso();" style='font-size:10pt;' >
</td>
</tr>
</tbody>
</table>
</div>