fd
This commit is contained in:
parent
429cb59f51
commit
c3752374d0
|
|
@ -98,25 +98,28 @@
|
|||
$bgStatus = "bg-success";
|
||||
$iconStatus = "fa-check-double";
|
||||
$status = _("Validée");
|
||||
$colorText = "text-light";
|
||||
break;
|
||||
|
||||
case "2":
|
||||
$bgStatus = "bg-warning";
|
||||
$iconStatus = "fa-hourglass-half";
|
||||
$status = _("En attente");
|
||||
$colorText = "text-dark";
|
||||
break;
|
||||
|
||||
default:
|
||||
$bgStatus = "bg-danger";
|
||||
$iconStatus = "fa-ban";
|
||||
$status = _("Refusée");
|
||||
$colorText = "text-light";
|
||||
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 text-dark"><?= _("Validé le") ?> <?= dateLang($demande['dateValidationRh']) ?></small>
|
||||
<small class="opacity-75 <?= $colorText ?>"><?= _("Validé le") ?> <?= dateLang($demande['dateValidationRh'], $_SESSION['lang']) ?></small>
|
||||
</div>
|
||||
|
||||
<div class="p-3 bg-light">
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user