detyu
This commit is contained in:
parent
dc8a6bdc02
commit
f4f2228d11
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<div class="card border-0 shadow-sm overflow-hidden animate__animated animate__fadeIn">
|
||||
<div class="card-header border-bottom bg-light py-3 d-flex justify-content-between align-items-center">
|
||||
<h6 class="mb-0 fw-bold text-primary text-uppercase small">
|
||||
<i class="fas fa-list me-2"></i><?= _("Liste des Garants Recherchés") ?>
|
||||
<i class="fas fa-list me-2"></i><?= _("Liste Filtrée de Garants") ?>
|
||||
</h6>
|
||||
<span class="badge bg-primary-ghost text-primary rounded-pill px-3 py-2 fw-bold" id="badge-total-garants">
|
||||
<?= $nbligne ?> <?= ($nbligne > 1) ? _("Lignes") : _("Ligne") ?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user