radiantassure/Vue/Ajaxlisteprestataireparametrage/index.php
2025-12-07 09:35:13 +00:00

38 lines
1.4 KiB
PHP
Executable File

<?php $nbligne = 0; ?>
<div id="div_liste_prestataire">
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:9pt;">
<thead>
<tr>
<th > Nom </th>
<th style="text-align:center" > Type </th>
<th style="text-align:center"> Réseau </th>
<th colspan="2" style="text-align:center" > Localisation </th>
<th style="text-align:center" > Cons </th>
</tr>
</thead>
<tbody>
<?php foreach ($prestataires as $prestataire):
$id = $this->nettoyer($prestataire['id']);
$codePrestataire = $this->nettoyer($prestataire['codePrestataire']);
$nbligne++;
?>
<tr ondblclick="javascript:afficher_prestataire_id(<?= $id ?>);" valign="top">
<td><?= $this->nettoyer($prestataire['libelle']) ?></td>
<td><?= $this->nettoyer($prestataire['typeprestataire']) ?></td>
<td><?= $this->nettoyer($prestataire['reseausoins']) ?></td>
<td align="center"><?= $this->nettoyer($prestataire['codePays']) ?></td>
<td align="center"><?= $this->nettoyer($prestataire['localite']) ?></td>
<td>
<input class = "form-control btn btn-info" type="button" value="Cons." onClick="javascript:afficher_prestataire_id(<?= $id ?>);" style='font-size:9pt;' >
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<input class="sr-only" type="text" id="nbligne_info" name="nbligne_info" value="<?= $nbligne ?>" >
</div>