65 lines
3.5 KiB
PHP
Executable File
65 lines
3.5 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" >Code</td>
|
|
<td colspan="2" ><INPUT class="form-control majuscule" TYPE="text" id="codePointVente" NAME="codePointVente" value="<?= $this->nettoyer($pointvente['codePointVente']); ?>" disabled></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-select">
|
|
<?= liste_options($typepointvente,$this->nettoyer($pointvente['codeTypePointVente']),true) ?>
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="5%" align="center">E-mail</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"><?= _("Adresse Postale") ?></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"><?= _("Adresse 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-select" onchange="JAVASCRIPT:filtreVilleParPays();">
|
|
<?= liste_options($pays,$this->nettoyer($pointvente['codePays']),true) ?>
|
|
</select>
|
|
</td>
|
|
|
|
<td width="5%" align="center"><?= _("Région") ?></td>
|
|
<td colspan="3">
|
|
<div id="div_ville">
|
|
<select name="codeVille" id="codeVille" class="form-select">
|
|
<?= liste_options($ville,$this->nettoyer($pointvente['codeVille']),true) ?>
|
|
</select>
|
|
</div>
|
|
</td>
|
|
|
|
<td width="5%" align="center"><?= _("Ville") ?></td>
|
|
<td width="20%">
|
|
<div id="div_localite">
|
|
<select name="codeLocalite" id="codeLocalite" class="form-select">
|
|
<?= liste_options($localite,$this->nettoyer($pointvente['codeLocalite']),true) ?>
|
|
</select>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</form>
|