diff --git a/Js/fonctions.js b/Js/fonctions.js index 3945f3ea..7a580f72 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -62623,151 +62623,154 @@ function intit_saisie_garantiebareme_lienparente() } -function actualiser_bareme_acte() -{ - codeGarantie = $("#codeGarantie").val(); - idBaremePriseEnCharge = $("#idBaremePriseEnCharge").val(); - - - donnees = 'codeGarantie='+codeGarantie; - donnees += '&idBaremePriseEnCharge='+idBaremePriseEnCharge; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxinsererbaremeacte/", - type : 'post', - data: donnees, - error: function(errorData){ - //alert("Erreur : "+errorData); - }, - success: function(data) { - //alert("Success : "+data); - $('#div_actes_bareme').html(data); - - - }, - complete: function() { - - } - }); - +/** + * Actualise l'historique des règles spécifiques par acte + */ +function actualiser_bareme_acte() { + // 1. Initialisation des variables + const racineWeb = $("#racineWeb").val(); + const codeLangue = $("#codeLangue").val(); + const $conteneurHistorique = $('#div_actes_bareme'); + + const donnees = { + codeGarantie: $("#codeGarantie").val(), + idBaremePriseEnCharge: $("#idBaremePriseEnCharge").val() + }; + + // 2. Feedback visuel (SaaS UX) + // On affiche un spinner discret pour indiquer le rafraîchissement de la table + $conteneurHistorique.html(` +
| = _("Libellé Acte") ?> | += _("Effet") ?> | += _("Plafonds Famille") ?> | += _("Plafonds Bénéficiaire") ?> | += _("Remboursement") ?> | += _("Carence") ?> | += _("TM / Forfait") ?> | += _("Âges") ?> | += _("Actif") ?> | += _("Suppr") ?> | +|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| = _("Plafond") ?> | += _("Fréq. Plafond") ?> | += _("Quota") ?> | += _("Fréq. Quota") ?> | += _("Plafond") ?> | += _("Fréq. Plafond") ?> | += _("Quota") ?> | += _("Fréq. Quota") ?> | += _("Taux %") ?> | += _("Montant") ?> | += _("Min") ?> | += _("Max") ?> | +|||||||||||||||||||||||||||||||||||||||||||||||||||||||
| = $libelle ?> | += datefr($this->nettoyer($v['dateEffet'])); ?> | + += format_N($this->nettoyer($v['forfaitPlafondFamille'])); ?> | += $this->nettoyer($v['codePeriodicitePlafondFamille']);?> | += $this->nettoyer($v['nbreTransactionFamille']);?> | += $this->nettoyer($v['codePeriodiciteFamille']);?> | + += format_N($this->nettoyer($v['forfaitPlafond']));?> | += $this->nettoyer($v['codePeriodicitePlafond']);?> | += $this->nettoyer($v['nbreTransaction']);?> | += $this->nettoyer($v['codePeriodicite']); ?> | + += $this->nettoyer($v['codeTypeRemboursement']); ?> | += $this->nettoyer($v['delaiCarenceActe']);?>m | += $this->nettoyer($v['ticketModerateur']);?>% | += format_N($this->nettoyer($v['forfaitTm']));?> | + += $this->nettoyer($v['ageMinimum']);?> | += $this->nettoyer($v['ageMaximum']);?> | ++ + | -||||||||||||||||||||||||||||||||||||||||||||||||||
| = _("Libellé") ?> | -= _("Effet") ?> | -= _("Famille") ?> | -= _("Bénéficiaire") ?> | -= _("Remboursement") ?> | -= _("Carence") ?> | -= _("TM") ?> | -= _("Age") ?> | -= _("Actif") ?> | -= _("Suppr") ?> | -|||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| = _("Plafond") ?> | -= _("Périodicité") ?> | -= _("Nb Transac") ?> | -= _("Périodicité") ?> | - -= _("Plafond") ?> | -= _("Périodicité") ?> | -= _("Nb Transac") ?> | -= _("Périodicité") ?> | - -= _("Taux") ?> | -= _("Forfait") ?> | - -= _("Min") ?> | -= _("Max") ?> | -|||||||
| = $libelle ?> | -= datefr($this->nettoyer($v['dateEffet'])); ?> | -= format_N($this->nettoyer($v['forfaitPlafondFamille'])); ?> | -= $this->nettoyer($v['codePeriodicitePlafondFamille']);?> | -= $this->nettoyer($v['nbreTransactionFamille']);?> | -= $this->nettoyer($v['codePeriodiciteFamille']);?> | -= format_N($this->nettoyer($v['forfaitPlafond']));?> | -= $this->nettoyer($v['codePeriodicitePlafond']);?> | -= $this->nettoyer($v['nbreTransaction']);?> | -= $this->nettoyer($v['codePeriodicite']); ?> | - -= $this->nettoyer($v['codeTypeRemboursement']); ?> | - -= $this->nettoyer($v['delaiCarenceActe']);?> | -= $this->nettoyer($v['ticketModerateur']);?> | -= format_N($this->nettoyer($v['forfaitTm']));?> | -= $this->nettoyer($v['ageMinimum']);?> | -= $this->nettoyer($v['ageMaximum']);?> | -= $actif;?> | - -- - | - -- - |
= _("Aucun acte paramétré dans l'historique.") ?>
+