79 lines
2.9 KiB
PHP
Executable File
79 lines
2.9 KiB
PHP
Executable File
<?php
|
|
// $this->titre = "INTER-SANTE - changement état famillet";
|
|
if (est_anglophone())
|
|
{
|
|
$produit = $adherent['produitEng'];
|
|
$naturepiece = $adherent['naturepieceEng'];
|
|
$situationfamille = $adherent['situationfamilleEng'];
|
|
$motifsortie = $adherent['motifsortieEng'];
|
|
$etatadherent = $adherent['etatadherentEng'];
|
|
}
|
|
else
|
|
{
|
|
$produit = $adherent['produit'];
|
|
$naturepiece = $adherent['naturepiece'];
|
|
$situationfamille = $adherent['situationfamille'];
|
|
$motifsortie = $adherent['motifsortie'];
|
|
$etatadherent = $adherent['etatadherent'];
|
|
}
|
|
|
|
?>
|
|
|
|
<div id="div_fichefamille">
|
|
<fieldset >
|
|
<legend><?= _("Informations sur le chef de Famille / Adhérent Numéro") . " : " . $adherent['numeroAdherent']?></legend>
|
|
<table class="table table-responsive table-condensed">
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td> <?= _("Nom Adh") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="nom" NAME="nom" value="<?=$adherent['nom']?>" readonly></td>
|
|
|
|
<td align="center"> <?= _("Prénoms") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="prenoms" NAME="prenoms" value="<?=$adherent['prenoms']?>"readonly ></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td> <?= _("Entrée") ?> </td>
|
|
<td><INPUT class="form-control datepicker" TYPE="text" id="dateEntree" NAME="dateEntree" value="<?= dateLang($this->nettoyer($adherent['dateEntree'])) ?>" readonly></td>
|
|
|
|
<td align="center"> <?= _("Etat") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="etatbeneficiaire" NAME="etatbeneficiaire" value="<?= $etatadherent ?>" readonly ></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</fieldset>
|
|
</div>
|
|
|
|
<form method="post" action="Changeretatadherent/enregistrer">
|
|
<input class="sr-only" id="btn_enreg" name="btn_enreg" type="submit" value="<?= _("Enregistrer") ?>" />
|
|
|
|
<fieldset>
|
|
<legend> <?= _("Nouvel Etat") ?> </legend>
|
|
<table class="table table-responsive table-condensed">
|
|
<tbody>
|
|
<tr>
|
|
<td width="10%"> <?= _("Etat") ?> </td>
|
|
<td width="24%">
|
|
<SELECT class="form-control" id="codeEtatAdherent" NAME="codeEtatAdherent" autofocus required AUTOCOMPLETE="OFF" >
|
|
<?php liste_options($etatpersonne, ""); ?>
|
|
</SELECT>
|
|
</td>
|
|
|
|
<td width="10%" align="center"> <?= _("Motif") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="motifEtat" NAME="motifEtat" required AUTOCOMPLETE="OFF" ></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td> <?= _("Effet Changement") ?> </td>
|
|
<td><INPUT class="form-control datepicker" TYPE="text" id="dateEtat" NAME="dateEtat" Value="<?= dateCouranteLang($_SESSION['p_lang']) ?>" required AUTOCOMPLETE="OFF" ></td>
|
|
|
|
<td></td>
|
|
<td> <button style='font-size:10pt;' type="button" class="form-control btn btn-primary" onclick="javascript:enregistrer_changement_etat_famille();"> <?= _("Enregistrer") ?> </button> </td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
</fieldset>
|
|
</form>
|