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

65 lines
3.4 KiB
PHP
Executable File

<form id="formData">
<legend id="titre_formData">Modification des données</legend>
<INPUT class="sr-only" TYPE="text" id = "id" name = "id" value="<?=$pointvente['id']?>">
<table class="table table-responsive table-condensed">
<tbody>
<tr>
<td width="5%" align="center" class="required">Code</td>
<td colspan="2" ><INPUT class="form-control majuscule" TYPE="text" id="codePointVente" NAME="codePointVente" required AUTOCOMPLETE="OFF" autofocus value="<?= $this->nettoyer($pointvente['codePointVente']); ?>" ></td>
<td width="5%" align="center" class="required">Libellé</td>
<td colspan="3" ><INPUT class="form-control majuscule" TYPE="text" id="libelle" NAME="libelle" required AUTOCOMPLETE="OFF" value="<?= $this->nettoyer($pointvente['libelle']); ?>"></td>
<td width="5%" align="center">Type</td>
<td width="20%">
<select name="codeTypePointVente" id="codeTypePointVente" class="form-control">
<?= liste_options($typepointvente,$this->nettoyer($pointvente['codeTypePointVente']),true) ?>
</select>
</td>
</tr>
<tr>
<td width="5%" align="center">Email</td>
<td colspan="2" ><INPUT class="form-control" TYPE="tel" id="email" NAME="email" value="<?= $this->nettoyer($pointvente['email']); ?>"></td>
<td width="5%" align="center">Téléphone</td>
<td colspan="3" ><INPUT class="form-control" TYPE="telephone" id="telephone" NAME="telephone" value="<?= $this->nettoyer($pointvente['telephone']); ?>"></td>
<td width="5%" align="center">Fax</td>
<td width="20%" ><INPUT class="form-control" TYPE="fax" id="fax" NAME="fax" value="<?= $this->nettoyer($pointvente['fax']); ?>"></td>
</tr>
<tr>
<td width="5%" align="center">Adr. Post.</td>
<td colspan="2" ><INPUT class="form-control" TYPE="text" id="adressePost" NAME="adressePost" value="<?= $this->nettoyer($pointvente['adressePost']); ?>"></td>
<td width="5%" align="center">Adr. Géo.</td>
<td colspan="5" ><INPUT class="form-control" TYPE="text" id="adresseGeo" NAME="adresseGeo" value="<?= $this->nettoyer($pointvente['adresseGeo']); ?>"></td>
</tr>
<tr>
<td width="5%" align="center">Pays</td>
<td colspan="2">
<select name="codePays" id="codePays" class="form-control" onchange="JAVASCRIPT:filtreVilleParPays();">
<?= liste_options($pays,$this->nettoyer($pointvente['codePays']),true) ?>
</select>
</td>
<td width="5%" align="center">Ville</td>
<td colspan="3">
<div id="div_ville">
<select name="codeVille" id="codeVille" class="form-control">
<?= liste_options($ville,$this->nettoyer($pointvente['codeVille']),true) ?>
</select>
</div>
</td>
<td width="5%" align="center">Localite</td>
<td width="20%">
<div id="div_localite">
<select name="codeLocalite" id="codeLocalite" class="form-control">
<?= liste_options($localite,$this->nettoyer($pointvente['codeLocalite']),true) ?>
</select>
</div>
</td>
</tr>
</tbody>
</table>
</form>