This commit is contained in:
KONE SOREL 2025-12-15 21:07:41 +00:00
parent 83ddbdddd1
commit 34943697a1

View File

@ -386,8 +386,8 @@
</div> </div>
<!-- Affichage mobile (cartes) --> <!-- Affichage mobile (cartes) -->
<div class="d-md-none"> <div class="d-md-none">
<div class="card-header bg-light mt-0 mb-2"> <div class="card-header bg-light mt-0 mb-1">
<h4 class="mb-0 text-primary"> <h4 class="mb-0 text-secondary">
<i class="fas fa-layer-group me-2"></i> <i class="fas fa-layer-group me-2"></i>
<?= _("Section des garanties") ?> <?= _("Section des garanties") ?>
</h4> </h4>
@ -667,6 +667,13 @@
</div> </div>
<!-- Affichage mobile (cartes) --> <!-- Affichage mobile (cartes) -->
<div class="d-md-none"> <div class="d-md-none">
<div class="card-header bg-light mt-0 mb-1">
<h4 class="mb-0 text-secondary">
<i class="fas fa-layer-group me-2"></i>
<?= _("Section des actes plafonnés") ?>
</h4>
</div>
<?php foreach ($actes as $v): <?php foreach ($actes as $v):
$libelle = substr($this->nettoyer($v['libelle']),0,25); $libelle = substr($this->nettoyer($v['libelle']),0,25);
$garantie = $this->nettoyer($v['garantie']); $garantie = $this->nettoyer($v['garantie']);
@ -711,35 +718,41 @@
<div class="align-same-line"> <div class="align-same-line">
<div class="left-content"> <div class="left-content">
<?php if($pourcentConsoFamille>='50' && $pourcentConsoFamille<'80'): ?> <?php if($pourcentConsoFamille>='50' && $pourcentConsoFamille<'80'): ?>
<span class="badge me-2 color-1"><?= $libelle ?></span> <span class="badge me-2 color-1 text-truncate" style="max-width: 150px;"><?= $libelle ?></span>
<?php elseif($pourcentConsoFamille>='80' && $pourcentConsoFamille <'100'): ?> <?php elseif($pourcentConsoFamille>='80' && $pourcentConsoFamille <'100'): ?>
<span class="badge me-2 color-2"><?= $libelle ?></span> <span class="badge me-2 color-2 text-truncate" style="max-width: 150px;"><?= $libelle ?></span>
<?php elseif($pourcentConsoFamille >='100' || $transactionFamille=="1"): ?> <?php elseif($pourcentConsoFamille >='100' || $transactionFamille=="1"): ?>
<a title="<?= _("Plafond ou nombre de transaction atteint pour cet acte.")?>" href="javascript:alert_limite('A');"> <a title="<?= _("Plafond ou nombre de transaction atteint pour cet acte.")?>" href="javascript:alert_limite('A');">
<span class="badge me-2 color-3"><?= $libelle ?></span> <span class="badge me-2 color-3 text-truncate" style="max-width: 150px;"><?= $libelle ?></span>
</a> </a>
<?php else: ?> <?php else: ?>
<span class="badge bg-primary me-2" ><?= $libelle ?></span> <span class="badge bg-primary me-2 text-truncate" style="max-width: 150px;" ><?= $libelle ?></span>
<?php endif; ?> <?php endif; ?>
<strong style="font-size:1.8rem !important;"><?= $taux ?></strong> <strong style="font-size:1.8rem !important;"><?= $taux ?></strong>
</div> </div>
<small class="text-muted exercice"><?= $lienParente ?></small>
</div> </div>
</div> </div>
</div> </div>
<h3 class="text-center mb-1 bg-dark text-light"><?= _("Pour toute la famille")?></h3> <h3 class="text-center mb-1 bg-dark text-light"><?= _("Pour toute la famille")?></h3>
<div class="row mb-2"> <div class="row mb-2">
<div class="col-12">
<div class="d-flex justify-content-between align-items-center">
<span class="text-muted small"><?= _("Lien") ?></span>
<small class="text-muted exercice"><?= $lienParente ?></small>
</div>
</div>
<div class="col-6"> <div class="col-6">
<div class="d-flex justify-content-between align-items-center"> <div class="d-flex justify-content-between align-items-center">
<span class="text-muted small"><?= _("Plafond") ?></span> <span class="text-muted small"><?= _("Plafond") ?></span>
<span class="fw-bold"><?= $plafondFamille ?></span> <span class="fw-bold text-truncate" style="max-width: 100px;"><?= $plafondFamille ?></span>
</div> </div>
</div> </div>
<div class="col-6"> <div class="col-6">
<div class="d-flex justify-content-between align-items-center"> <div class="d-flex justify-content-between align-items-center">
<span class="text-muted small"><?= _("Période") ?></span> <span class="text-muted small"><?= _("Période") ?></span>
<span class="fw-bold text-success"><?= $periodicitePlafondFamille ?></span> <span class="fw-bold text-success text-truncate" style="max-width: 100px;"><?= $periodicitePlafondFamille ?></span>
</div> </div>
</div> </div>
@ -753,7 +766,7 @@
<div class="col-6"> <div class="col-6">
<div class="d-flex justify-content-between align-items-center"> <div class="d-flex justify-content-between align-items-center">
<span class="text-muted small"><?= _("Solde") ?></span> <span class="text-muted small"><?= _("Solde") ?></span>
<span class="fw-bold text-danger"><?= format_N($this->nettoyer($v['soldeActeFamille'])) ?></span> <span class="fw-bold text-danger text-truncate" style="max-width: 100px;"><?= format_N($this->nettoyer($v['soldeActeFamille'])) ?></span>
</div> </div>
</div> </div>
</div> </div>
@ -768,7 +781,7 @@
<div class="col-6 mb-1"> <div class="col-6 mb-1">
<div class="d-flex justify-content-between"> <div class="d-flex justify-content-between">
<span class="text-muted small"><?= _("Période") ?></span> <span class="text-muted small"><?= _("Période") ?></span>
<span><?= $periodiciteFamille ?></span> <span class="text-truncate" style="max-width: 100px;"><?= $periodiciteFamille ?></span>
</div> </div>
</div> </div>
<div class="col-6 mb-1"> <div class="col-6 mb-1">
@ -864,6 +877,12 @@
<div class="accordion-content"> <div class="accordion-content">
<div class="container mt-3"> <div class="container mt-3">
<div class="card-header bg-light mt-0 mb-1">
<h4 class="mb-0 text-secondary">
<i class="fas fa-layer-group me-2"></i>
<?= _("Section des soins") ?>
</h4>
</div>
<div class="form-container"> <div class="form-container">
<div class="form-section"> <div class="form-section">
<div class="form-label"><?= _("Période du") ?></div> <div class="form-label"><?= _("Période du") ?></div>