prestation/Vue/Localiseradherent/index.php
2025-12-01 18:54:33 +00:00

77 lines
2.8 KiB
PHP

<?php
//$this->titre = "INTER-SANTE - Prestataire";
$codePays = $client['codePays'];
$codeVille = $client['codeVille'];
$codeLocalite = $client['codeLocalite'];
?>
<legend> <?= _("LOCALISATION DES FAMILLES") ?> </legend>
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
<tbody>
<tr>
<td width="5%"> <?= _("Pays") ?> </td>
<td width="15%">
<SELECT onChange="ajaxListerVilleConsultation();" class="form-control" id="codePays" NAME="codePays" style='font-size:10pt;'>
<?php liste_options_consultation($pays, $codePays); ?>
</SELECT>
</td>
<td align="center" width="7%"> <?= (isset($_SESSION['affichagedynamique']['Province'])) ? _($_SESSION['affichagedynamique']['Province']) : _("Province") ?> </td>
<td width="33%">
<div id="listeville">
<SELECT onChange="ajaxListerLocaliteAdherent();" class="form-control" id="codeVille" NAME="codeVille" style='font-size:10pt;'>
<?php liste_options_consultation($ville, $codeVille ); ?>
</SELECT>
</div>
</td>
<td align="center" width="7%" > <?= (isset($_SESSION['affichagedynamique']['Commune'])) ? _($_SESSION['affichagedynamique']['Commune']) : _("Commune") ?> </td>
<td>
<div id="listelocalite">
<SELECT onChange="afficher_adherents_localite();" class="form-control" id="codeLocalite" NAME="codeLocalite" style='font-size:10pt;'>
<?php liste_options_consultation($localite, $codeLocalite); ?>
</SELECT>
</div>
</td>
</tr>
<td> </td>
<td colspan="3" > <button style='font-size:10pt;' type="button" class="form-control btn btn-primary" onclick="javascript:afficher_adherents_localite();"> <?= _("Afficher...") ?> </button> </td>
<td> </td>
<td> <button style='font-size:10pt;' type="button" class="form-control btn btn-primary" onclick="javascript:exporter_adherents_localite();"> <?= _("Exporter...") ?> </button> </td>
<tr>
</tr>
</tbody>
</table>
<div id="div_adherent">
</div>
<button class="sr-only" id="btn_exporter" name="btn_exporter" type="button" data-bs-toggle="modal" data-bs-target="#pop_exporter" > </button>
<div class="modal fade" id="pop_exporter" role="dialog">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button id="btn_close_pop" name="btn_close_pop" type="button" class="close" data-bs-dismiss="modal"> <?= _("Fermer") ?> </button>
<h4 class="modal-title"> <?= _("Exporter...") ?> </h4>
</div>
<div class="modal-body">
<div id="div_exporter">
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-bs-dismiss="modal"> <?= _("Fermer") ?> </button>
</div>
</div>
</div>
</div>