This commit is contained in:
KONE SOREL 2026-04-11 16:13:59 +00:00
parent c79f00014d
commit f0d1f7659f

View File

@ -18,7 +18,7 @@
<label class="form-label small fw-bold text-muted"><?= _("Type Contrat") ?></label>
<div class="input-group">
<span class="input-group-text bg-light text-muted"><i class="fas fa-lock"></i></span>
<select class="form-select text-center bg-light" disabled>
<select class="form-select text-center bg-light border-2 border-start-0" disabled>
<?php liste_options($typecontrat, $this->nettoyer($bareme['codeTypeContrat']), true); ?>
</select>
</div>
@ -27,7 +27,7 @@
<div class="col-md-4">
<label class="form-label small fw-bold text-muted"><?= _("Prime Mini") ?></label>
<div class="input-group">
<span class="input-group-text bg-light"><i class="fas fa-arrow-down text-muted"></i></span>
<span class="input-group-text bg-light border-2 border-start-0"><i class="fas fa-arrow-down text-muted"></i></span>
<input class="form-control text-center bg-light" type="text" disabled value="<?= format_N($this->nettoyer($bareme['primeMin'])); ?>">
</div>
</div>
@ -36,7 +36,7 @@
<label class="form-label small fw-bold text-warning required"><?= _("Forfait") ?></label>
<div class="input-group">
<span class="input-group-text bg-warning-light text-warning"><i class="fas fa-money-bill-wave"></i></span>
<input class="form-control text-center fw-bold border-warning" type="text" id="accessoireForfait" name="accessoireForfait" value="<?= $bareme['accessoireForfait']; ?>" onkeyup="controle_numerique(this);" onblur="formatMonetaire(this);">
<input class="form-control text-center fw-bold border-2 border-start-0" type="text" id="accessoireForfait" name="accessoireForfait" value="<?= $bareme['accessoireForfait']; ?>" onkeyup="controle_numerique(this);" onblur="formatMonetaire(this);">
</div>
</div>
</div>
@ -46,7 +46,7 @@
<label class="form-label small fw-bold text-muted"><?= _("Application") ?></label>
<div class="input-group">
<span class="input-group-text bg-light text-muted"><i class="fas fa-lock"></i></span>
<select class="form-select text-center bg-light" disabled>
<select class="form-select text-center bg-light border-2 border-start-0" disabled>
<?php liste_options($application, $this->nettoyer($bareme['codeApplication']), true); ?>
</select>
</div>
@ -56,7 +56,7 @@
<label class="form-label small fw-bold text-muted"><?= _("Prime Maxi") ?></label>
<div class="input-group">
<span class="input-group-text bg-light"><i class="fas fa-arrow-up text-muted"></i></span>
<input class="form-control text-center bg-light" type="text" disabled value="<?= format_N($this->nettoyer($bareme['primeMax'])); ?>">
<input class="form-control text-center bg-light border-2 border-start-0" type="text" disabled value="<?= format_N($this->nettoyer($bareme['primeMax'])); ?>">
</div>
</div>
@ -64,32 +64,10 @@
<label class="form-label small fw-bold text-warning"><?= _("Taux (%)") ?></label>
<div class="input-group">
<span class="input-group-text bg-warning-light text-warning"><i class="fas fa-percentage"></i></span>
<input class="form-control text-center fw-bold border-warning" type="number" step="0.01" id="tauxAccessoire" min="0" name="tauxAccessoire" value="<?= number_format($bareme['tauxAccessoire'], 2); ?>" onBlur="controle_numerique(this);">
<input class="form-control text-center fw-bold border-2 border-start-0" type="number" step="0.01" id="tauxAccessoire" min="0" name="tauxAccessoire" value="<?= number_format($bareme['tauxAccessoire'], 2); ?>" onBlur="controle_numerique(this);">
</div>
</div>
</div>
</form>
</div>
</div>
<style>
.bg-warning-light {
background-color: rgba(255, 193, 7, 0.1);
}
.form-control:disabled, .form-select:disabled {
cursor: not-allowed;
background-color: #f8f9fa !important;
color: #6c757d !important;
border-color: #e9ecef;
}
.border-warning {
border-color: #ffc107 !important;
}
/* Focus spécifique pour les champs de modification */
.border-warning:focus {
box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.15);
}
</style>
</div>