This commit is contained in:
KONE SOREL 2026-03-19 08:39:33 +00:00
parent 40c605633c
commit 92d65b9029
2 changed files with 10 additions and 13 deletions

View File

@ -63642,13 +63642,15 @@ function afficherDetailBareme()
if(masquerBareme=="1"){
$('#div_bareme').hide();
$("#masquerBareme").val("0");
$("#span_bareme").text("[+]");
//$("#span_bareme").text("[+]");
document.getElementById("span_bareme").className = "fa fa-chevron-down";
}else{
$('#div_bareme').show();
$("#masquerBareme").val("1");
//$("#dateEffetGarantie").focus();
$("#span_bareme").text("[-]");
//$("#span_bareme").text("[-]");
document.getElementById("span_bareme").className = "fa fa-chevron-up";
init_saisie_detailbareme();
actualiser_detailbareme();

View File

@ -5,7 +5,7 @@
?>
<div class="page-content animate__animated animate__fadeIn">
<div class="header-section sticky-top mb-4">
<div class="header-section sticky-top mb-1">
<div class="d-flex align-items-center justify-content-between bg-white p-3 shadow-sm border-start border-primary border-4" style="border-radius: var(--radius-md);">
<div class="d-flex align-items-center">
<div class="icon-shape bg-primary-ghost text-primary rounded-circle me-3" style="width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;">
@ -16,11 +16,6 @@
<p class="text-muted small mb-0"><?= _("Désignation :") ?> <span class="fw-bold text-primary"><?= $libelleBareme ?></span></p>
</div>
</div>
<div class="d-flex gap-2">
<button type="button" class="btn btn-light border rounded-pill px-3 fw-bold shadow-xs" onclick="retour_liste_bareme();">
<i class="fas fa-arrow-left me-1"></i> <?= _("Retour") ?>
</button>
</div>
</div>
</div>
@ -30,11 +25,11 @@
<input type="hidden" id="masquerBareme" name="masquerBareme" value="1">
<input type="hidden" id="maxDateEffetBareme" name="maxDateEffetBareme" value="<?= $maxDateEffetBareme ?>">
<div class="row g-4">
<div class="row g-2">
<div class="col-12">
<div class="card border-0 shadow-sm overflow-hidden">
<div class="card-header bg-primary text-white py-2">
<h6 class="mb-0 fw-bold small text-uppercase"><i class="fas fa-globe me-2"></i><?= _("Paramétrage global du barème") ?></h6>
<h6 class="mb-0 fw-bold text-uppercase"><i class="fas fa-globe me-2"></i><?= _("Paramètres applicables à l'ensemble des garanties") ?></h6>
</div>
<div class="card-body p-4 bg-light-subtle">
<div class="row g-3 align-items-end">
@ -66,7 +61,7 @@
</div>
<div class="card-footer bg-white border-top-0 p-0">
<button class="btn btn-light w-100 rounded-0 py-2 fw-bold text-muted border-top" onclick="afficherDetailBareme();">
<i class="fas fa-history me-2"></i><?= _("Afficher l'historique des lignes globales") ?> <span id="span_bareme">[-]</span>
<i class="fas fa-history me-2"></i><?= _("Afficher l'historique des lignes globales") ?> <span id="span_bareme" class="fa fa-chevron-up"></span> <!--<span id="span_bareme">[-]</span>-->
</button>
<div id="div_bareme" class="p-3 border-top" style="display:none;">
</div>
@ -77,8 +72,8 @@
<div class="col-12">
<div class="card border-0 shadow-sm border-top border-primary border-4">
<div class="card-header bg-white py-3 d-flex justify-content-between align-items-center">
<h6 class="mb-0 fw-bold text-primary text-uppercase small">
<i class="fas fa-list-ul me-2"></i><?= _("Paramétrage des garanties du barème") ?>
<h6 class="mb-0 fw-bold text-primary text-uppercase">
<i class="fas fa-list-ul me-2"></i><?= _("Paramètres applicables garantie par garantie") ?>
</h6>
<div id="div_patienter"></div>
</div>