This commit is contained in:
KONE SOREL 2026-01-05 20:13:05 +00:00
parent 880ae9af75
commit f467e8f4c2

View File

@ -1,7 +1,7 @@
<?php
$etatPolice = $this->nettoyer($police['etatPolice']);
$codeEtat = $this->nettoyer($police['codeEtatPolice']);
var_dump($codeEtat);
?>
<div id="div_liste_adherent" class="container-fluid py-1 animate__animated animate__fadeIn">
<input type="hidden" id="etape2" value="<?= $fichierimport['etape2'] ?>">
@ -22,9 +22,9 @@
</div>
<div class="col-md-2 text-center border-start">
<h6 class="text-muted small fw-bold mb-1 text-uppercase"><?= _("État") ?></h6>
<?php if($etatPolice == "EC"):?>
<?php if($codeEtat == "EC"):?>
<span class="badge bg-success px-3"><?= $etatPolice ?></span>
<?php elseif($etatPolice == "SU"):?>
<?php elseif($codeEtat == "SU"):?>
<span class="badge bg-warning px-3"><?= $etatPolice ?></span>
<?php else:?>
<span class="badge bg-danger px-3"><?= $etatPolice ?></span>