This commit is contained in:
KONE SOREL 2026-03-04 21:06:54 +00:00
parent 282be7a959
commit 7c9527ef63

View File

@ -1,34 +1,34 @@
<div class="modal-dialog modal-dialog-centered shadow-lg">
<div class="modal-content border-0" style="border-radius: var(--radius-md);">
<div class="modal-header bg-white border-bottom-0 pb-0 pt-4 px-4 border-start border-warning border-5" style="border-top-left-radius: var(--radius-md);">
<div class="modal-header border-bottom-0 pb-3 pt-4 px-4 border-start border-warning border-5" style="background-color: #212e53; border-top-left-radius: var(--radius-md); border-top-right-radius: var(--radius-md);">
<div class="d-flex align-items-center">
<div class="icon-shape bg-warning-ghost text-warning rounded-circle me-3" style="width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;">
<div class="icon-shape bg-warning text-white rounded-circle me-3" style="width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 4px rgba(0,0,0,0.2);">
<i class="fas fa-edit"></i>
</div>
<div>
<h5 class="modal-title fw-bold text-uppercase text-dark mb-0" style="letter-spacing: -0.5px; font-size: 1.1rem;">
<h5 class="modal-title fw-bold text-uppercase mb-0" style="color: #ffffff !important; letter-spacing: -0.5px; font-size: 1.1rem;">
<?= _("Mise à jour du paramètre") ?>
</h5>
<small class="text-muted"><?= $this->nettoyer($typebon['libelleTypebon']) ?></small>
<small style="color: rgba(255,255,255,0.7);"><?= $this->nettoyer($typebon['libelleTypebon']) ?></small>
</div>
</div>
<button type="button" class="btn-close shadow-none" data-bs-dismiss="modal" aria-label="Close"></button>
<button type="button" class="btn-close btn-close-white shadow-none" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body p-4">
<input class="sr-only" type="text" id="idTypebon" name="idTypebon" value="<?= $this->nettoyer($typebon['idTypebon']) ?>">
<div class="p-3 mb-4 rounded-3 bg-light border border-light">
<div class="p-3 mb-4 rounded-3 bg-light border border-light shadow-sm">
<label class="form-label small fw-bold text-muted text-uppercase mb-2" style="font-size: 0.65rem;"><?= _("Configuration Actuelle") ?></label>
<div class="row g-2 text-center">
<div class="col-6">
<div class="small text-muted mb-1"><?= _("Durée") ?></div>
<div class="fw-bold text-dark"><?= $this->nettoyer($typebon['dureeVie']) ?> Jours</div>
<div class="h5 mb-0 fw-bold text-dark"><?= $this->nettoyer($typebon['dureeVie']) ?> <?= _("Jours") ?></div>
</div>
<div class="col-6 border-start border-white">
<div class="small text-muted mb-1"><?= _("Gestion") ?></div>
<div class="fw-bold text-dark"><?= $this->nettoyer($typebon['libelleTypeGestionBon']) ?></div>
<div class="h5 mb-0 fw-bold text-dark"><?= $this->nettoyer($typebon['libelleTypeGestionBon']) ?></div>
</div>
</div>
</div>
@ -38,7 +38,7 @@
<label class="form-label small fw-bold text-dark required"><?= _("Nouvelle Durée (Jours)") ?></label>
<div class="input-group">
<span class="input-group-text bg-white border-end-0 text-muted"><i class="fas fa-clock small"></i></span>
<input id="dureeVie" name="dureeVie" class="form-control border-start-0 fw-bold border-warning" type="number"
<input id="dureeVie" name="dureeVie" class="form-control border-start-0 fw-bold border-warning shadow-none" type="number"
value="<?= $this->nettoyer($typebon['dureeVie']) ?>"
onChange="this.value=supprimer_espace_nombre(this.value); controle_numerique(this);">
</div>
@ -46,7 +46,7 @@
<div class="col-md-6">
<label class="form-label small fw-bold text-dark required"><?= _("Nouveau Type Gestion") ?></label>
<select class="form-select fw-bold border-warning" id="codeGestionBon" name="codeGestionBon">
<select class="form-select fw-bold border-warning shadow-none" id="codeGestionBon" name="codeGestionBon">
<?php liste_options($typegestion, $typebon['codeGestionBon'], true); ?>
</select>
</div>