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

45 lines
2.0 KiB
PHP

<div id="div_maj_type_bon">
<legend> <?= _("MISE A JOUR DES PARAMETRES") ?> </legend>
<input class="sr-only" type="text" id="idTypebon" name="idTypebon" value="<?= $this->nettoyer($typebon['idTypebon']) ?>">
<table class="table table-responsive table-condensed" style="font-size:10pt;">
<tbody>
<tr>
<td> <INPUT style="font-size:10pt; text-align:center;" class="form-control" TYPE="text" value="<?= $this->nettoyer($typebon['libelleTypebon']) ?>" readonly ></td>
<td width="15%" align="center" > <?= _("Durée de vie") ?> </td>
<td> <INPUT style="font-size:10pt; text-align:center" class="form-control" TYPE="text" value="<?= $this->nettoyer($typebon['dureeVie']) ?>" readonly ></td>
<td width="15%" align="center" > <?= _("Gestion") ?> </td>
<td> <INPUT style="font-size:10pt; text-align:center" class="form-control" TYPE="text" value="<?= $this->nettoyer($typebon['libelleTypeGestionBon']) ?>" readonly ></td>
</tr>
<tr>
<td align="center" > <?= _("Nouvelles valeurs") ?> </td>
<td align="center" > <?= _("Durée de vie") ?> </td>
<td align='center'>
<INPUT style="font-size:10pt; text-align:center;" id="dureeVie" name="dureeVie" class="form-control" TYPE="number" value="<?= $this->nettoyer($typebon['dureeVie']) ?>"
onChange="this.value=supprimer_espace_nombre(this.value); controle_numerique(this);">
</td>
<td align="center" > <?= _("Gestion") ?> </td>
<td>
<SELECT style="font-size:10pt; text-align:center;" class="form-control" id="codeGestionBon" NAME="codeGestionBon" >
<?php liste_options($typegestion, $typebon['codeGestionBon'],true); ?>
</SELECT>
</td>
</tr>
<tr>
<td colspan="5">
<input style="font-size:10pt;" class = "form-control btn btn-primary" type="button" value="<?= _("Enregistrer") ?>"
onClick="javascript:enregistrer_modif_type_bon();">
</td>
</tr>
</tbody>
</table>
</div>