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

39 lines
1.7 KiB
PHP
Executable File

<?php
$idVerre = $this->nettoyer($verre['id']);
$codeOptique = $verre['codeOptique'];
$actif = $verre['actif'];
?>
<input class="sr-only" type="text" id="idVerre" name="idVerre" value="<?= $idVerre ?>" >
<input class="sr-only" type="text" id="codeOptique" name="codeOptique" value="<?= $codeOptique ?>" >
<table class="table table-responsive table-condensed" style="font-size:10pt;">
<tbody>
<tr>
<td width="10%" align="center" > Français </td>
<td colspan="5" ><INPUT style="font-size:10pt;" class="form-control" TYPE="text" id="libelle" NAME="libelle" value="<?=$this->nettoyer( $verre['libelle'])?>" required AUTOCOMPLETE="OFF" autofocus ></td>
</tr>
<tr>
<td align="center" > English </td>
<td colspan="5" ><INPUT style="font-size:10pt;" class="form-control" TYPE="text" id="libelleEng" NAME="libelleEng" value="<?=$this->nettoyer( $verre['libelleEng'])?>" required AUTOCOMPLETE="OFF" ></td>
</tr>
<tr>
<td align="center" > <?= _("Actif?") ?> </td>
<td width="10%" >
<SELECT class="form-control" id="actif" NAME="actif" style='font-size:10pt; text-align:center;' >
<?php liste_options($verre_actif, $actif, true); ?>
</SELECT>
</td>
<td> </td>
<td> <input id="btn_enreg" name="btn_enreg" class = "form-control btn btn-primary" type="button" value="<?= _("Enregistrer") ?>" onClick="javascript:enregistrer_modif_un_verre();" style='font-size:10pt;' > </td>
<td> </td>
<td> <input class = "form-control btn btn-warning" type="button" value="<?= _("Annuler") ?>" onClick="javascript:retour_liste_verres();" style='font-size:10pt;' > </td>
</tr>
</tbody>
</table>