production/Vue/Ajaxtbajouterpointvente/index.php
2025-12-01 16:12:12 +00:00

64 lines
2.5 KiB
PHP
Executable File

<form id="formData">
<legend id="titre_formData"><?= _("Ajouter des données") ?></legend>
<table class="table table-responsive table-condensed">
<tbody>
<tr>
<td width="5%" align="center" class="required"><?= _("Libellé") ?></td>
<td colspan="2" ><INPUT class="form-control majuscule" TYPE="text" id="libelle" NAME="libelle" required AUTOCOMPLETE="OFF"></td>
<td width="5%" align="center">Type</td>
<td colspan="7%">
<select name="codeTypePointVente" id="codeTypePointVente" class="form-select">
<?= liste_options($typepointvente,'',false) ?>
</select>
</td>
</tr>
<tr>
<td width="5%" align="center">Email</td>
<td colspan="2" ><INPUT class="form-control" TYPE="tel" id="email" NAME="email"></td>
<td width="5%" align="center"><?= _("Téléphone") ?></td>
<td colspan="7%"><INPUT class="form-control" TYPE="telephone" id="telephone" NAME="telephone"></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=" "></td>
<td width="5%" align="center">Adr. Géo.</td>
<td colspan="5" ><INPUT class="form-control" TYPE="text" id="adresseGeo" NAME="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,'',false) ?>
</select>
</td>
<td width="5%" align="center">Ville</td>
<td colspan="2">
<div id="div_ville">
<select name="codeVille" id="codeVille" class="form-select">
<?= liste_options($ville,'',false) ?>
</select>
</div>
</td>
<td width="5%" align="center">Localite</td>
<td width="20%">
<div id="div_localite">
<select name="codeLocalite" id="codeLocalite" class="form-select">
<?= liste_options($localite,'',false) ?>
</select>
</div>
</td>
</tr>
</tbody>
</table>
</form>