prestation/Vue/Modifieracte/index.php
2025-12-01 18:54:33 +00:00

123 lines
5.3 KiB
PHP

<?php
$idActe = $this->nettoyer($acte['id']);
$codeActe = $acte['codeActe'];
$codeFamilleActe = $acte['codeFamilleActe'];
$ententePrealable = $acte['ententePrealable'];
$exclu = $acte['exclu'];
$chirurgie = $acte['chirurgie'];
$actif = $acte['actif'];
$codeGarantie = $acte['codeGarantie'];
$codeTarifActe = $acte['codeTarifActe'];
$codeTypePrestation = $acte['codeTypePrestation'];
$alerte = $acte['alerte'];
$delaiCarenceActe = $acte['delaiCarenceActe'];
$miseEnObservation = $acte['miseEnObservation'];
?>
<input class="sr-only" type="text" id="idActe" name="idActe" value="<?= $idActe ?>" >
<input class="sr-only" type="text" id="codeActe" name="codeActe" value="<?= $codeActe ?>" >
<table class="table table-responsive table-condensed" style="font-size:10pt;">
<tbody>
<tr>
<td width="10%" > Français </td>
<td colspan="5" width="40%" ><INPUT style="font-size:10pt;" class="form-control" TYPE="text" id="libelle" NAME="libelle" value="<?=$this->nettoyer( $acte['libelle'])?>" required AUTOCOMPLETE="OFF" autofocus ></td>
<td width="10%" align="center" > English </td>
<td colspan="5"><INPUT style="font-size:10pt;" class="form-control" TYPE="text" id="libelleEng" NAME="libelleEng" value="<?=$this->nettoyer( $acte['libelleEng'])?>" required AUTOCOMPLETE="OFF" ></td>
</tr>
<tr>
<td> <?= _("Famille") ?> </td>
<td colspan="5" >
<SELECT class="form-control selectpicker" data-live-search="true" id="codeFamilleActe" NAME="codeFamilleActe" style="font-size:10pt;">
<?php liste_options_consultation($familleacte, $codeFamilleActe , true); ?>
</SELECT>
</td>
<td align="center" > <?= _("Garantie") ?> </td>
<td colspan="3">
<SELECT class="form-control selectpicker" data-live-search="true" id="codeGarantie" NAME="codeGarantie" style='font-size:10pt; text-align:center;' >
<?php liste_options($garanties, $codeGarantie, true); ?>
</SELECT>
</td>
<td align="center" > <?= _("Lettre Clé") ?> </td>
<td>
<SELECT class="form-control selectpicker" data-live-search="true" id="lettreCle" NAME="lettreCle" style='font-size:10pt; text-align:center;' >
<?php liste_options($lettrecle, $this->nettoyer( $acte['lettreCle'])); ?>
</SELECT>
</td>
</tr>
<tr>
<td> <?= _("Tarif") ?> </td>
<td colspan="5" >
<SELECT class="form-control selectpicker" data-live-search="true" id="codeTarifActe" NAME="codeTarifActe" autofocus style="font-size:10pt;">
<?php liste_options_consultation($tarifs, $codeTarifActe , true); ?>
</SELECT>
</td>
<td align="center" > <?= _("Type") ?> </td>
<td colspan="3">
<SELECT class="form-control selectpicker" data-live-search="true" id="codeTypePrestation" NAME="codeTypePrestation" style='font-size:10pt; text-align:center;' >
<?php liste_options($typesprestation, $codeTypePrestation, true); ?>
</SELECT>
</td>
<td align="center" > <?= _("Coefficient") ?> </td>
<td>
<INPUT style="font-size:10pt;" class="form-control" TYPE="text" id="coefficient" NAME="coefficient" value="<?=$this->nettoyer( $acte['coefficient'])?>">
</td>
</tr>
<tr>
<td > <?= _("Mise en observ.?") ?> </td>
<td>
<SELECT class="form-control" id="miseEnObservation" NAME="miseEnObservation" style='font-size:10pt; text-align:center;' >
<?php liste_options($acte_miseEnObservation, $miseEnObservation, true); ?>
</SELECT>
</td>
<td align="center"> <?= _("Accord?") ?> </td>
<td>
<SELECT class="form-control" id="ententePrealable" NAME="ententePrealable" style='font-size:10pt; text-align:center;' >
<?php liste_options($acte_ententePrealable, $ententePrealable, true); ?>
</SELECT>
</td>
<td align="center" > <?= _("Exclu?") ?> </td>
<td>
<SELECT class="form-control" id="exclu" NAME="exclu" style='font-size:10pt; text-align:center;' >
<?php liste_options($acte_exclu, $exclu, true); ?>
</SELECT>
</td>
<td align="center" > <?= _("Actif?") ?> </td>
<td>
<SELECT class="form-control" id="actif" NAME="actif" style='font-size:10pt; text-align:center;' >
<?php liste_options($acte_actif, $actif, true); ?>
</SELECT>
</td>
<td align="center" > <?= _("Alerte?") ?> </td>
<td>
<SELECT class="form-control" id="alerte" NAME="alerte" style='font-size:10pt; text-align:center;' >
<?php liste_options($acte_alerte, $actif, true); ?>
</SELECT>
</td>
<td align="center"> <?= _("Dél Car") ?> </td>
<td width="10%"><INPUT style='font-size:10pt; text-align:center;' class="form-control" TYPE="text" id="delaiCarenceActe" NAME="delaiCarenceActe" value="<?= $delaiCarenceActe ?>" onBlur="controle_numerique(this);"></td>
</tr>
<tr>
<td> </td>
<td colspan="5"> <input id="btn_enreg" name="btn_enreg" class = "form-control btn btn-primary" type="button" value="<?= _("Enregistrer") ?>" onClick="javascript:enregistrer_modif_un_acte();" style='font-size:10pt;' > </td>
<td> </td>
<td colspan="5"> <input class = "form-control btn btn-warning" type="button" value="<?= _("Annuler") ?>" onClick="javascript:retour_liste_actes();" style='font-size:10pt;' > </td>
</tr>
</tbody>
</table>