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

54 lines
2.4 KiB
PHP

<?php $nbligne = 0; ?>
<div id="div_liste_prestataire">
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:7pt;">
<thead>
<tr>
<th rowspan="2"> <?= _("Nom") ?> </th>
<th rowspan="2" style="text-align:center" width="5%" >Code</th>
<th rowspan="2" colspan="2" style="text-align:center"> <?= _("Catégorie") ?> </th>
<th rowspan="2" colspan="2" style="text-align:center" > Type </th>
<th colspan="3" style="text-align:center" > <?= _("Tarifs") ?> </th>
<th rowspan="2" colspan="2" style="text-align:center"> <?= _("Localisation") ?> </th>
<th rowspan="2" style="text-align:center" > Cons </th>
</tr>
<tr>
<th style="text-align:center" > Act </th>
<th style="text-align:center" > Phar </th>
<th style="text-align:center" > Opt </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 align="center"><?= $this->nettoyer($prestataire['codePrestataireNormalise']) ?></td>
<td align="center"><?= $this->nettoyer($prestataire['categoriePresataire']) ?></td>
<td><?= $this->nettoyer($prestataire['categorietypeprestataire']) ?></td>
<td align="center"><?= $this->nettoyer($prestataire['codeTypePrestataire']) ?></td>
<td><?= $this->nettoyer($prestataire['typeprestataire']) ?></td>
<td align="center"><?= $this->nettoyer($prestataire['codeTarifActe']) ?></td>
<td align="center"><?= $this->nettoyer($prestataire['codeTarifMedicament']) ?></td>
<td align="center"><?= $this->nettoyer($prestataire['codeTarifOptique']) ?></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:7pt;' >
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<input class="sr-only" type="text" id="nbligne_info" name="nbligne_info" value="<?= $nbligne ?>" >
</div>