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

187 lines
7.3 KiB
PHP
Executable File

<?php $this->titre = "INTER SANTE - Nouveau Souscripteur"; ?>
<form method="post" action="Creerclient/ajouter">
<fieldset>
<legend> <?= _("Nouveau Souscripteur") ?> </legend>
<table class="table table-responsive table-condensed">
<tbody>
<tr>
<td width="10%" class="required">Type</td>
<td width="38%">
<select class="form-select" id="typeClient" NAME="typeClient" onChange="JAVASCRIPT:controletytpeclient();" required AUTOCOMPLETE="OFF" autofocus>
<?php liste_options($typeclient,""); ?>
</SELECT>
</td>
<td width="15%" align="center" class="required"> <?= _("Titre") ?> </td>
<td>
<select class="form-select" id="codeTitre" NAME="codeTitre" required >
<?php liste_options($titre,""); ?>
</SELECT>
</td>
</tr>
<tr>
<td class="required"> <?= _("Nom") ?> </td>
<td><INPUT class="form-control" TYPE="text" id="nom" NAME="nom" required style="text-transform: uppercase;"></td>
<td align="center"> <?= _("Prénoms") ?> </td>
<td><INPUT class="form-control majuscule" TYPE="text" id="prenoms" NAME="prenoms" ></td>
</tr>
<tr>
<td> <?= _("Indicatif") ?> </td>
<td><INPUT class="form-control" TYPE="text" id="prefixePaiementMobile" NAME="prefixePaiementMobile" value="<?= $_SESSION['indicatifTelephone'] ?>"></td>
<td align="center"> <?= _("Mobile Paiement") ?> </td>
<td><INPUT class="form-control" TYPE="text" id="mobilePaiement" NAME="mobilePaiement" value=""></td>
</tr>
<tr>
<td ><?= _("Tarif Actes") ?></td>
<td >
<select name="codeTarifActe" id="codeTarifActe" class="form-control selectpicker" data-live-search="true">
<?= liste_options($tarifActe,"",false) ?>
</select>
</td>
<td align="center" > <?= _("Pays") ?> </td>
<td>
<SELECT onChange="ajaxListerVille();" class="form-select" id="codePays" NAME="codePays">
<?php liste_options($pays,$_SESSION['codePaysSociete']); ?>
</SELECT>
</td>
</tr>
<tr>
<td > <?= (isset($_SESSION['affichagedynamique']['District / Région'])) ? _($_SESSION['affichagedynamique']['District / Région']) : _("District / Région") ?> </td>
<td>
<div id="listeville">
<SELECT onChange="ajaxListerLocalite();" class="form-select" id="codeVille" NAME="codeVille">
<?php liste_options($ville,""); ?>
</SELECT>
</div>
</td>
<td align="center" > <?= (isset($_SESSION['affichagedynamique']['Commune'])) ? _($_SESSION['affichagedynamique']['Commune']) : _("Commune") ?> </td>
<td>
<div id="listelocalite" >
<select class="form-select" id="codeLocalite" NAME="codeLocalite">
<?php liste_options($listelocalite,""); ?>
</SELECT>
</div>
</td>
</tr>
<tr>
<td> <?= _("Tél Bureau") ?> </td>
<td><INPUT class="form-control" TYPE="tel" id="telephoneBureau" NAME="telephoneBureau" value="<?= $_SESSION['indicatifTelephone'] ?>"></td>
<td align="center"> <?= _("Tél Domicile") ?> </td>
<td><INPUT class="form-control" TYPE="tel" id="telephonedomicile" NAME="telephonedomicile" value="<?= $_SESSION['indicatifTelephone'] ?>"></td>
</tr>
<tr>
<td class="required"> <?= _("Tél Portable") ?> </td>
<td><INPUT class="form-control" TYPE="tel" id="telephonePortable" NAME="telephonePortable" value="<?= $_SESSION['indicatifTelephone'] ?>" placeholder="Tél portable obligatoire" required AUTOCOMPLETE="OFF" minlength="5" ></td>
<td align="center">Fax</td>
<td><INPUT class="form-control" TYPE="tel" id="fax" NAME="fax" ></td>
</tr>
<tr>
<td class="required">E-mail</td>
<td><INPUT class="form-control" TYPE="email" id="email" NAME="email" placeholder="E-mail obligatoire" required AUTOCOMPLETE="OFF"></td>
<td align="center" > <?= _("Secteur Activité") ?> </td>
<td>
<select class="form-control selectpicker" data-live-search="true" id="codeSecteur" NAME="codeSecteur">
<?php liste_options($secteuractivite,""); ?>
</SELECT>
</td>
</tr>
<tr>
<td > <?= _("Mandataire") ?> </td>
<td><INPUT class="form-control" TYPE="text" id="nomMandataire" NAME="nomMandataire" style="text-transform: uppercase;" placeholder="Nom & Prénoms" AUTOCOMPLETE="OFF"></td>
<td align="center" > <?= _("Mobile Mandataire") ?> </td>
<td><INPUT class="form-control" TYPE="tel" id="telephonePortablemandataire" NAME="telephonePortablemandataire" value="<?= $_SESSION['indicatifTelephone'] ?>"></td>
</tr>
<tr>
<td> <?= _("Fixe Mandataire") ?> </td>
<td><INPUT class="form-control" TYPE="tel" id="telephoneFixemandataire" NAME="telephoneFixemandataire" value="<?= $_SESSION['indicatifTelephone'] ?>"></td>
<td align="center" > <?= _("E-mail Mandataire") ?> </td>
<td><INPUT class="form-control" TYPE="email" id="emailMandataire" NAME="emailMandataire"></td>
</tr>
<tr>
<td> <?= _("Registre Comm") ?> </td>
<td><INPUT class="form-control" TYPE="text" id="registreCommerce" NAME="registreCommerce" placeholder="Registre de Commerce" ></td>
<td align="center" class="required"> <?= _("Langue") ?> </td>
<td>
<select class="form-select" id="codeLangueUser" NAME="codeLangueUser" required AUTOCOMPLETE="OFF" >
<?php liste_options($langue, $_SESSION['codeLangueSociete'] ); ?>
</SELECT>
</td>
</tr>
<tr>
<td > <?= _("Seuil RD (%)") ?> </td>
<td> <INPUT style='font-size:10pt;' class="form-control" id="seuilRdClient" NAME="seuilRdClient" step="1" TYPE="number" value="0" min="0" max="100"></td>
<td align='center'> <?= _("Type Remboursement") ?> </td>
<td >
<SELECT style="font-size:10pt;" class="form-control selectpicker" data-live-search="true" id="codeTypeRemboursement" NAME="codeTypeRemboursement">
<?php liste_options($typeremboursement,"RDTP",true); ?>
</SELECT>
</td>
</tr>
<tr>
<td > <?= _("Mode Paiement") ?> </td>
<td>
<select class="form-select" id="codeModePaiement" NAME="codeModePaiement" style='font-size:10pt;' >
<?php liste_options($modepaiement,""); ?>
</SELECT>
</td>
<td align="center"> <?= _("RIB") ?> </td>
<td>
<INPUT class="form-control" TYPE="text" id="rib" NAME="rib" style='font-size:10pt;' >
</td>
</tr>
<tr>
<td> <?= _("Adresse Géo.") ?> </td>
<td ><INPUT class="form-control majuscule" TYPE="text" id="adresseGeo" NAME="adresseGeo" ></td>
<td> <?= _("Adresse Postale") ?> </td>
<td><INPUT class="form-control majuscule" TYPE="text" id="boitepostale" NAME="boitepostale"></td>
</tr>
<tr>
<td colspan="4" style="height:15px; background-color:white;"></td>
</tr>
<tr>
<td colspan="4"><input class = "form-control btn btn-primary" type="submit" value="<?= _("Enregistrer") ?>" /></td>
</tr>
</tbody>
</table>
</fieldset>
<fieldset id="zonemandat" style="display:none">
</fieldset>
<fieldset id="zoneparticulier" style="display:none">
</fieldset>
</form>