prestation/Vue/Listetarifoptique/index.php
2025-12-05 10:42:46 +00:00

31 lines
1.4 KiB
PHP
Executable File

<?php
// $this->titre = "INTER-SANTE - Liste des tarifs Medicaments";
?>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:10pt;">
<thead>
<tr>
<th> <?= _("Désignation") ?> </th>
<th style="text-align:center" > <?= _("Modifier") ?> </th>
<th style="text-align:center" > <?= _("Importer") ?> </th>
<th style="text-align:center" > <?= _("Supprimer") ?> </th>
</tr>
</thead>
<tbody>
<?php foreach ($tarifs as $tarif):
$idTarif = $this->nettoyer($tarif['id']);
$libelleTarif = $tarif['libelle'];
if (est_anglophone())
{
$libelleTarif = $tarif['libelleEng'];
}
?>
<tr valign="top">
<td><?= $libelleTarif ?></td>
<td align="center"> <input class = "form-control btn btn-primary" style="font-size:10pt;" type="button" value="<?= _("Modifier") ?>" onClick="javascript:modifier_tarif_optiques(<?= $idTarif ?>);"> </td>
<td align="center"> <input class = "form-control btn btn-info" style="font-size:10pt;" type="button" value="<?= _("Importer") ?>" onClick="javascript:importer_tarif_optiques(<?= $idTarif ?>);"> </td>
<td align="center"> <input class = "form-control btn btn-danger" style="font-size:10pt;" type="button" value="<?= _("Supprimer") ?>" onClick="javascript:supprimer_tarif_optiques(<?= $idTarif ?>);"> </td>
</tr>
<?php endforeach; ?>
</tbody>
</table>