This commit is contained in:
KONE SOREL 2026-01-03 09:28:03 +00:00
parent 46f917b376
commit 997c73685b

View File

@ -60,7 +60,7 @@
<th><?= _("Identité de l'assuré") ?></th>
<th class="text-center"><?= _("Collège") ?></th>
<th class="text-center"><?= _("Période Couverture") ?></th>
<th class="text-center" width="15%"><?= _("Actions") ?></th>
<th class="text-center" width="8%"><?= _("Actions") ?></th>
</tr>
</thead>
<tbody>
@ -105,21 +105,6 @@
<button class="btn btn-white border-0" title="<?= _("Voir la fiche") ?>" onclick="selectionner_adherent(<?= $idAdh ?>,'<?= $noAdh ?>'); afficher_adherent_id();">
<i class="fas fa-user-edit text-primary"></i>
</button>
<?php if(!$estsupprimable): ?>
<?php if ($superUser == "1"): ?>
<button class="btn btn-white border-0" title="<?= _("Désarchiver") ?>" onClick="de_archiver_adherent('<?= $idAdh ?>'); event.stopPropagation();">
<i class="fas fa-box-open text-warning"></i>
</button>
<?php endif; ?>
<?php else: ?>
<button class="btn btn-white border-0 border-start" title="<?= _("Archiver") ?>" onClick="archiver_adherent('<?= $idAdh ?>'); event.stopPropagation();">
<i class="fas fa-archive text-info"></i>
</button>
<button class="btn btn-white border-0 border-start text-danger" title="<?= _("Supprimer") ?>" onClick="supprimer_adherent_id('<?= $idAdh ?>'); event.stopPropagation();">
<i class="fas fa-trash"></i>
</button>
<?php endif; ?>
</div>
</td>
</tr>