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

55 lines
2.7 KiB
PHP

<?php
// $this->titre = "INTER-SANTE - Liste des tarifs Medicaments";
$codeTarifActe = $_SESSION['codeTarifActe_C'];
$adminSin = $_SESSION['adminSin'];
?>
<SELECT onChange="javascript:afficher_famille_actes_tarif();" class="form-control" id="codeTarifActe" NAME="codeTarifActe" autofocus style="font-size:10pt;">
<?php liste_options_consultation($tarifs, $codeTarifActe , true); ?>
</SELECT>
<div id="div_liste_famille_acte">
<table class="table table-striped table-bordered table-hover table-condensed table-responsive tabspeciale compact" 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>
<?php if($adminSin=="1") : ?>
<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>
<?php else: ?>
<td align="center"> <input class = "form-control btn btn-primary" style="font-size:8pt;" type="button" value="<?= _("Modif") ?>" disabled > </td>
<td align="center"> <input class = "form-control btn btn-danger" style="font-size:8pt;" type="button" value="<?= _("Suppr") ?>" disabled > </td>
<?php endif; ?>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>