This commit is contained in:
KONE SOREL 2025-12-25 00:39:57 +00:00
parent 1f0c579d1f
commit ca9c5498c4

View File

@ -54,9 +54,9 @@
</div>
<div class="sub-item">
<span><?= _('Rapport S/P') ?> :</span>
<?php if($kpis["rapportSp"] > 65):?>
<?php if($kpis["rapportSp"] > 65 && $kpis["rapportSp"] <= 80):?>
<strong class="text-warning"><?= $kpis["rapportSp"].'%' ?></strong>
<?php elseif($kpis["rapportSp"] > 80 && $kpis["rapportSp"] <= 100):?>
<?php elseif($kpis["rapportSp"] > 80):?>
<strong class="text-danger"><?= $kpis["rapportSp"].'%' ?></strong>
<?php else:?>
<strong class="text-primary"><?= $kpis["rapportSp"].'%' ?></strong>
@ -111,9 +111,9 @@
<td align='center'><?= format_N($this->nettoyer($police['primeNetteStat'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($police['montantApayer'])) ?></td>
<?php if($police["rapportSp"] > 65):?>
<?php if($police["rapportSp"] > 65 && $police["rapportSp"] <= 80):?>
<td align='center' class="text-warning"><?= $police["rapportSp"].'%' ?></td>
<?php elseif($police["rapportSp"] > 80 && $police["rapportSp"] <= 100):?>
<?php elseif($police["rapportSp"] > 80):?>
<td align='center' class="text-danger"><?= $police["rapportSp"].'%' ?></td>
<?php else:?>
<td align='center' class="text-primary"><?= $police["rapportSp"].'%' ?></td>