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->carte->revoquer_carte($idHtagcarte, $motifRevocation);
|
||||||
|
|
||||||
$this->executerAction("index");
|
// $this->executerAction("index");
|
||||||
// $this->rediriger("Htagcarte");
|
$this->rediriger("Htagcarte");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -16,17 +16,6 @@
|
||||||
<?php foreach ($htagcartes as $v):
|
<?php foreach ($htagcartes as $v):
|
||||||
$idHtagcarte = $this->nettoyer($v['idHtagcarte']);
|
$idHtagcarte = $this->nettoyer($v['idHtagcarte']);
|
||||||
?>
|
?>
|
||||||
<!--
|
|
||||||
nomBeneficiaire
|
|
||||||
prenomsBene0ficiaire
|
|
||||||
numeroBeneficiaire
|
|
||||||
dateSysteme
|
|
||||||
enCours
|
|
||||||
userRevocation
|
|
||||||
dateRevocation
|
|
||||||
motifRevocation
|
|
||||||
-->
|
|
||||||
|
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<td align='center'><?= $this->nettoyer($v['nomBeneficiaire']) ?></td>
|
<td align='center'><?= $this->nettoyer($v['nomBeneficiaire']) ?></td>
|
||||||
<td align='center'><?= $this->nettoyer($v['prenomsBeneficiaire']) ?></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'><?= $this->nettoyer($v['userRevocation']) ?></td>
|
||||||
<td align='center'><?= dateheureLang($this->nettoyer($v['dateRevocation'])) ?></td>
|
<td align='center'><?= dateheureLang($this->nettoyer($v['dateRevocation'])) ?></td>
|
||||||
<td align='center'><?= $this->nettoyer($v['motifRevocation']) ?></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>
|
</tr>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user