201 lines
8.9 KiB
PHP
Executable File
201 lines
8.9 KiB
PHP
Executable File
<input class = "form-control btn btn-primary" style="font-size:10pt;" type="button" value="<?= _("Imprimer le réseau de soins du collège") ?>" onclick="javascript:imprimer_reseau_college('<?= $_SESSION['idCollege']; ?>');">
|
|
<div id="div_imprime_reseau">
|
|
</div>
|
|
<div id="div_complet">
|
|
<div class="row">
|
|
<div id="div_prestataires_reseau" class="col-12" >
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:9pt;">
|
|
<thead>
|
|
<tr>
|
|
<th style='text-align:center'> <?= _("Prestataires du réseau de soins (".count($prestataires).")") ?> </th>
|
|
</tr>
|
|
</thead>
|
|
</table>
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive tabspecialemini compact" style="font-size:9pt; width:100%">
|
|
<thead>
|
|
<tr>
|
|
<th style='text-align:center'> <?= _("No") ?> </th>
|
|
<th style='text-align:center'> <?= _("Code") ?> </th>
|
|
<th style='text-align:center'> <?= _("Nom") ?> </th>
|
|
<th style='text-align:center'>Catégorie</th>
|
|
<td style='text-align:center'> <?= _("Type") ?> </td>
|
|
<th style='text-align:center'> <?= _("Ville") ?> </th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php
|
|
$i = 0;
|
|
foreach ($prestataires as $v):
|
|
$idData = $this->nettoyer($v['id']);
|
|
?>
|
|
<tr valign="top">
|
|
<td align='center'> <?= ++$i; ?> </td>
|
|
<td align='center'><?= $this->nettoyer($v['codePrestataire']) ?></td>
|
|
<td><?= $this->nettoyer($v['libelle']) ?></td>
|
|
<td align='center'> <?= $this->nettoyer($v['categoriePresataire'])=='C' ? 'Centre' : 'Prestataire'; ?> </td>
|
|
<td align='center'> <?= $this->nettoyer($v['typeprestataire']) ?> </td>
|
|
<td> <?= $this->nettoyer($v['localite']) ?> </td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div id="div_prestataires_en_plus" class="col-7" >
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:9pt;">
|
|
<tbody>
|
|
<tr>
|
|
<td align='center'><input class = "form-control btn btn-primary" data-bs-toggle="modal" data-bs-target="#popRecherchePrestatairePlus" style="font-size:10pt;" type="button" value="<?= _("Prestataires en plus (".count($prestataireenpluss).")") ?>" onclick=""></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive tabspecialemini compact" style="font-size:9pt;">
|
|
<thead>
|
|
<tr>
|
|
<th style='text-align:center'> <?= _("Nom") ?> </th>
|
|
<th style='text-align:center'> <?= _("Type") ?> </th>
|
|
<th style='text-align:center'> <?= _("Ville") ?> </th>
|
|
<th width="2%" style='text-align:center'> <?= _("Suppr") ?> </th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<?php foreach ($prestataireenpluss as $prestataireenplus):
|
|
|
|
$type = $this->nettoyer($prestataireenplus['typep']);
|
|
|
|
if (est_anglophone()){
|
|
$type = $this->nettoyer($prestataireenplus['typepEng']);
|
|
}
|
|
$idData = $this->nettoyer($prestataireenplus['id']);
|
|
?>
|
|
<tr valign="top">
|
|
<td > <?= $this->nettoyer($prestataireenplus['prestataire']); ?></td>
|
|
<td > <?= $type; ?></td>
|
|
<td > <?= $this->nettoyer($prestataireenplus['ville']); ?></td>
|
|
<td >
|
|
<button style="width:100%" type="button" id="btn-supprimer" name="Supprimer"
|
|
onclick="JAVASCRIPT:supprimerprestataireenplus(<?= $idData; ?>)">X</button>
|
|
</td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div id="div_prestataires_en_moins" class="col-5" >
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:9pt;">
|
|
<tbody>
|
|
<tr>
|
|
<td align='center'><input class = "form-control btn btn-danger" data-bs-toggle="modal" data-bs-target="#popRecherchePrestataireMoins" style="font-size:10pt;" type="button" value="<?= _("Prestataires en moins (".count($prestataireenmoinss).")") ?>" onclick=""></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive tabspecialemini compact" style="font-size:9pt;">
|
|
<thead>
|
|
<tr>
|
|
<th style='text-align:center'> <?= _("Nom") ?> </th>
|
|
<th style='text-align:center'> <?= _("Type") ?> </th>
|
|
<th width="2%" style='text-align:center'> <?= _("Suppr") ?> </th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<?php foreach ($prestataireenmoinss as $prestataireenmoins):
|
|
$type = $this->nettoyer($prestataireenmoins['typep']);
|
|
|
|
if (est_anglophone()){
|
|
$type = $this->nettoyer($prestataireenmoins['typepEng']);
|
|
}
|
|
$idData = $this->nettoyer($prestataireenmoins['id']);
|
|
?>
|
|
<tr valign="top">
|
|
<td > <?= $this->nettoyer($prestataireenmoins['prestataire']) ?></td>
|
|
<td > <?= $type; ?></td>
|
|
<td >
|
|
<button style="width:100%" type="button" id="btn-supprimer" name="Supprimer"
|
|
onclick="JAVASCRIPT:supprimerprestataireenmoins(<?= $idData; ?>)">X</button>
|
|
</td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="modal fade" id="popRecherchePrestatairePlus" 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"> <?= _("Rechercher un prestataire...") ?> </h4>
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
<div id="div_listeprestataires" onkeypress="javascript:ctrlkeypress_prestataire3(event);">
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style='font-size:10pt;'>
|
|
<thead>
|
|
<tr>
|
|
<th style="text-align:center" width="15%" > Code </th>
|
|
<th width="50%" style="text-align:center" > <?= _("Nom contenant...") ?> </th>
|
|
<th colspan="2" style="text-align:center" > Type </th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><input type="text" class="form-control" id="codesearch" name="codesearch" autofocus style='font-size:10pt;' ></td>
|
|
<td><input type="text" class="form-control" id="nomsearch" name="nomsearch" autofocus style='font-size:10pt;' ></td>
|
|
<td><input type="button" class = "form-control btn btn-info" style='font-size:10pt;' value="<?= _("Rechercher...") ?>" onclick="javascript:afficher_pop_recherche_prestataire_enplus();" /></td>
|
|
<td><input type="button" class = "form-control btn btn-info" style='font-size:10pt;' value="<?= _("Ré-initialiser...") ?>" onclick="javascript:reinitialiser_prestataire3();" /></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
<button id="close_pop" name="close_pop" type="button" class="btn btn-default" data-bs-dismiss="modal"> <?= _("Fermer") ?> </button>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="modal fade" id="popRecherchePrestataireMoins" role="dialog">
|
|
<div class="modal-dialog modal-lg">
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
<button id="btn_close_pop2" name="btn_close_pop2" type="button" class="close" data-bs-dismiss="modal"> <?= _("Fermer") ?> </button>
|
|
<h4 class="modal-title"> <?= _("Rechercher un prestataire...") ?> </h4>
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
<div id="div_listeprestataires2" onkeypress="javascript:ctrlkeypress_prestataire4(event);">
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style='font-size:10pt;'>
|
|
<thead>
|
|
<tr>
|
|
<th style="text-align:center" width="15%" > Code </th>
|
|
<th width="50%" style="text-align:center" > <?= _("Nom contenant...") ?> </th>
|
|
<th colspan="2" style="text-align:center" > Type </th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><input type="text" class="form-control" id="codesearch2" name="codesearch2" autofocus style='font-size:10pt;' ></td>
|
|
<td><input type="text" class="form-control" id="nomsearch2" name="nomsearch2" autofocus style='font-size:10pt;' ></td>
|
|
<td><input type="button" class = "form-control btn btn-info" style='font-size:10pt;' value="<?= _("Rechercher...") ?>" onclick="javascript:afficher_pop_recherche_prestataire_enmoins();" /></td>
|
|
<td><input type="button" class = "form-control btn btn-info" style='font-size:10pt;' value="<?= _("Ré-initialiser...") ?>" onclick="javascript:reinitialiser_prestataire4();" /></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
<button id="close_pop2" name="close_pop2" type="button" class="btn btn-default" data-bs-dismiss="modal"> <?= _("Fermer") ?> </button>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|