production/Vue/Ajaxactivationprestataire/historique.php
2025-12-01 16:12:12 +00:00

30 lines
1.1 KiB
PHP
Executable File

<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:10pt;">
<thead>
<tr>
<th style='text-align:center' width="15%"> Date </th>
<th style='text-align:center'> <?= _("Motif") ?> </th>
<th style='text-align:center' width="15%"> <?= _("Responsable") ?> </th>
<th style='text-align:center' width="8%"> <?= _("Ancien Etat") ?> </th>
</tr>
</thead>
<tbody>
<?php foreach ($historiques as $v):
$ancEtat = $v['ancEtat'];
?>
<tr valign="top">
<td align='center'><?= dateheureLang($this->nettoyer($v['dateSysteme'])) ?></td>
<td ><textarea style='font-size:10pt;' rows="10" class="form-control" disabled><?= $this->nettoyer($v['motif']) ?></textarea></td>
<td align='center'><?= $this->nettoyer($v['codeUtilisateur']) ?></td>
<td align='center'>
<?php if ($ancEtat=="1"): ?>
<span class="badge bg-primary"><?= _("Activé") ?></span>
<?php else: ?>
<span class="badge bg-danger"><?= _("Désactivé") ?></span>
<?php endif; ?>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>