45 lines
1.6 KiB
PHP
45 lines
1.6 KiB
PHP
<?php $this->titre = "INTER-SANTE - TYPE GARANT"; ?>
|
|
|
|
<legend> <?= _("TYPES DE GARANT") ?> </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" > <?= _("N°") ?> </th>
|
|
<th style="text-align:center" > <?= _("Code") ?> </th>
|
|
<th style="text-align:center" > <?= _("Libellé") ?> </th>
|
|
<th style="text-align:center" > <?= _("Modifier") ?> </th>
|
|
<th style="text-align:center" > <?= _("Supprimer") ?> </th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php $i = 0;?>
|
|
<?php
|
|
foreach ($typesgarant as $v):
|
|
$idData = $this->nettoyer($v['id']);
|
|
?>
|
|
<tr>
|
|
<td align="center" width="5%"><?= ++$i; ?></td>
|
|
<td align="center" width="10%"><?= $this->nettoyer($v['codeTypeGarant']); ?></td>
|
|
<td width="50%"><?= $this->nettoyer($v['libelle']); ?></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:editgctypegarant(<?= $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:supprimeLigneTypeGarant(<?= $idData; ?>)" >Supprimer</button>
|
|
</td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div id="div_add_typegarant" class="modal fade">
|
|
|
|
</div>
|
|
<div id="div_edit_typegarant" class="modal fade">
|
|
|
|
</div>
|