This commit is contained in:
KONE SOREL 2025-12-24 19:14:04 +00:00
parent 1d1b268ab8
commit 2232e1257f

View File

@ -42,11 +42,11 @@
<div class="sub-item">
<span><?= _('Sinistralité') ?> :</span>
<?php if($kpis["rapportSp"] > 65):?>
<strong text-warning><?= $kpis["rapportSp"].'%' ?></strong>
<strong class="text-warning"><?= $kpis["rapportSp"].'%' ?></strong>
<?php elseif($kpis["rapportSp"] > 80 && $kpis["rapportSp"] <= 100):?>
<strong text-danger><?= $kpis["rapportSp"].'%' ?></strong>
<strong class="text-danger"><?= $kpis["rapportSp"].'%' ?></strong>
<?php else:?>
<strong text-primary><?= $kpis["rapportSp"].'%' ?></strong>
<strong class="text-primary"><?= $kpis["rapportSp"].'%' ?></strong>
<?php endif;?>
</div>
</div>