This commit is contained in:
KANE LAZENI 2026-02-18 12:12:35 +00:00
parent 223e70c867
commit c065a2d282
2 changed files with 7 additions and 14 deletions

View File

@ -29,7 +29,7 @@ class ControleurHtagcarte extends Controleur {
$this->carte->revoquer_carte($idHtagcarte, $motifRevocation);
$this->executerAction("index");
// $this->rediriger("Htagcarte");
// $this->executerAction("index");
$this->rediriger("Htagcarte");
}
}

View File

@ -16,17 +16,6 @@
<?php foreach ($htagcartes as $v):
$idHtagcarte = $this->nettoyer($v['idHtagcarte']);
?>
<!--
nomBeneficiaire
prenomsBene0ficiaire
numeroBeneficiaire
dateSysteme
enCours
userRevocation
dateRevocation
motifRevocation
-->
<tr valign="top">
<td align='center'><?= $this->nettoyer($v['nomBeneficiaire']) ?></td>
<td align='center'><?= $this->nettoyer($v['prenomsBeneficiaire']) ?></td>
@ -38,7 +27,11 @@ motifRevocation
<td align='center'><?= $this->nettoyer($v['userRevocation']) ?></td>
<td align='center'><?= dateheureLang($this->nettoyer($v['dateRevocation'])) ?></td>
<td align='center'><?= $this->nettoyer($v['motifRevocation']) ?></td>
<td> <button type="button" class="form-control btn btn-primary" onclick="javascript:init_revoquer_htagcarte(<?= $idHtagcarte ?>);"> <?= _("Révoquer") ?> </button> </td>
<td>
<?php if ($v['idHtagcarte']=="1"): ?>
<button type="button" class="form-control btn btn-primary" onclick="javascript:init_revoquer_htagcarte(<?= $idHtagcarte ?>);"> <?= _("Révoquer") ?> </button>
<?php endif; ?>
</td>
</tr>
<?php endforeach; ?>
</tbody>