69 lines
3.8 KiB
PHP
69 lines
3.8 KiB
PHP
<?php $this->titre = "INTER-SANTE - Modification Produit"; ?>
|
|
|
|
<input class="sr-only" type="text" id="idProduit" name="idProduit" value="<?= $this->nettoyer($produit['idProduit']) ?>" >
|
|
|
|
<legend> <?= _("Anciennes valeurs") ?> </legend>
|
|
|
|
<table class="table table-responsive table-condensed" style="font-size:10pt;">
|
|
<tbody>
|
|
<tr>
|
|
<td width="10%" > Code </td>
|
|
<td><INPUT style="font-size:10pt;" class="form-control" TYPE="text" id="codeProduit" NAME="codeProduit" value="<?=$this->nettoyer($produit['codeProduit'])?>" readonly ></td>
|
|
|
|
<td width="10%" align="center" > <?= _("Libellé") ?> </td>
|
|
<td colspan="5" ><INPUT style="font-size:10pt;" class="form-control" TYPE="text" value="<?=$this->nettoyer($produit['libelle'])?>" readonly ></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td> <?= _("Prime Famille") ?> </td>
|
|
<td ><INPUT style='text-align:center; font-size:10pt;' class="form-control" type="text" value="<?= format_N($this->nettoyer($produit['primeFamille'])) ?>" readonly></td>
|
|
|
|
<td align="center"> <?= _("Prime Indiv") ?> </td>
|
|
<td ><INPUT style='text-align:center; font-size:10pt;' class="form-control" type="text" value="<?= format_N($this->nettoyer($produit['primeIndividu'])) ?>" readonly></td>
|
|
|
|
<td width="10%" align="center" > <?= _("Prime Min") ?> </td>
|
|
<td ><INPUT style='text-align:center; font-size:10pt;' class="form-control" type="text" value="<?= format_N($this->nettoyer($produit['primeMin'])) ?>" readonly></td>
|
|
|
|
<td width="10%" align="center" <?= _("Prime Max") ?> </td>
|
|
<td ><INPUT style='text-align:center; font-size:10pt;' class="form-control" type="text" value="<?= format_N($this->nettoyer($produit['primeMax'])) ?>" readonly></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
|
|
<legend> <?= _("Nouvelles valeurs") ?> </legend>
|
|
|
|
<table class="table table-responsive table-condensed" style="font-size:10pt;">
|
|
<tbody>
|
|
<tr>
|
|
<td width="10%" > Code </td>
|
|
<td><INPUT style="font-size:10pt;" class="form-control" TYPE="text" id="codeProduit" NAME="codeProduit" value="<?=$this->nettoyer($produit['codeProduit'])?>" readonly ></td>
|
|
|
|
<td width="10%" align="center" > <?= _("Libellé") ?> </td>
|
|
<td colspan="5" ><INPUT style="font-size:10pt;" class="form-control" TYPE="text" id="libelle" NAME="libelle" value="<?=$this->nettoyer($produit['libelle'])?>" ></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td> <?= _("Prime Famille") ?> </td>
|
|
<td ><INPUT style='text-align:center; font-size:10pt;' class="form-control" type="number" id="primeFamille" NAME="primeFamille" value="<?= $this->nettoyer($produit['primeFamille']) ?>" ></td>
|
|
|
|
<td align="center"> <?= _("Prime Indiv") ?> </td>
|
|
<td ><INPUT style='text-align:center; font-size:10pt;' class="form-control" type="number" id="primeIndividu" NAME="primeIndividu" value="<?= $this->nettoyer($produit['primeIndividu']) ?>" ></td>
|
|
|
|
<td width="10%" align="center" > <?= _("Prime Min") ?> </td>
|
|
<td ><INPUT style='text-align:center; font-size:10pt;' class="form-control" type="number" id="primeMin" NAME="primeMin" value="<?= $this->nettoyer($produit['primeMin']) ?>" ></td>
|
|
|
|
<td width="10%" align="center" <?= _("Prime Max") ?> </td>
|
|
<td ><INPUT style='text-align:center; font-size:10pt;' class="form-control" type="number" id="primeMax" NAME="primeMax" value="<?= $this->nettoyer($produit['primeMax']) ?>"></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td> </td>
|
|
<td colspan="3" > <input id="btn_enreg" name="btn_enreg" class = "form-control btn btn-primary" type="button" value="<?= _("Enregistrer") ?>" onClick="javascript:enregistrer_modif_produit();" style='font-size:10pt;' > </td>
|
|
|
|
<td> </td>
|
|
<td colspan="3" > <input class = "form-control btn btn-warning" type="button" value="<?= _("Annuler") ?>" onClick="javascript:retour_liste_produits();" style='font-size:10pt;' > </td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|