This commit is contained in:
KONE SOREL 2026-04-08 15:07:28 +00:00
parent c9a74bf9a5
commit 398936c345
2 changed files with 26 additions and 20 deletions

View File

@ -747,13 +747,8 @@ class Garantiesbaremepriseencharge extends Modele {
public function getActesGarantieBaremeInitial($idBaremePriseEnCharge,$codeGarantie)
{
$sql = "SELECT a.*, b.libelle, b.libelleEng
FROM actesbaremeinitial a
JOIN p_acte b ON (a.codeActe=b.codeActe)
WHERE a.codeGarantie = ?
AND a.idBaremePriseEnCharge = ?
ORDER BY b.libelle, a.dateEffet DESC, a.id desc;";
$sql = "CALL sp_get_actes_garantie_bareme_initial(?, ?);";
$resultat = $this->executerRequete($sql, array($codeGarantie,$idBaremePriseEnCharge));

View File

@ -7,16 +7,16 @@
<table class="table table-sm table-hover align-middle mb-0" style="font-size: 0.8rem;">
<thead class="table-light">
<tr class="text-center small fw-bold text-uppercase">
<th rowspan="2" class="border-end bg-white" style="min-width: 150px;"><?= _("Libellé Acte") ?></th>
<th rowspan="2" class="border-end"><?= _("Effet") ?></th>
<th colspan="4" class="bg-primary bg-opacity-10 text-primary border-bottom border-primary"><?= _("Plafonds Famille") ?></th>
<th colspan="4" class="bg-dark bg-opacity-10 text-dark border-bottom border-dark"><?= _("Plafonds Bénéficiaire") ?></th>
<th rowspan="2" class="border-start"><?= _("Remboursement") ?></th>
<th rowspan="2" class="border-end bg-white text-center" style="min-width: 150px;"><?= _("Libellé Acte") ?></th>
<th rowspan="2" class="border-end text-center"><?= _("Effet") ?></th>
<th colspan="4" class="bg-primary bg-opacity-10 text-primary border-bottom border-primary text-center"><?= _("Plafonds Famille") ?></th>
<th colspan="4" class="bg-dark bg-opacity-10 text-dark border-bottom border-dark text-center"><?= _("Plafonds Bénéficiaire") ?></th>
<th rowspan="2" class="border-start text-center"><?= _("Remboursement") ?></th>
<th rowspan="2"><?= _("Carence") ?></th>
<th colspan="2" class="bg-light border-bottom"><?= _("TM / Forfait") ?></th>
<th colspan="2" class="bg-light border-bottom"><?= _("Âges") ?></th>
<th rowspan="2"><?= _("Actif") ?></th>
<th rowspan="2" class="bg-white"><?= _("Suppr") ?></th>
<th colspan="2" class="bg-light border-bottom text-center"><?= _("TM / Forfait") ?></th>
<th colspan="2" class="bg-light border-bottom text-center"><?= _("Âges") ?></th>
<th rowspan="2" class="text-center"><?= _("Actif") ?></th>
<th rowspan="2" class="bg-white text-center"><?= _("Suppr") ?></th>
</tr>
<tr class="text-center small bg-light-subtle" style="font-size: 0.7rem;">
<th class="border-start"><?= _("Plafond") ?></th>
@ -36,10 +36,21 @@
<tbody>
<?php foreach ($actes as $v):
$idActe = $this->nettoyer($v['id']);
$supprime = $v['supprime'];
$libelle = est_anglophone() ? $this->nettoyer($v['libelleEng']) : $this->nettoyer($v['libelle']);
$isActif = ($this->nettoyer($v['actif']) == "1");
$idActe = $this->nettoyer($v['id']);
$supprime = $v['supprime'];
$libelle = est_anglophone() ? $this->nettoyer($v['libelleEng']) : $this->nettoyer($v['libelle']);
$isActif = ($this->nettoyer($v['actif']) == "1");
$plafondFamille = ($this->nettoyer($v['forfaitPlafondFamille'])=="9999999999") ? _("Illimité"): format_N($this->nettoyer($v['forfaitPlafondFamille']));
$transacFamille = ($this->nettoyer($v['nbreTransactionFamille'])=="999") ? _("Illimité"): format_N($this->nettoyer($v['nbreTransactionFamille']));
$plafond = ($this->nettoyer($v['forfaitPlafond'])=="9999999999") ? _("Illimité"): format_N($this->nettoyer($v['forfaitPlafond']));
$transac = ($this->nettoyer($v['nbreTransaction'])=="999") ? _("Illimité"): format_N($this->nettoyer($v['nbreTransaction']));
$periodicitePlafondFamille = est_anglophone() ? $this->nettoyer($v['periodicitePlafondFamilleEng']) : $this->nettoyer($v['periodicitePlafondFamille']);
$periodiciteFamille = est_anglophone() ? $this->nettoyer($v['periodiciteFamilleEng']) : $this->nettoyer($v['periodiciteFamille']);
$periodicitePlafond = est_anglophone() ? $this->nettoyer($v['periodicitePlafondEng']) : $this->nettoyer($v['periodicitePlafond']);
$periodicite = est_anglophone() ? $this->nettoyer($v['periodiciteEng']) : $this->nettoyer($v['periodicite']);
?>
<tr class="<?= ($supprime == '1') ? 'table-danger opacity-50' : ''; ?>">