gfh
This commit is contained in:
parent
ee7f39ac1d
commit
f79de16ea7
|
|
@ -20942,20 +20942,28 @@ function maj_paramfacturegarant()
|
|||
donnees += '&nbAdherent='+nbAdherent;
|
||||
donnees += '&nbBeneficiaire='+nbBeneficiaire;
|
||||
|
||||
$.ajax({
|
||||
url: $("#racineWeb").val()+"Ajaxgcassureur/majparamfacturegarant/",
|
||||
type : 'post',
|
||||
data: donnees,
|
||||
error: function(errorData) {
|
||||
},
|
||||
success: function(data) {
|
||||
v_msg="Confirmez-vous cette action ?";
|
||||
v_msgEng="Do you confirm this action?";
|
||||
|
||||
},
|
||||
complete: function() {
|
||||
// retour_fiche_garant();
|
||||
consulter_param_fact_garant();
|
||||
}
|
||||
});
|
||||
confirm_ebene(v_msg, v_msgEng)
|
||||
.then((isConfirmed) => {
|
||||
if (isConfirmed) {
|
||||
$.ajax({
|
||||
url: $("#racineWeb").val()+"Ajaxgcassureur/majparamfacturegarant/",
|
||||
type : 'post',
|
||||
data: donnees,
|
||||
error: function(errorData) {
|
||||
},
|
||||
success: function(data) {
|
||||
|
||||
},
|
||||
complete: function() {
|
||||
// retour_fiche_garant();
|
||||
consulter_param_fact_garant();
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -5,14 +5,35 @@
|
|||
?>
|
||||
|
||||
<div class="page-content animate__animated animate__fadeIn">
|
||||
<div class="header-section mb-4">
|
||||
<div class="header-section mb-1">
|
||||
<div class="d-flex align-items-center bg-white p-3 shadow-sm border-start border-warning border-4" style="border-radius: var(--radius-md);">
|
||||
<div class="icon-shape bg-warning-light text-warning rounded-circle me-3" style="width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;">
|
||||
<i class="fas fa-edit fs-4"></i>
|
||||
</div>
|
||||
<div>
|
||||
<h4 id="titre-page" class="mb-0 fw-bold text-uppercase"><?= _("Modification Paramètres Facturation Garant") ?></h4>
|
||||
<p class="text-muted small mb-0"><?= _("Garant :") ?> <span class="fw-bold text-dark"><?= $this->nettoyer($gc['libelle']) ?></span></p>
|
||||
<p class="text-muted small mb-0"><?= _("Garant :") ?> <span class="fw-bold text-muted"><?= $this->nettoyer($gc['libelle']) ?></span></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="d-flex align-items-center justify-content-between bg-white p-3 shadow border-start border-warning border-4" style="border-radius: var(--radius-md);">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="icon-shape bg-warning-light text-warning rounded-circle me-3" style="width: 45px; height: 45px; display: flex; align-items: center; justify-content: center;">
|
||||
<i class="fas fa-edit fs-4"></i>
|
||||
</div>
|
||||
<div>
|
||||
<h4 id="titre-page" class="mb-0 fw-bold text-uppercase"><?= _("Modification Paramètres Facturation Garant") ?></h4>
|
||||
<p class="text-muted small mb-0"><?= _("Garant :") ?> <span class="fw-bold text-muted"><?= $this->nettoyer($gc['libelle']) ?></span></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="d-flex gap-2">
|
||||
<button type="button" class="btn btn-light rounded-pill px-3 fw-bold text-muted border shadow-sm btn-sm" onclick="consulter_param_fact_garant();">
|
||||
<i class="fas fa-times me-1"></i> <?= _("Annuler") ?>
|
||||
</button>
|
||||
<button type="button" id="btn_enreg" class="btn btn-warning rounded-pill px-4 fw-bold shadow-sm btn-sm" onclick="maj_paramfacturegarant();">
|
||||
<i class="fas fa-save me-1"></i> <?= _("Mettre à jour") ?>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -167,20 +188,6 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-12 mb-5">
|
||||
<div class="card border-0 shadow-sm bg-light">
|
||||
<div class="card-body d-flex justify-content-end gap-2 py-3">
|
||||
<button type="button" class="btn btn-light rounded-pill px-4 fw-bold text-muted border shadow-xs" onClick="consulter_param_fact_garant();">
|
||||
<i class="fas fa-times me-2"></i> <?= _("Annuler") ?>
|
||||
</button>
|
||||
<button type="button" id="btn_enreg" class="btn btn-warning rounded-pill px-5 fw-bold shadow-sm" onClick="maj_paramfacturegarant();">
|
||||
<i class="fas fa-save me-2"></i> <?= _("Enregistrer les modifications") ?>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user