a
This commit is contained in:
parent
223e70c867
commit
c065a2d282
|
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user