From f4f2228d1167fd6bdb745ef820e0488d1754fafb Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Thu, 9 Apr 2026 17:25:14 +0000 Subject: [PATCH] detyu --- Js/fonctions.js | 10 ++++++---- Vue/Ajaxlistegarantsparametrage/index.php | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index 00d8928c..1ee57143 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -46766,6 +46766,8 @@ function afficher_liste_garants() { const libelle = $("#libelle").val(); const codeGcAssureur = $("#codeGcAssureur").val(); const racineWeb = $("#racineWeb").val(); + const lang = $("#codeLangue").val(); + // 2. Préparation des données (Objet propre) const donnees = { @@ -46793,12 +46795,12 @@ function afficher_liste_garants() { success: function(data) { // Injection des résultats $("#div_gcs").html(data); + + let $titre = (lang == 'en_US') ? 'Filtered List of Guarantors' : 'Liste Filtrée de Garants'; // Initialisation DataTables Standard Neutral Pro - if (typeof initDataTableReference === 'function') { - initDataTableReference('#tableGarants', 'Liste_Garants'); - } else if (typeof dataTableSpeciale === 'function') { - dataTableSpeciale(); + if (typeof initSmartTable === 'function') { + initSmartTable('#tableGarants', $titre, false); } // Mise à jour du compteur (Badge dynamique au lieu de l'input) diff --git a/Vue/Ajaxlistegarantsparametrage/index.php b/Vue/Ajaxlistegarantsparametrage/index.php index 39eed795..a71b4bfc 100755 --- a/Vue/Ajaxlistegarantsparametrage/index.php +++ b/Vue/Ajaxlistegarantsparametrage/index.php @@ -6,7 +6,7 @@
- +
1) ? _("Lignes") : _("Ligne") ?>