This commit is contained in:
KONE SOREL 2026-04-11 13:55:24 +00:00
parent c2a66a591b
commit b6dbabd25b

View File

@ -1,3 +1,7 @@
<?php
$nbreTotal = count($tabjoursferiers);
$nbreAffiche = ($nbreTotal < 10) ? '0'.$nbreTotal : format_N($nbreTotal);
?>
<div class="card border-0 shadow-sm overflow-hidden" style="border-radius: 12px;">
<div class="card-header bg-light py-3 border-bottom d-flex justify-content-between align-items-center">
<div class="d-flex align-items-center" style="flex: 1;">
@ -5,7 +9,7 @@
<i class="fas fa-calendar-alt me-2"></i><?= _("Calendrier des Jours Fériés") ?>
</h6>
<span class="badge bg-primary-ghost text-primary ms-3 px-3 py-2 rounded-pill fw-bold" id="badge-total">
0 <?= _("Lignes") ?>
<?= $nbreAffiche ?> <?= $nbreTotal > "1" ? _("lignes") : _("ligne") ?>
</span>
</div>