newdesigngestionnaire/Vue/Trancheage/index.php
2026-03-16 20:35:36 +00:00

64 lines
3.6 KiB
PHP
Executable File

<div class="page-content animate__animated animate__fadeIn">
<div class="header-section mb-4">
<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;">
<i class="fas fa-calendar-alt fs-4"></i>
</div>
<div>
<h4 id="titre-page" class="mb-0 fw-bold text-uppercase"><?= _("Gestion Tranches d'Âge") ?></h4>
<p class="text-muted small mb-0"><?= _("Configuration des segments d'âge par garant") ?></p>
</div>
</div>
</div>
</div>
<div class="card border-0 shadow-sm mb-4">
<div class="card-body p-3 bg-primary-ghost-light">
<div class="row g-3 align-items-center">
<div class="col-md-6">
<label class="form-label small fw-bold text-muted text-uppercase mb-1"><?= _("Garant") ?> <span class="text-danger">*</span></label>
<div class="input-group input-group-sm">
<span class="input-group-text bg-white border-2 border-end-0 text-primary"><i class="fas fa-shield-alt"></i></span>
<select class="form-control selectpicker border-2 border-start-0" data-live-search="true" id="codeGcAssureur" name="codeGcAssureur" onchange="filtreentetetrancheange();" autofocus>
<?php liste_options($garant,""); ?>
</select>
</div>
</div>
<div class="col-md-6">
<label class="form-label small fw-bold text-muted text-uppercase mb-1"><?= _("Type de Tranches d'Âge") ?> <span class="text-danger">*</span></label>
<div id="div_entetetrancheage">
<div class="input-group input-group-sm">
<span class="input-group-text bg-white border-2 border-end-0 text-primary"><i class="fas fa-layer-group"></i></span>
<select class="form-control selectpicker border-2 border-start-0" data-live-search="true" id="codeEnteteTrancheAge" name="codeEnteteTrancheAge" onchange="afficher_trancheage();">
<?php liste_options($entetestrancheage,"",false); ?>
</select>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="div_trancheage" class="animate__animated animate__fadeInUp">
<div class="text-center p-5 bg-white rounded shadow-sm border border-dashed">
<i class="fas fa-mouse-pointer fa-3x text-light mb-3"></i>
<p class="text-muted fw-bold"><?= _("Sélectionnez un garant et un type pour afficher les tranches correspondantes.") ?></p>
</div>
</div>
</div>
<style>
.bg-primary-ghost { background-color: rgba(33, 46, 83, 0.08) !important; }
.bg-primary-ghost-light { background-color: rgba(33, 46, 83, 0.02) !important; }
.border-dashed { border-style: dashed !important; border-width: 2px !important; border-color: #dee2e6 !important; }
/* Harmonisation Selectpicker */
.bootstrap-select > .btn-light {
background-color: #fff !important;
border: 2px solid #dee2e6 !important;
font-size: 10pt !important;
}
</style>