diff --git a/Js/fonctions.js b/Js/fonctions.js index 7a534b47..646f4405 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -62448,146 +62448,147 @@ function intit_saisie_garantiebareme() // 23-02-20233 -function actualiser_bareme_garantie_lienparente() -{ - codeGarantie = $("#codeGarantie").val(); - idBaremePriseEnCharge = $("#idBaremePriseEnCharge").val(); - - - - donnees = 'codeGarantie='+codeGarantie; - donnees += '&idBaremePriseEnCharge='+idBaremePriseEnCharge; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxinsererbaremegarantielienparente/", - type : 'post', - data: donnees, - error: function(errorData){ - //alert("Erreur : "+errorData); - }, - success: function(data) { - //alert("Success : "+data); - $('#div_garanties_bareme_lienparente').html(data); - - - }, - complete: function() { - - } - }); - +/** + * Actualise la liste de l'historique des liens de parenté pour la garantie sélectionnée + */ +function actualiser_bareme_garantie_lienparente() { + // 1. Récupération des paramètres + const racineWeb = $("#racineWeb").val(); + const codeLangue = $("#codeLangue").val(); + const $conteneurHistorique = $('#div_garanties_bareme_lienparente'); + + const donnees = { + codeGarantie: $("#codeGarantie").val(), + idBaremePriseEnCharge: $("#idBaremePriseEnCharge").val() + }; + + // 2. Feedback visuel avant l'appel (SaaS UX) + $conteneurHistorique.html(` +
| = _("Effet") ?> | -= _("Lien Parenté") ?> | -= _("Plafond") ?> | -= _("Périodicité") ?> | -= _("Nb Transac") ?> | -= _("Périodicité") ?> | - -= _("Remboursement") ?> | - -= _("Carence") ?> | -= _("TM") ?> | -= _("Age") ?> | -= _("Actif") ?> | -= _("Suppr") ?> | -|||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| = _("Taux") ?> | -= _("Forfait") ?> | - -= _("Min") ?> | -= _("Max") ?> | -|||||||||||
| = datefr($this->nettoyer($v['dateEffet'])); ?> | -= $this->nettoyer($v['codeLienParente']);?> | -= 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['delaiCarenceFamilleActe']);?> | -= $this->nettoyer($v['ticketModerateur']);?> | -= format_N($this->nettoyer($v['forfaitTm']));?> | -= $this->nettoyer($v['ageMinimum']);?> | -= $this->nettoyer($v['ageMaximum']);?> | -= $actif;?> | - -- - | - -- - |
| = _("Effet") ?> | += _("Lien Parenté") ?> | += _("Plafonds & Quotas") ?> | += _("Remboursement") ?> | += _("Carence") ?> | += _("TM / Forfait") ?> | += _("Âges") ?> | += _("Actif") ?> | += _("Action") ?> | +|||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| = _("Montant") ?> | += _("Pér. M") ?> | += _("Nb Trans") ?> | += _("Pér. T") ?> | + += _("Taux %") ?> | += _("Montant") ?> | + += _("Min") ?> | += _("Max") ?> | +||||||
| = datefr($this->nettoyer($v['dateEffet'])); ?> | ++ + = $this->nettoyer($v['codeLienParente']);?> + + | + += 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['delaiCarenceFamilleActe']);?> m | + += $this->nettoyer($v['ticketModerateur']);?> % | += format_N($this->nettoyer($v['forfaitTm']));?> | + += $this->nettoyer($v['ageMinimum']);?> | += $this->nettoyer($v['ageMaximum']);?> | + ++ + + + + + | + ++ + + + = _("Supprimé") ?> + + | +
= _("Aucune ligne d'historique (Lien de Parenté sur Garantie)") ?>
+