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

38 lines
1.9 KiB
PHP

<div id="div_liste_famille_acte">
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;">
<thead>
<tr>
<th style="text-align:center" > <?= _("Code") ?> </th>
<th > <?= _("Désignation") ?> </th>
<th style="text-align:center" > <?= _("Garantie") ?> </th>
<th style="text-align:center" > <?= _("Type") ?> </th>
<th style="text-align:center" > <?= _("Hospit") ?> </th>
<th style="text-align:center" > <?= _("Tarif") ?> </th>
<th style="text-align:center" > <?= _("Modif") ?> </th>
<th style="text-align:center" > <?= _("Suppr") ?> </th>
</tr>
</thead>
<tbody>
<?php foreach ($familleactes as $familleacte):
$idFamilleacte = $this->nettoyer($familleacte['id']);
$hospitalisation = $familleacte['hospitalisation'];
?>
<tr valign="top">
<td align="center" ><?= $familleacte['codeFamilleActe'] ?></td>
<td><?= $familleacte['libelle'] ?></td>
<td align="center" ><?= $familleacte['codeGarantie'] ?></td>
<td align="center" ><?= $familleacte['codeTypePrestation'] ?></td>
<?php if ($hospitalisation=="1"): ?>
<td align='center'> <input type="checkbox" checked disabled style='font-size:8pt;' ></td>
<?php else: ?>
<td align='center'> <input type="checkbox" disabled style='font-size:8pt;' ></td>
<?php endif; ?>
<td><?= $familleacte['tarifacte'] ?></td>
<td align="center"> <input class = "form-control btn btn-primary" style="font-size:8pt;" type="button" value="<?= _("Modif") ?>" onClick="javascript:modifier_familles_actes(<?= $idFamilleacte ?>);"> </td>
<td align="center"> <input class = "form-control btn btn-danger" style="font-size:8pt;" type="button" value="<?= _("Suppr") ?>" onClick="javascript:supprimer_familles_actes(<?= $idFamilleacte ?>);"> </td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>