74 lines
3.5 KiB
PHP
Executable File
74 lines
3.5 KiB
PHP
Executable File
<div style='width:800px;' class="modal-dialog">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<button type="button" class="close" data-bs-dismiss="modal">×</button>
|
|
<legend class="modal-title text-center">Modifier un Praticien</legend>
|
|
</div>
|
|
<div style='width:100%;' class="modal-body">
|
|
<form id="formModal">
|
|
<INPUT class="sr-only" TYPE="text" id = "idMedecin" name = "idMedecin" value="<?=$this->nettoyer($medecin['id']) ?>">
|
|
<table class="table table-responsive table-condensed">
|
|
<tbody>
|
|
<tr>
|
|
<td width="10%" > <?= _("Nom") ?> </td>
|
|
<td width="40%"> <INPUT style='font-size:10pt;' class="form-control" TYPE="text" id="nom" NAME="nom" value="<?=$this->nettoyer($medecin['nom'])?>" required AUTOCOMPLETE="OFF" autofocus ></td>
|
|
|
|
<td width="10%" align="center" > <?= _("Prénoms") ?> </td>
|
|
<td colspan="3" > <INPUT style='font-size:10pt;' class="form-control" TYPE="text" id="prenoms" NAME="prenoms" value="<?=$this->nettoyer($medecin['prenoms'])?>" required AUTOCOMPLETE="OFF" ></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td> <?= _("Corporation") ?> </td>
|
|
<td>
|
|
<SELECT style="font-size:10pt;" class="form-select" id="codeMetier" NAME="codeMetier" required AUTOCOMPLETE="OFF" autofocus >
|
|
<?php liste_options($corporation, $medecin["codeMetier"]); ?>
|
|
</SELECT>
|
|
</td>
|
|
|
|
<td width="10%" align="center"> <?= _("Téléphone") ?> </td>
|
|
<td colspan="3"><INPUT style='font-size:10pt;' class="form-control" TYPE="tel" id="telephone" NAME="telephone" value="<?=$this->nettoyer($medecin['telephone'])?>" ></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td> <?= _("Spécialité") ?> </td>
|
|
<td>
|
|
<SELECT style="font-size:10pt;" class="form-select" id="codeSpecialite" NAME="codeSpecialite" autofocus >
|
|
<?php liste_options($specialite, $medecin["codeSpecialite"]); ?>
|
|
</SELECT>
|
|
</td>
|
|
|
|
<td align="center"> E-mail </td>
|
|
<td colspan="3"><INPUT style='font-size:10pt;' class="form-control" TYPE="email" id="email" NAME="email" placeholder="E-mail" value="<?=$this->nettoyer($medecin['email'])?>" ></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td > Adresse </td>
|
|
<td ><INPUT style='font-size:10pt;' class="form-control" TYPE="text" id="adresse" NAME="adresse" value="<?=$this->nettoyer($medecin['adresse'])?>" ></td>
|
|
|
|
<td align="center"> <?= _("No Ordre") ?> </td>
|
|
<td>
|
|
<INPUT style='font-size:10pt;' class="form-control" type="text" id="noOrdreMedecin" name="noOrdreMedecin"
|
|
value="<?=$this->nettoyer($medecin['noOrdreMedecin'])?>" onChange="this.value=supprimer_espace_string(this.value);">
|
|
</td>
|
|
|
|
<td align="center" width="5%"> Genre</td>
|
|
<td>
|
|
<SELECT style='font-size:10pt;' class="form-control" id="sexe" NAME="sexe" required AUTOCOMPLETE="OFF" >
|
|
<?php liste_options($sexe, $medecin["sexe"]); ?>
|
|
</SELECT>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td colspan="6"> <input id="btn_enreg" name="btn_enreg" class = "form-control btn btn-primary" type="button" value="<?= _("Enregistrer") ?>" onClick="javascript:enregistrer_modifier_praticien();" style='font-size:10pt;' > </td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</form>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="button" id="btn-fermer-modal" class="btn btn-default" data-bs-dismiss="modal">Fermer</button>
|
|
</div>
|
|
</div>
|
|
</div>
|