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

82 lines
3.3 KiB
PHP

<?php
$this->titre = "INTER-SANTE - Prestataire Du groupe";
$codeGroupePrestataire = $this->nettoyer($groupe['codeGroupePrestataire']);
$idGroupe = $this->nettoyer($groupe['id']);
$nomGroupe = $this->nettoyer($groupe['libelle']);
$_SESSION['nomGroupe'] = $nomGroupe;
if (est_anglophone()){
$libbouton = "Check all";
}else{
$libbouton = "Cocher tous";
}
?>
<legend> <?= _("GROUPE => ").$nomGroupe." (".$codeGroupePrestataire.")"; ?> </legend>
<input class="sr-only" type="text" id="codeGroupePrestataire" name="codeGroupePrestataire" value="<?= $codeGroupePrestataire ?>" >
<input class="sr-only" type="text" id="idGroupe" name="idGroupe" value="<?= $idGroupe ?>" >
<input class="sr-only" type="text" id="nomGroupe" name="nomGroupe" value="<?= $nomGroupe ?>" >
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
<tbody>
<tr>
<td width="6%" > <?= _("Catégorie") ?> </td>
<td width="15%">
<SELECT class="form-control" id="categoriePresataire" NAME="categoriePresataire" style='font-size:10pt;'>
<?php liste_options_consultation($categorie, ""); ?>
</SELECT>
</td>
<td width="8%" align="center"> <?= _("Prestataire") ?> </td>
<td width="35%" > <INPUT style='font-size:10pt;' class="form-control" type="text" id="libelle" name="libelle" onkeypress="javascript:ctrlkeypress_lite_prestataire(event);" > </td>
<td width="6%" align="center"> Type </td>
<td >
<SELECT class="form-control" id="codeTypePrestataire" NAME="codeTypePrestataire" style='font-size:10pt;'>
<?php liste_options_consultation($typeprestataire, ""); ?>
</SELECT>
</td>
<td> <input class="form-control" style="text-align: center; font-size:10pt;" type="text" id="nbligne" name="nbligne" value="Lignes Filtrées: 0" readonly> </td>
</tr>
<tr>
<td > <?= _("Pays") ?> </td>
<td width="15%">
<SELECT onChange="ajaxListerVilleConsultation();" class="form-control" id="codePays" NAME="codePays" style='font-size:10pt;'>
<?php liste_options_consultation($pays, ""); ?>
</SELECT>
</td>
<td width="8%" align="center"> <?= (isset($_SESSION['affichagedynamique']['District / Région'])) ? _($_SESSION['affichagedynamique']['District / Région']) : _("District / Région") ?> </td>
<td width="35%" >
<div id="listeville">
<SELECT onChange="ajaxListerLocaliteConsultation();" class="form-control" id="codeVille" NAME="codeVille" style='font-size:10pt;'>
<?php liste_options_consultation($ville, ""); ?>
</SELECT>
</div>
</td>
<td width="6%" align="center"> <?= (isset($_SESSION['affichagedynamique']['Commune'])) ? _($_SESSION['affichagedynamique']['Commune']) : _("Commune") ?> </td>
<td>
<div id="listelocalite">
<SELECT class="form-control" id="codeLocalite" NAME="codeLocalite" style='font-size:10pt;'>
<?php liste_options_consultation($listelocalite, "" ); ?>
</SELECT>
</div>
</td>
<td><button style='font-size:10pt;' type="button" class="form-control btn btn-primary" onclick="javascript:afficher_liste_prestataires_groupe();"> <?= _("Filtrer...") ?> </button> </td>
</tr>
</tbody>
</table>
<div id="div_liste_prestataire">
</div>