This commit is contained in:
KONE SOREL 2026-01-22 14:12:38 +00:00
parent 241e13fdb9
commit 473cb00f50

View File

@ -96,31 +96,31 @@
case "1":
$bgStatus = "bg-success";
$iconStatus = "fa-check-double";
$status = _("Demande validée");
$status = _("Validée");
break;
case "2":
$bgStatus = "bg-warning";
$iconStatus = "fa-hourglass-half";
$status = _("Demande en attente");
$status = _("En attente");
break;
default:
$bgStatus = "bg-danger";
$iconStatus = "fa-ban";
$status = _("Demande refusée");
$status = _("Refusée");
break;
}
?>
<div class="<?= $bgStatus ?> text-white p-3 text-center">
<i class="fas <?= $iconStatus ?> fa-2x mb-2"></i>
<h5 class="mb-0 text-uppercase fw-bold"><?= $status ?></h5>
<small class="opacity-75"><?= _("Répondu le") ?> <?= dateLang($demande['dateValidationRh']) ?></small>
<small class="opacity-75"><?= _("Validé le") ?> <?= dateLang($demande['dateValidationRh']) ?></small>
</div>
<div class="p-3 bg-danger">
<div class="p-3 bg-light">
<label class="small text-muted d-block mb-1"><?= _("Justification de rejet") ?> :</label>
<div class="p-2 bg-light rounded small" style="min-height: 60px; border-left: 3px solid #ccc;">
<div class="p-2 bg-danger rounded small" style="min-height: 60px; border-left: 3px solid #ccc;">
<?= $this->nettoyer($demande['motifRejetRh']) ?>
</div>
</div>