144 lines
5.3 KiB
PHP
Executable File
144 lines
5.3 KiB
PHP
Executable File
<?php
|
|
// $this->titre = "INTER-SANTE - Modification Client";
|
|
$codeLangueClient = $this->nettoyer($client['codeLangueClient']);
|
|
?>
|
|
|
|
|
|
<form method="post" action="Modifierclient/modifier">
|
|
<INPUT class="sr-only" TYPE="tel" id="telephoneBureau" NAME="telephoneBureau" value="<?=$client['telephoneBureau']?>" >
|
|
<INPUT class="sr-only" TYPE="tel" id="telephonedomicile" NAME="telephonedomicile" value="<?=$client['telephonedomicile']?>">
|
|
|
|
<fieldset>
|
|
<legend> <?= _("Client Numéro") . " : " . $client['numeroClient']?> </legend>
|
|
|
|
<table class="table table-responsive table-condensed" style='font-size:10pt;' >
|
|
<tbody>
|
|
<tr>
|
|
<td width="10%" >Type</td>
|
|
<td width="38%">
|
|
<SELECT style='font-size:10pt;' onChange="controletytpeclient();" class="form-control" id="typeClient" NAME="typeClient" required>
|
|
<?php liste_options($typeclient,$client['typeClient']); ?>
|
|
</SELECT>
|
|
</td>
|
|
|
|
<td width="15%" align="center"> <?= _("Titre") ?> </td>
|
|
<td>
|
|
<SELECT style='font-size:10pt;' class="form-control" id="codeTitre" NAME="codeTitre" required>
|
|
<?php liste_options($titre,$client["codeTitre"]); ?>
|
|
</SELECT>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td> <?= _("Nom") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="nom" NAME="nom" value="<?=$client['nom']?>" required style="text-transform: uppercase; font-size:10pt;"></td>
|
|
|
|
<td align="center"> <?= _("Prénoms") ?> </td>
|
|
<td><INPUT style='font-size:10pt;' class="form-control" TYPE="text" id="prenoms" NAME="prenoms" value="<?=$client['prenoms']?>" ></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td> <?= _("Adresse Géo") ?> </td>
|
|
<td colspan="3"><INPUT style='font-size:10pt;' class="form-control" TYPE="text" id="adresseGeo" NAME="adresseGeo" value="<?=$client['adresseGeo']?>"></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td> <?= _("Adresse Post") ?> </td>
|
|
<td><INPUT style='font-size:10pt;' class="form-control" TYPE="text" id="boitepostale" NAME="boitepostale" value="<?=$client['boitepostale']?>"></td>
|
|
|
|
<td align="center"> <?= _("Pays") ?> </td>
|
|
<td>
|
|
<SELECT style='font-size:10pt;' onChange="ajaxListerVille();" class="form-control" id="codePays" NAME="codePays" required>
|
|
<?php liste_options($pays,$client['codePays']); ?>
|
|
</SELECT>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td> <?= (isset($_SESSION['affichagedynamique']['Province'])) ? _($_SESSION['affichagedynamique']['Province']) : _("Province") ?> </td>
|
|
<td>
|
|
<div id="listeville">
|
|
<SELECT style='font-size:10pt;' onChange="ajaxListerLocalite();" class="form-control" id="codeVille" NAME="codeVille" required>
|
|
<?php liste_options($ville,$client['codeVille']); ?>
|
|
</SELECT>
|
|
</div>
|
|
</td>
|
|
|
|
<td align="center"> <?= (isset($_SESSION['affichagedynamique']['Commune'])) ? _($_SESSION['affichagedynamique']['Commune']) : _("Commune") ?> </td>
|
|
<td>
|
|
<div id="listelocalite">
|
|
<SELECT style='font-size:10pt;' class="form-control" id="codeLocalite" NAME="codeLocalite" required>
|
|
<?php liste_options($listelocalite,$client['codeLocalite']); ?>
|
|
</SELECT>
|
|
</div>
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td> <?= _("Tél Portable") ?> </td>
|
|
<td>
|
|
<INPUT style='font-size:10pt;' class="form-control" TYPE="tel" id="telephonePortable" NAME="telephonePortable" value="<?=$client['telephonePortable']?>" minlength="12" required>
|
|
</td>
|
|
|
|
<td align="center">Fax</td>
|
|
<td><INPUT style='font-size:10pt;' class="form-control" TYPE="tel" id="fax" NAME="fax" value="<?=$client['fax']?>"></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>E-mail</td>
|
|
<td>
|
|
<INPUT style='font-size:10pt;' class="form-control" TYPE="text" id="email" NAME="email" value="<?=$client['email']?>" >
|
|
</td>
|
|
|
|
<td align="center"> <?= _("Secteur Activité") ?> </td>
|
|
<td>
|
|
<SELECT style='font-size:10pt;' class="form-control" id="codeSecteur" NAME="codeSecteur" value="<?=$client['codeSecteur']?>" required>
|
|
<?php liste_options($secteuractivite,$client['codeSecteur']); ?>
|
|
</SELECT>
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td> <?= _("TIN / NID / Passeport") ?> </td>
|
|
<td>
|
|
<INPUT style='font-size:10pt;' class="form-control" TYPE="text" id="registreCommerce" NAME="registreCommerce" value="<?=$client['registreCommerce']?>" required >
|
|
</td>
|
|
|
|
<td align="center"> <?= _("Langue") ?> </td>
|
|
<td>
|
|
<SELECT style='font-size:10pt;' class="form-control" id="codeLangueUser" NAME="codeLangueUser" >
|
|
<?php liste_options($langue, $codeLangueClient, true); ?>
|
|
</SELECT>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td> </td>
|
|
|
|
<td colspan="3" ><input style='font-size:10pt;' class = "form-control btn btn-primary" type="submit" value="<?= _("Enregistrer") ?>" /></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</fieldset>
|
|
|
|
|
|
<?php if ($client['typeClient']=="E"): ?>
|
|
<fieldset id="zonemandat" style="display:">
|
|
</fieldset>
|
|
|
|
<fieldset id="zoneparticulier" style="display:none">
|
|
</fieldset>
|
|
|
|
<?php else: ?>
|
|
<fieldset id="zonemandat" style="display:none">
|
|
</fieldset>
|
|
|
|
<fieldset id="zoneparticulier" style="display:">
|
|
</fieldset>
|
|
<?php endif; ?>
|
|
</form>
|