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

57 lines
2.2 KiB
PHP
Executable File

<?php $this->titre = "INTER-SANTE - TYPES TARIF ACTES"; ?>
<legend> <?= _("TYPES DE TARIF DES ACTES") ?> </legend>
<div id="div_lister_table">
<table class="table table-striped table-bordered table-hover table-condensed table-responsive tabspeciale compact" >
<thead>
<tr>
<th style="text-align:center" > <?= _("Code") ?> </th>
<th style="text-align:center" > <?= _("Libellé") ?> </th>
<th style="text-align:center" > <?= _("Description") ?> </th>
<th style="text-align:center" > <?= _("Appliquer par défaut?") ?> </th>
<th style="text-align:center" > <?= _("Modifier") ?> </th>
<th style="text-align:center" > <?= _("Supprimer") ?> </th>
</tr>
</thead>
<tbody>
<?php
foreach ($typestarif as $v):
$idData = $this->nettoyer($v['id']);
$libelle = $this->nettoyer($v['libelle']);
$description = $this->nettoyer($v['description']);
if (est_anglophone()){
$libelle = $this->nettoyer($v['libelleEng']);
$description = $this->nettoyer($v['descriptionEng']);
}
?>
<tr>
<td align="center" width="10%"><?= $this->nettoyer($v['codeTypeTarifActe']); ?></td>
<td width="25%"><?= $libelle; ?></td>
<td width="40%" class="majuscule"><?= $description; ?></td>
<td width="12%">
<SELECT class="form-control text-center" id="appliqueParDefaut" NAME="appliqueParDefaut" disabled>
<?php liste_options($ouinonappliquepardefaut,$this->nettoyer($v['appliqueParDefaut']), true); ?>
</SELECT>
</td>
<td class="text-center" width="10%">
<button class = "form-control btn-primary" type="button" id="btn-modifier" name="btn-modifier"
style="font-size:10pt;" onclick="JAVASCRIPT:edittypetarif(<?= $idData; ?>);">Modifier</button>
</td>
<td class="text-center" width="10%">
<button class = "form-control btn-danger" type="button" id="btn-supprimer" name="btn-supprimer"
style="font-size:10pt;" onclick="JAVASCRIPT:supprimeLignetypetarif(<?= $idData; ?>)" >Supprimer</button>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
<div id="div_add_typetarif" class="modal fade">
</div>
<div id="div_edit_typetarif" class="modal fade">
</div>