From d3ae92adb93a9235d1a7156bc87f5f6ab95d281a Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Fri, 13 Mar 2026 01:06:42 +0000 Subject: [PATCH 001/487] a --- Framework/Moritio.php | 192 ++++++++++++++++++++++-------------------- 1 file changed, 99 insertions(+), 93 deletions(-) diff --git a/Framework/Moritio.php b/Framework/Moritio.php index a7f9b685..b8e89071 100755 --- a/Framework/Moritio.php +++ b/Framework/Moritio.php @@ -1,95 +1,101 @@ -ionCube')." Loader for PHP needs to be installed.\n\nThe ionCube Loader is the industry standard PHP extension for running protected PHP code,\nand can usually be added easily to a PHP installation.\n\nFor Loaders please visit".($cli?":\n\nhttps://get-loader.ioncube.com\n\nFor":' get-loader.ioncube.com and for')." an instructional video please see".($cli?":\n\nhttp://ioncu.be/LV\n\n":' http://ioncu.be/LV ')."\n\n");exit(199); ?> -HR+cP/Gt+h9O7T+59O5laQX7Uj6HFaYnbCrr2iS3fZfjeRI5TuOphZUBhfUQwBwoZdEsHXMrPrPE -sh5GP52eXyzWNJPW0DQANyqZJLWpCko1GBJds1/KbaT+VtBj20oJB6JJWRpCuzVIlaY0fRLcbnk1 -hZtw3m3QV1Vyrq5sigEmm85tyt5D6hBX9NPhmW87Cft3VXYhUqQXHZPFV28QZZusHaaso8qCZiIt -nnVRJ0w62L0nw25M8xbcWcDbLeoWRUgtJUSLT+Te49J9YX6kjqi7aDIEhO8jPj9IMTMyD/BYl/Zw -orKO0Fz44xVD4ncPqMPEyE6zzRfve0J8aJfNwcLAUqu+9ubgL9fA96w+3v9YW92HHAeBmL/yIZRs -HsFNKEL2mKKARIsOE2NyyS59OVTo8Edh0FfdxNVRrQR6tUaG8ryPuDD6NvamoWHIcsQpoySQ+bIi -z/nDn1dOADQzRU3ySBAR78wpoO7pL/tmz65vq06LDRQqrghg8mO6H+TdJfmTyCPWcAxory5mwz5n -SvicwPME2a0qZxwlSYQ6ZuzrDnLZdQoqGjt8MylcjIeIV6oEZEJlcEx3aPI/pATQVijOS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MEK360GYtW7dXrJKk +H5cXXjetXJ4O/d4KY207UFtgbLesTbKdS5nI/R5SxATqQCq+qoNSONa2CaBfJu7ualWoHhptuMCP +ai/9G70iFMmRd0Vn/RaVn0NfAA8eIwkQKL2V0G1ZXvBp+T/LTLJnA59OpwxDBXpT328BJ2N+JR0Y +6l62CwZDsXmXAcf4H3I9KnPvIQIWlMk2qEJvdggRaf0bldHVhG1l7V1WC+OMpUNMSC+/cqv6wijd +zT9PcsTGR0dW5iSJG2Sbgq0Ac+7N76ypW4cgfb1ulKPAMlkPMKgrPnqhqPHZw+5w1s6aknbvCKAG +tS7qjs4MPV83md/0tJrv2Lx3mqyZz3ahK0MfZokKsdOs/aY6nQmMePyYsM/3gqmFKFQkN0SJxFhB +mwdR0rbHQ/LvEpRLzJ+XL3Mt1c+VmAhAnc99+x7kyITeBvUWwTJH8xowlBnu5lXFh974EiR4V8pd +Bi5opOfCaggVLZPyNt3jTXRWzrdhJqjiqdvOGZkYGBQurnwf5Gi8pPHQjmyxzqxiJsALPmNEH+nW +q60Z2+Gs1ITzvKpCys8i4LMmxhsn6bHT9PyiSpi70gp/fJFcLYpYhHHDwg+YYPhLiqN3uH/anmUR +7qGxMUs7joAa2kPEi3NqCOc8HYZ24EV276bCTqGGybWnWjFKIT9Q1peIs61NYqHSu4jpSGkD0Wfy +6ThLdLJWQSEt5AiI+XNn21ai8UzeTGDnVywsQSA2KM1fBoADnTYDkeJV4vKonrd1RyFkrVx7j/z6 +tpOTGVjCtlMEe2LqykU1Jpx/aMGbmX5WuXZsP9LQx1P8tdQaPURlR/2mOmNuJ/BQVvtTYQxSBCK6 +Eey5lrSfxXIiHOCPZCg6+qA5YYYl2zodGG7JjIS5mf0= \ No newline at end of file From ae90840724e9006ba7322382b739ede61a9b324e Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Fri, 13 Mar 2026 12:38:37 +0000 Subject: [PATCH 002/487] df --- Vue/Ajaxmessagerieliste/index.php | 111 +++++++++++++++++++++--------- 1 file changed, 80 insertions(+), 31 deletions(-) diff --git a/Vue/Ajaxmessagerieliste/index.php b/Vue/Ajaxmessagerieliste/index.php index 8909264c..49dc2a8c 100755 --- a/Vue/Ajaxmessagerieliste/index.php +++ b/Vue/Ajaxmessagerieliste/index.php @@ -1,32 +1,81 @@ -
- - - - - - - - - - - - - - nettoyer($messagesnonlu['idMessagerie']); - ?> - - - - - - - - - - - - - -
Id Date Message
nettoyer($messagesnonlu['dateSysteme'])) ?> nettoyer($messagesnonlu['prestataire']) ?> nettoyer($messagesnonlu['expediteur']) ?>
+
+
+ + + + + + + + + + + + nettoyer($msg['idMessagerie']); + ?> + + + + + + + + + +
ID
+ # + +
nettoyer($msg['dateSysteme'])) ?>
+
nettoyer($msg['dateSysteme'])) ?>
+
+
nettoyer($msg['prestataire']) ?>
+
nettoyer($msg['expediteur']) ?>
+
+
+ nettoyer($msg['textMessage'])) ?> +
+
+ +
+
+ + \ No newline at end of file From fa29dd3f05f2dd3d2f1c3f214556de8982e77973 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Fri, 13 Mar 2026 12:44:49 +0000 Subject: [PATCH 003/487] df --- Vue/Ajaxmessagerieliste/index.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Vue/Ajaxmessagerieliste/index.php b/Vue/Ajaxmessagerieliste/index.php index 49dc2a8c..1f0931ee 100755 --- a/Vue/Ajaxmessagerieliste/index.php +++ b/Vue/Ajaxmessagerieliste/index.php @@ -19,8 +19,7 @@ # -
nettoyer($msg['dateSysteme'])) ?>
-
nettoyer($msg['dateSysteme'])) ?>
+
nettoyer($msg['dateSysteme'])) ?>
nettoyer($msg['prestataire']) ?>
From 8273232ec314ddc97a8ede12a219bdcf0339610a Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Fri, 13 Mar 2026 12:56:24 +0000 Subject: [PATCH 004/487] sd --- Vue/Ajaxmessagerieliste/index.php | 55 ++++++++++++++++++++++++------- 1 file changed, 44 insertions(+), 11 deletions(-) diff --git a/Vue/Ajaxmessagerieliste/index.php b/Vue/Ajaxmessagerieliste/index.php index 1f0931ee..ee02fe96 100755 --- a/Vue/Ajaxmessagerieliste/index.php +++ b/Vue/Ajaxmessagerieliste/index.php @@ -1,12 +1,27 @@ + +
+ +
+
+ +
+ + + 1) ? _("Messages") : _("Message") ?> + +
+
- +
- + - + @@ -14,16 +29,14 @@ nettoyer($msg['idMessagerie']); ?> - - + + + + + +
ID
- # -
#
nettoyer($msg['dateSysteme'])) ?>
nettoyer($msg['prestataire']) ?>
-
nettoyer($msg['expediteur']) ?>
+
nettoyer($msg['expediteur']) ?>
@@ -39,20 +52,33 @@
+ +

+
\ No newline at end of file From 82c0d8f2449cf163037d6830aa1a0674dc9e66ac Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Fri, 13 Mar 2026 13:06:15 +0000 Subject: [PATCH 005/487] fg --- Js/fonctions.js | 98 +++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 82 insertions(+), 16 deletions(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index a8005121..d906132b 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -18055,22 +18055,88 @@ function pop_messagerie() }); } -function marquer_message_comme_lu(idMessagerie, controle) -{ - donnees = 'idMessagerie='+idMessagerie; - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxmessagerieliste/marquercommelu/", - type: 'POST', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - controle.parentElement.removeChild(controle); - } - }); +function marquer_message_comme_lu(idMessagerie, btn) { + const $row = $(btn).closest('tr'); + const racineWeb = $("#racineWeb").val(); + const codeLangue = $("#codeLangue").val(); // Récupération de la langue + + // 1. Définition des messages de traduction + const msgSuccess = (codeLangue === "en_US") + ? "Message marked as read" + : "Message marqué comme lu"; + const msgError = (codeLangue === "en_US") + ? "Error during update" + : "Erreur lors de la mise à jour"; + + // 2. Feedback visuel Neutral Pro + $row.addClass('is-processing'); + $(btn).prop('disabled', true).html(''); + + $.ajax({ + url: racineWeb + "Ajaxmessagerieliste/marquercommelu/", + type: 'POST', + data: { idMessagerie: idMessagerie }, + success: function(data) { + // 3. Animation de sortie + $row.fadeOut(400, function() { + $(this).remove(); + + // 4. Mise à jour du compteur (Logique plurielle incluse) + actualiser_interface_messagerie(codeLangue); + }); + + if (typeof toastr !== 'undefined') { + toastr.success(msgSuccess); + } + }, + error: function() { + $row.removeClass('is-processing'); + $(btn).prop('disabled', false).html(''); + + if (typeof toastr !== 'undefined') { + toastr.error(msgError); + } + } + }); +} + +/** + * Mise à jour du compteur avec gestion de la langue + */ +function actualiser_interface_messagerie(codeLangue) { + const $txtNbre = $('#txt-nbre-msg'); + const $labelNbre = $('#label-nbre-msg'); + const $noMsgRow = $('#no-message-row'); + const $badgeContainer = $('#container-badge-msg'); + + let newCount = $('#table-messagerie tbody tr.message-row').length; + + // Mise à jour du chiffre + $txtNbre.text(newCount); + + // Mise à jour du texte (Message vs Messages) selon la langue + if ($labelNbre.length) { + let label = ""; + if (codeLangue === "en_US") { + label = newCount > 1 ? " Messages" : " Message"; + } else { + label = newCount > 1 ? " Messages" : " Message"; + } + $labelNbre.text(label); + } + + // Gestion de l'état vide + if (newCount === 0) { + if ($noMsgRow.length) $noMsgRow.fadeIn(); + if ($badgeContainer.length) { + $badgeContainer.removeClass('bg-primary-ghost text-primary').addClass('bg-light text-muted'); + } + } + + // Mise à jour du compteur global (timer) + if ($('#timer').length) { + $('#timer').val(newCount); + } } function envoyer_messagerie(textMessage, idParent) From 9a201146bf251cb19594f5900707e75047994e97 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Fri, 13 Mar 2026 13:33:50 +0000 Subject: [PATCH 006/487] df --- Js/fonctions.js | 18 ++++++++++++------ Vue/Parambons/index.php | 2 +- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index d906132b..87fdf78d 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -92140,24 +92140,32 @@ function enregistrer_modif_parametres_med() } -function initSmartTable(selector = '.datatable-inter', pageTitle = 'Export Données') { +/** + * Initialise DataTables avec options d'export et de tri + * @param {string} selector - Sélecteur CSS de la table + * @param {string} pageTitle - Titre pour les exports PDF/Excel + * @param {boolean|array} defaultOrder - Exemple: [1, 'desc'] ou false pour garder l'ordre serveur + */ +function initSmartTable(selector = '.datatable-inter', pageTitle = 'Export Données', defaultOrder = false) { if ($(selector).length === 0) return; - // Détection automatique : la barre de recherche personnalisée existe-t-elle ? var hasGlobalSearch = $('#globalSearch').length > 0; if ($.fn.DataTable.isDataTable(selector)) { $(selector).DataTable().destroy(); } - // Configuration du DOM : - // Si hasGlobalSearch est vrai, on retire 'f' (recherche native) var domStructure = hasGlobalSearch ? '<"d-flex align-items-center justify-content-start p-3 border-bottom"B>t<"d-flex justify-content-between align-items-center p-3 bg-light"ip>' : '<"d-flex align-items-center justify-content-between p-3 border-bottom"Bf>t<"d-flex justify-content-between align-items-center p-3 bg-light"ip>'; + // Détermination de l'option "order" : + // Si defaultOrder est explicitement false, on passe un tableau vide pour désactiver le tri auto + var orderConfig = (defaultOrder === false) ? [] : defaultOrder; + var table = $(selector).DataTable({ "dom": domStructure, + "order": orderConfig, // <--- AJOUT ICI "buttons": [ { extend: 'excelHtml5', @@ -92181,7 +92189,6 @@ function initSmartTable(selector = '.datatable-inter', pageTitle = 'Export Donn "pageLength": 10, "autoWidth": false, "drawCallback": function() { - // Style uniquement si la recherche native est affichée if (!hasGlobalSearch) { $('.dataTables_filter input').addClass('form-control form-control-sm d-inline-block ms-2 rounded-pill border-2 shadow-none').css('width', '200px'); } @@ -92189,7 +92196,6 @@ function initSmartTable(selector = '.datatable-inter', pageTitle = 'Export Donn } }); - // LIAISON AUTOMATIQUE : Si globalSearch existe, on branche l'événement tout de suite if (hasGlobalSearch) { $('#globalSearch').off('keyup').on('keyup', function() { table.search(this.value).draw(); diff --git a/Vue/Parambons/index.php b/Vue/Parambons/index.php index 47302a98..8d85bba1 100755 --- a/Vue/Parambons/index.php +++ b/Vue/Parambons/index.php @@ -73,7 +73,7 @@ window.addEventListener('load', function() { if (typeof jQuery !== 'undefined') { // La fonction détecte seule #globalSearch et lie la recherche ! - initSmartTable('.table', 'Gestion des Bons'); + initSmartTable('.table', 'Gestion des Bons', false); } }); From c6a03abdf3806555647a8b506c544f2e2efde5df Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Fri, 13 Mar 2026 13:38:03 +0000 Subject: [PATCH 007/487] vs --- Vue/Paramlienparente/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vue/Paramlienparente/index.php b/Vue/Paramlienparente/index.php index f7e73144..6365c948 100755 --- a/Vue/Paramlienparente/index.php +++ b/Vue/Paramlienparente/index.php @@ -95,7 +95,7 @@ window.addEventListener('load', function() { if (typeof jQuery !== 'undefined') { // La fonction détecte seule #globalSearch et lie la recherche ! - initSmartTable('.table', 'Gestion des Liens de Parenté'); + initSmartTable('.table', 'Gestion des Liens de Parenté', false); } }); From e3a8c97f77bd2b0906fa02c22d3d36d7dddba81c Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Fri, 13 Mar 2026 13:50:09 +0000 Subject: [PATCH 008/487] df --- Js/fonctions.js | 40 +++++++++++ Vue/Paramlienparente/index.php | 2 +- Vue/Parammessages/index.php | 120 ++++++++++++++++----------------- 3 files changed, 101 insertions(+), 61 deletions(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index 87fdf78d..f95dfedd 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -92203,4 +92203,44 @@ function initSmartTable(selector = '.datatable-inter', pageTitle = 'Export Donn } return table; +} + + +function loadMessageSection(section) { + let url = ""; + let target = "#content-" + section; + let donnees = ""; + + // Détermination de l'ID du tableau et du titre pour l'export + let tableId = (section === 'Motifs') ? '#tableMotifs' : '#tableTextes'; + let pageTitle = (section === 'Motifs') ? 'Liste des Motifs de Dépassement' : 'Liste des Textes de Facturation'; + + if (section === 'Motifs') url = $("#racineWeb").val() + "Ajaxmotifdepassement/"; + if (section === 'Facturation') url = $("#racineWeb").val() + "Ajaxtextefacturationgarant/"; + + // Si déjà chargé, on ajuste simplement les colonnes pour le rendu visuel + if ($(target).find('table').length > 0) { + if ($.fn.DataTable.isDataTable(tableId)) { + $(tableId).DataTable().columns.adjust(); + } + return; + } + + $.ajax({ + url: url, + type: 'post', + data: donnees, + success: function(data) { + // 1. Injection du contenu HTML + $(target).html(data); + + // 2. Initialisation forcée avec un léger délai pour laisser le DOM respirer + setTimeout(function() { + initSmartTable(tableId, pageTitle, false); + }, 150); + }, + error: function() { + $(target).html('
Erreur de chargement
'); + } + }); } \ No newline at end of file diff --git a/Vue/Paramlienparente/index.php b/Vue/Paramlienparente/index.php index 6365c948..f23741a0 100755 --- a/Vue/Paramlienparente/index.php +++ b/Vue/Paramlienparente/index.php @@ -8,7 +8,7 @@

-

+

diff --git a/Vue/Parammessages/index.php b/Vue/Parammessages/index.php index e25185a6..14cbd7eb 100755 --- a/Vue/Parammessages/index.php +++ b/Vue/Parammessages/index.php @@ -1,62 +1,62 @@ -titre = "INTER SANTE - Paramètres des messages systèmes"; ?> +
+
+
+
+
+ +
+
+

+

+
+
+
+
+ +
+ +
+

+ +

+
+
+
Chargement...
+
+
+
+ +
+

+ +

+
+
+
Chargement...
+
+
+
+ +
+
+ - - - - - - +.accordion-button:not(.collapsed) { + background-color: var(--color-primary-ghost) !important; + color: var(--color-primary) !important; + box-shadow: none; +} +.accordion-button:after { background-size: 1rem; } +.accordion-button:focus { border-color: transparent; box-shadow: none; } + \ No newline at end of file From 02c2f9b2a749f2a57364df480004b7f14aeaa3e1 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Fri, 13 Mar 2026 14:00:10 +0000 Subject: [PATCH 009/487] fg --- Vue/Paramseuilalerte/index.php | 82 ++++++++++++++++++++-------------- 1 file changed, 48 insertions(+), 34 deletions(-) diff --git a/Vue/Paramseuilalerte/index.php b/Vue/Paramseuilalerte/index.php index d0505ceb..c22bed83 100755 --- a/Vue/Paramseuilalerte/index.php +++ b/Vue/Paramseuilalerte/index.php @@ -1,38 +1,52 @@ -titre = "INTER SANTE - Seuil alerte consommation"; ?> +
+
+
+ +
+
+ +
+
+

+ +
+
- +
+ +
+ +
+
- +
+ +
+
+
+
- - - - - - - - - - - - - - -
- - -
- -
-
- " onClick="javascript:afficher_garantie_produit_cons();">
- -
-
\ No newline at end of file +
+
+ +

+
+
+ \ No newline at end of file From afec4c8dbb6a10d42d5367823076931d3017b970 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Fri, 13 Mar 2026 14:07:46 +0000 Subject: [PATCH 010/487] fr --- Vue/Paramseuilalerte/index.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Vue/Paramseuilalerte/index.php b/Vue/Paramseuilalerte/index.php index c22bed83..4660babf 100755 --- a/Vue/Paramseuilalerte/index.php +++ b/Vue/Paramseuilalerte/index.php @@ -8,12 +8,7 @@

- +

From 3512c096efa1cb058e68b8bd871dc305d0baa2ab Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Fri, 13 Mar 2026 14:13:36 +0000 Subject: [PATCH 011/487] val --- Js/fonctions.js | 110 +++++++++++------- .../affichergarantieproduitcons.php | 98 +++++++++++----- 2 files changed, 135 insertions(+), 73 deletions(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index f95dfedd..b94d19b4 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -34359,58 +34359,78 @@ function maj_duree_vie_bon(idTypebon, dureeVie) }); } -function afficher_garantie_produit_cons() -{ - - - codeGcAssureur =$("#codeGcAssureur").val(); - - - if(codeGcAssureur<=" ") - { - v_msg="Veuillez s\u00e9lectionner un garant!"; - v_msgEng="Please select a guarantor!"; - alert_ebene(v_msg, v_msgEng); +function afficher_garantie_produit_cons() { + // 1. Récupération des valeurs + const codeGcAssureur = $("#codeGcAssureur").val(); + const codeProduit = $("#codeProduit").val(); + const div_attente = $('#div_garantieproduit'); + const racineWeb = $("#racineWeb").val(); + const codeLangue = $("#codeLangue").val(); - $("#codeGcAssureur").focus(); - - $('#div_garantieproduit').html(""); - - return; - } + // 2. Validation du Garant + if (!codeGcAssureur || codeGcAssureur.trim() === "") { + let v_msg = "Veuillez sélectionner un garant !"; + let v_msg_eng = "Please select a guarantor!"; + + alert_ebene(v_msg, v_msg_eng); + + $("#codeGcAssureur").focus(); + div_attente.html(""); + return; + } - codeProduit=$("#codeProduit").val(); - - if (codeProduit<=" ") - { - v_msg="Veuillez s\u00e9lectionner un produit!"; - v_msgEng="Please select a product!"; - alert_ebene(v_msg, v_msgEng); - - $('#div_garantieproduit').html(""); - return; - } + // 3. Validation du Produit + if (!codeProduit || codeProduit.trim() === "") { + let v_msg = "Veuillez sélectionner un produit !"; + let v_msg_eng = "Please select a product!"; + + alert_ebene(v_msg, v_msg_eng); + + div_attente.html(""); + return; + } - donnees = 'codeGcAssureur='+codeGcAssureur+'&codeProduit='+codeProduit; + // 4. Préparation des données et affichage du loader (Texte bilingue manuel) + const donnees = { + codeGcAssureur: codeGcAssureur, + codeProduit: codeProduit + }; - var div_attente = $('#div_garantieproduit'); - - div_attente.html('
' + '
'); + let loadingTxt = (codeLangue === "en_US") ? "Loading guarantees..." : "Chargement des garanties..."; - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamseuilalerte/affichergarantieproduitcons/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - div_attente.html(data); - }, - complete: function() { - } - }); + div_attente.html(` +
+
+

${loadingTxt}

+
+ `); + + // 5. Appel AJAX + $.ajax({ + url: racineWeb + "Ajaxparamseuilalerte/affichergarantieproduitcons/", + type: 'post', + data: donnees, + success: function(data) { + div_attente.html(data); + + // INITIALISATION DATATABLE + setTimeout(function() { + const nomGarant = $("#codeGcAssureur option:selected").text(); + initSmartTable('#tableSeuils', 'Seuils d\'alerte - ' + nomGarant); + }, 150); + }, + error: function() { + let errorTxt = (codeLangue === "en_US") ? "Error retrieving data." : "Erreur lors de la récupération des données."; + div_attente.html(` +
+ ${errorTxt} +
+ `); + } + }); } + function afficher_garantie_produit() { codeGcAssureur =$("#codeGcAssureur").val(); diff --git a/Vue/Ajaxparamseuilalerte/affichergarantieproduitcons.php b/Vue/Ajaxparamseuilalerte/affichergarantieproduitcons.php index 39b3d3dd..7f874ab3 100755 --- a/Vue/Ajaxparamseuilalerte/affichergarantieproduitcons.php +++ b/Vue/Ajaxparamseuilalerte/affichergarantieproduitcons.php @@ -1,31 +1,73 @@ - - - - - - - - - - - - - +
+
+
+
+ + + + + + + + + + - - - - + + + + - - - - - - -
+ + + +
nettoyer($garanties_avec_seuil['garantie']) ?>
+ nettoyer($garanties_avec_seuil['garantie']) ?> +
+ + + % + + + + +
+ FCFA +
+ + + + + + + + + + + \ No newline at end of file From 8447d4e900946a70b60e698c79bc9ad91096249d Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Fri, 13 Mar 2026 14:21:17 +0000 Subject: [PATCH 012/487] df --- Js/fonctions.js | 2 +- Vue/Modifparamseuilalerte/index.php | 95 +++++++++++++++++------------ 2 files changed, 58 insertions(+), 39 deletions(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index b94d19b4..8c6151d3 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -34416,7 +34416,7 @@ function afficher_garantie_produit_cons() { // INITIALISATION DATATABLE setTimeout(function() { const nomGarant = $("#codeGcAssureur option:selected").text(); - initSmartTable('#tableSeuils', 'Seuils d\'alerte - ' + nomGarant); + initSmartTable('#tableSeuils', 'Seuils d\'alerte - ' + nomGarant, false); }, 150); }, error: function() { diff --git a/Vue/Modifparamseuilalerte/index.php b/Vue/Modifparamseuilalerte/index.php index 8520a25d..0fb5dd50 100755 --- a/Vue/Modifparamseuilalerte/index.php +++ b/Vue/Modifparamseuilalerte/index.php @@ -1,45 +1,64 @@ -titre = "INTER SANTE - Seuil alerte consommation"; - - $codeGcAssureur = isset($_SESSION['codeGcAssureur_S']) ? $_SESSION['codeGcAssureur_S'] : ""; - $codeProduit = isset($_SESSION['codeProduit_S']) ? $_SESSION['codeProduit_S'] : ""; + - +
+
+ + +
- +
+ +
+ +
+
- +
+ +
+
+ + - - - - - - - - - - - - - - -
- - -
- -
-
- " onClick="javascript:afficher_garantie_produit();">
+
+ + + +
+
+ +
+
+
+ +
+ - -
-
\ No newline at end of file + \ No newline at end of file From 2cc89f57551da405dff5d1f44d789522a251a4ea Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Fri, 13 Mar 2026 14:36:39 +0000 Subject: [PATCH 013/487] sdf --- Js/fonctions.js | 179 ++++++++++------- .../affichergarantieproduit.php | 186 +++++++++++------- Vue/Paramseuilalerte/index.php | 2 +- 3 files changed, 218 insertions(+), 149 deletions(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index 8c6151d3..de2b1eb7 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -34431,53 +34431,74 @@ function afficher_garantie_produit_cons() { } -function afficher_garantie_produit() -{ - codeGcAssureur =$("#codeGcAssureur").val(); - - - if(codeGcAssureur<=" ") - { - v_msg="Veuillez s\u00e9lectionner un garant!"; - v_msgEng="Please select a guarantor!"; - alert_ebene(v_msg, v_msgEng); +function afficher_garantie_produit() { + // 1. Définition des constantes et cibles + const codeGcAssureur = $("#codeGcAssureur").val(); + const codeProduit = $("#codeProduit").val(); + const div_cible = $('#div_garantieproduit'); + const racineWeb = $("#racineWeb").val(); + const codeLangue = $("#codeLangue").val(); - $("#codeGcAssureur").focus(); - - $('#div_garantieproduit').html(""); - - return; - } + // 2. Validation du Garant via alert_ebene + if (!codeGcAssureur || codeGcAssureur.trim() === "") { + let v_msg = "Garant manquant ! Veuillez sélectionner un garant pour continuer."; + let v_msg_eng = "Guarantor missing ! Please select a guarantor to continue."; + + alert_ebene(v_msg, v_msg_eng); + + $("#codeGcAssureur").focus(); + div_cible.html(""); + return; + } - codeProduit=$("#codeProduit").val(); - - if (codeProduit<=" ") - { - v_msg="Veuillez s\u00e9lectionner un produit!"; - v_msgEng="Please select a product!"; - alert_ebene(v_msg, v_msgEng); - - $('#div_garantieproduit').html(""); - return; - } - donnees = 'codeProduit='+codeProduit; + // 3. Validation du Produit via alert_ebene + if (!codeProduit || codeProduit.trim() === "") { + let v_msg = "Produit manquant ! Veuillez sélectionner un produit."; + let v_msg_eng = "Product missing ! Please select a product."; + + alert_ebene(v_msg, v_msg_eng); + + div_cible.html(""); + return; + } - var div_attente = $('#div_garantieproduit'); - - div_attente.html('
' + '
'); + // 4. Préparation et affichage du loader bilingue + const donnees = { codeProduit: codeProduit }; + let loadingTxt = (codeLangue === "en_US") ? "Loading the entry form..." : "Chargement du formulaire de saisie..."; - $.ajax({ - url: $("#racineWeb").val()+"Ajaxparamseuilalerte/affichergarantieproduit/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - div_attente.html(data); - }, - complete: function() { - } - }); + div_cible.html(` +
+
+ Loading... +
+
${loadingTxt}
+
+ `); + + // 5. Exécution de la requête AJAX + $.ajax({ + url: racineWeb + "Ajaxparamseuilalerte/affichergarantieproduit/", + type: 'post', + data: donnees, + success: function(data) { + div_cible.html(data); + + // INITIALISATION DATATABLE + setTimeout(function() { + const nomProduit = $("#codeProduit option:selected").text(); + initSmartTable('#tableSeuilsModif', 'Modif Seuils - ' + nomProduit); + }, 150); + }, + error: function() { + let errorTxt = (codeLangue === "en_US") ? "Technical error while retrieving the form." : "Erreur technique lors de la récupération du formulaire."; + div_cible.html(` + + `); + } + }); } @@ -61146,39 +61167,49 @@ function filtrecollegepolice() }); } -function filtreproduitgarant(){ - // - - var codeGcAssureur = $('#codeGcAssureur').val(); - - var codeGcAssureur = $('#codeGcAssureur').val(); - - - donnees = 'codeGcAssureur='+codeGcAssureur; - - if(codeGcAssureur !=""){ - $.ajax({ - url: $("#racineWeb").val()+"Ajaxfiltreproduitgarant/", - type : 'post', - data: donnees, - error: function(errorData){ - //alert("Erreur : "+errorData); - }, - success: function(data) { - //alert("Success : "+data); - // - $('#div_produit').html(data); - $("#codeProduit").selectpicker(); - }, - complete: function() { - - } - }); - - - } +function filtreproduitgarant() { + const codeGcAssureur = $('#codeGcAssureur').val(); + const racineWeb = $("#racineWeb").val(); + const $container = $('#div_produit'); + + if (codeGcAssureur !== "") { + // 1. Feedback visuel Neutral Pro : On vide et on met un spinner + $container.html(` +
+
+ ${(typeof codeLangue !== 'undefined' && codeLangue === "en_US") ? "Loading products..." : "Chargement des produits..."} +
+ `); + + $.ajax({ + url: racineWeb + "Ajaxfiltreproduitgarant/", + type: 'POST', + data: { codeGcAssureur: codeGcAssureur }, // Utilisation d'un objet (plus propre) + success: function(data) { + // 2. Injection des données + $container.html(data); + + // 3. Réinitialisation du SelectPicker (si vous l'utilisez toujours) + if ($.fn.selectpicker) { + $("#codeProduit").selectpicker('refresh'); + } + }, + error: function(xhr, status, error) { + console.error("Erreur Filtre Produit:", error); + $container.html(` +
+ Erreur de chargement +
+ `); + } + }); + } else { + // Si aucun garant n'est sélectionné, on peut vider ou réinitialiser le champ produit + $container.html(''); + } } + function afficher_adherent_bascule() { codeGcAssureur = $('#codeGcAssureur').val(); diff --git a/Vue/Ajaxparamseuilalerte/affichergarantieproduit.php b/Vue/Ajaxparamseuilalerte/affichergarantieproduit.php index 8214501f..012d128a 100755 --- a/Vue/Ajaxparamseuilalerte/affichergarantieproduit.php +++ b/Vue/Ajaxparamseuilalerte/affichergarantieproduit.php @@ -1,79 +1,117 @@ -
-
- - - - - - - +
+
+
+
+
+ +
+ +
+ +
+ +
-
- - - - +
+
=>
+ + + + + + + + + + + + + + +
nettoyer($v['garantie']) ?> + +
+
+
+ - - - - nettoyer($garanties_sans_seuil['garantie']) ?> - - - - - - +
+
+
+
+ +
+ +
-
- - - - - - - - - - - - - - - - - - - - +
+
<=
+ + + + + + + + + + + + + + + + + + +
#
+ + nettoyer($v['garantie']) ?> +
+ + +
+
+
+ + CFA +
+
+
+
+
+ - - - - - - nettoyer($garanties_avec_seuil['garantie']) ?> + \ No newline at end of file diff --git a/Vue/Paramseuilalerte/index.php b/Vue/Paramseuilalerte/index.php index 4660babf..34e58f56 100755 --- a/Vue/Paramseuilalerte/index.php +++ b/Vue/Paramseuilalerte/index.php @@ -8,7 +8,7 @@

-

+

From fdfc044ddc3959b56bbf1763a54b1e8e3ec9577e Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Fri, 13 Mar 2026 14:42:17 +0000 Subject: [PATCH 014/487] sd --- Vue/Modifparamseuilalerte/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Vue/Modifparamseuilalerte/index.php b/Vue/Modifparamseuilalerte/index.php index 0fb5dd50..c3b5bcec 100755 --- a/Vue/Modifparamseuilalerte/index.php +++ b/Vue/Modifparamseuilalerte/index.php @@ -19,14 +19,14 @@
- +
- +
+ +
+ +
+ + +
+
- - - - - - - - - - - - - - - +
+ +
+ + +
+
- - - - - - - - - - - - -
:
:
:
" />
- - - +
+ +
+ + +
+
- -
-

-
- + +
+ +
+ +
+
+ +
+
+ + + +
+
+ +
+
- +
+
+
+
+
+

+
+ +
+
+
+
-
+
+
+
+
+ +
+
+
+
+
+
+

+
+ +
+
+ + nettoyer($exp['libelle']) ?> +
+ +
+ +
+
+
+
+
+

+
+ +
+ +
+ nettoyer($exp['libelle']) ?> + +
+
+ +
+
+
+
+
+
+
+
+ -
-
+ + + \ No newline at end of file diff --git a/Vue/Paramseuilalerte/index.php b/Vue/Paramseuilalerte/index.php index 34e58f56..b40b21dd 100755 --- a/Vue/Paramseuilalerte/index.php +++ b/Vue/Paramseuilalerte/index.php @@ -8,7 +8,7 @@

-

+

From b7fee48a52ab4ce7a2f6e60f782a59498df8c0c0 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Fri, 13 Mar 2026 15:01:30 +0000 Subject: [PATCH 017/487] sd --- Vue/Paramseuilalerte/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vue/Paramseuilalerte/index.php b/Vue/Paramseuilalerte/index.php index b40b21dd..b72f17b0 100755 --- a/Vue/Paramseuilalerte/index.php +++ b/Vue/Paramseuilalerte/index.php @@ -8,7 +8,7 @@

-

+

From 7927c824623c29742120bcdb75a2ec4623124375 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Fri, 13 Mar 2026 15:03:21 +0000 Subject: [PATCH 018/487] df --- Vue/Paramreinitmotpass/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vue/Paramreinitmotpass/index.php b/Vue/Paramreinitmotpass/index.php index 4c82af64..ce194610 100755 --- a/Vue/Paramreinitmotpass/index.php +++ b/Vue/Paramreinitmotpass/index.php @@ -34,7 +34,7 @@ function getSecurityIcon($libelle) {
- +
From 7c613521187a46bd8e062bea10f2c456eb4d3597 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Fri, 13 Mar 2026 15:07:39 +0000 Subject: [PATCH 019/487] ddf --- Vue/Paramreinitmotpass/index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Vue/Paramreinitmotpass/index.php b/Vue/Paramreinitmotpass/index.php index ce194610..be7e0ee0 100755 --- a/Vue/Paramreinitmotpass/index.php +++ b/Vue/Paramreinitmotpass/index.php @@ -34,7 +34,7 @@ function getSecurityIcon($libelle) {
- +
@@ -97,7 +97,7 @@ function getSecurityIcon($libelle) {
-
+

@@ -111,8 +111,8 @@ function getSecurityIcon($libelle) {
-
- +
+
From 0f8bd57d892628fd9845aeacd41ff0d19cdc3838 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Fri, 13 Mar 2026 15:10:46 +0000 Subject: [PATCH 021/487] dg --- Vue/Paramreinitmotpass/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vue/Paramreinitmotpass/index.php b/Vue/Paramreinitmotpass/index.php index bdc66ec8..ca626658 100755 --- a/Vue/Paramreinitmotpass/index.php +++ b/Vue/Paramreinitmotpass/index.php @@ -24,7 +24,7 @@ function getSecurityIcon($libelle) {

-

+

From e7036bc309e3b311903f3380f7501a79e3e9fad6 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Fri, 13 Mar 2026 15:26:51 +0000 Subject: [PATCH 022/487] df --- Controleur/ControleurParamreinitmotpass.php | 119 ++++++++++++------ Js/fonctions.js | 33 +++++ Vue/Paramreinitmotpass/index.php | 16 --- .../majcomplexitepassword.php | 93 +++++++------- 4 files changed, 168 insertions(+), 93 deletions(-) diff --git a/Controleur/ControleurParamreinitmotpass.php b/Controleur/ControleurParamreinitmotpass.php index 365d2a7f..f335d2c4 100755 --- a/Controleur/ControleurParamreinitmotpass.php +++ b/Controleur/ControleurParamreinitmotpass.php @@ -1,5 +1,4 @@ societeuser->getcompsantepasswordactif("0"); + $expressionsactives = $this->societeuser->getcompsantepasswordactif("1"); + $societeuser = $this->societeuser->getVwSocieteuser($codeSociete); - $expressionsinactives = $this->societeuser->getcompsantepasswordactif("0"); - - $expressionsactives = $this->societeuser->getcompsantepasswordactif("1"); - - $societeuser = $this->societeuser->getVwSocieteuser($codeSociete); - - //var_dump($societeuser); - - - $this->genererVue(array('expressionsinactives' => $expressionsinactives, - 'expressionsactives' => $expressionsactives , - 'activerOtpouinon' => $this->activerOtpouinon, - 'societeuser' => $societeuser + $this->genererVue(array( + 'expressionsinactives' => $expressionsinactives, + 'expressionsactives' => $expressionsactives , + 'activerOtpouinon' => $this->activerOtpouinon, + 'societeuser' => $societeuser )); } @@ -48,18 +42,45 @@ require_once 'Modele/Ouinon.php'; && $this->requete->existeParametre("nvmdp") && $this->requete->existeParametre("cfnvmdp")) { - $ancmdp = $this->requete->getParametre("ancmdp"); - $nvmdp = $this->requete->getParametre("nvmdp"); - $cfnvmdp = $this->requete->getParametre("cfnvmdp"); + $ancmdp = $this->requete->getParametre("ancmdp"); + $nvmdp = $this->requete->getParametre("nvmdp"); + $cfnvmdp = $this->requete->getParametre("cfnvmdp"); - - if ($nvmdp!=$cfnvmdp) + if ($nvmdp != $cfnvmdp) { - $this->genererVue(array('msgErreur' => 'Veuillez confirmer le nouveau mot de passe!'), "index"); + $codeSociete = $_SESSION['codeSociete']; + $expressionsinactives = $this->societeuser->getcompsantepasswordactif("0"); + $expressionsactives = $this->societeuser->getcompsantepasswordactif("1"); + $societeuser = $this->societeuser->getVwSocieteuser($codeSociete); + + $msgErreur = _('Veuillez confirmer le nouveau mot de passe!'); + + $this->genererVue(array( + 'expressionsinactives' => $expressionsinactives, + 'expressionsactives' => $expressionsactives , + 'activerOtpouinon' => $this->activerOtpouinon, + 'societeuser' => $societeuser, + 'msgErreur' => $msgErreur), + "index" + ); } - else if ($nvmdp==$ancmdp) + else if ($nvmdp == $ancmdp) { - $this->genererVue(array('msgErreur' => 'Veuillez changer le mot de passe!'), "index"); + $codeSociete = $_SESSION['codeSociete']; + $expressionsinactives = $this->societeuser->getcompsantepasswordactif("0"); + $expressionsactives = $this->societeuser->getcompsantepasswordactif("1"); + $societeuser = $this->societeuser->getVwSocieteuser($codeSociete); + + $msgErreur = _('Veuillez changer le mot de passe!'); + + $this->genererVue(array( + 'expressionsinactives' => $expressionsinactives, + 'expressionsactives' => $expressionsactives , + 'activerOtpouinon' => $this->activerOtpouinon, + 'societeuser' => $societeuser, + 'msgErreur' => $msgErreur), + "index" + ); } else if ($this->societeuser->verifiermotpass($codeSociete, $ancmdp)) { @@ -67,30 +88,58 @@ require_once 'Modele/Ouinon.php'; $this->rediriger("Parametresgeneraux"); } else - { - $this->genererVue(array('msgErreur' => 'Ancien mot de passe incorrect!'), "index"); + { + $codeSociete = $_SESSION['codeSociete']; + $expressionsinactives = $this->societeuser->getcompsantepasswordactif("0"); + $expressionsactives = $this->societeuser->getcompsantepasswordactif("1"); + $societeuser = $this->societeuser->getVwSocieteuser($codeSociete); + + $msgErreur = _('Ancien mot de passe incorrect!'); + + $this->genererVue(array( + 'expressionsinactives' => $expressionsinactives, + 'expressionsactives' => $expressionsactives , + 'activerOtpouinon' => $this->activerOtpouinon, + 'societeuser' => $societeuser, + 'msgErreur' => $msgErreur), + "index" + ); } } else { - $this->genererVue(array('msgErreur' => 'Veuillez revoir votre saisie!'), "index"); + $codeSociete = $_SESSION['codeSociete']; + $expressionsinactives = $this->societeuser->getcompsantepasswordactif("0"); + $expressionsactives = $this->societeuser->getcompsantepasswordactif("1"); + $societeuser = $this->societeuser->getVwSocieteuser($codeSociete); + + $msgErreur = _('Veuillez revoir votre saisie!'); + + $this->genererVue(array( + 'expressionsinactives' => $expressionsinactives, + 'expressionsactives' => $expressionsactives , + 'activerOtpouinon' => $this->activerOtpouinon, + 'societeuser' => $societeuser, + 'msgErreur' => $msgErreur), + "index" + ); } } public function majcomplexitepassword() { - $idExpression = $this->requete->getParametreFormulaire("idExpression"); - $actif = $this->requete->getParametreFormulaire("actif"); + $idExpression = $this->requete->getParametreFormulaire("idExpression"); + $actif = $this->requete->getParametreFormulaire("actif"); $this->societeuser->majcomplexitepassword($idExpression , $actif); - $expressionsinactives = $this->societeuser->getcompsantepasswordactif("0"); + $expressionsinactives = $this->societeuser->getcompsantepasswordactif("0"); - $expressionsactives = $this->societeuser->getcompsantepasswordactif("1"); + $expressionsactives = $this->societeuser->getcompsantepasswordactif("1"); - $this->genererVueAjax(array('expressionsinactives' => $expressionsinactives, 'expressionsactives' => $expressionsactives)); - } - - - + $this->genererVueAjax(array( + 'expressionsinactives' => $expressionsinactives, + 'expressionsactives' => $expressionsactives + )); + } } \ No newline at end of file diff --git a/Js/fonctions.js b/Js/fonctions.js index 5760aba3..14f1035b 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -89145,6 +89145,39 @@ function maj_authentification_otp() } +// FONCTION OTP +function maj_authentification_otp() { + const activerOtp = $("#activerOtp").val(); + const racineWeb = $("#racineWeb").val(); + const codeLangue = $("#codeLangue").val(); + + if(activerOtp == "1"){ + v_msg="Etes-vous sur de vouloir activer la double authentification?"; + v_msgEng="Are you sure you want to enable two-factor authentication?"; + }else{ + v_msg="Etes-vous sur de vouloir désactiver la double authentification?"; + v_msgEng="Are you sure you want to disable two-factor authentication?"; + } + + confirm_ebene(v_msg, v_msgEng) + .then((isConfirmed) => { + if (isConfirmed) { + $.ajax({ + url: racineWeb + "Ajaxparametresgeneraux/majauthentification/", + type: 'POST', + data: { activerOtp: activerOtp }, + success: function() { + let msg = (codeLangue === "en_US") ? "OTP Security updated" : "Sécurité OTP mise à jour"; + toastr.success(msg); + }, + complete: function() { + window.location.assign($("#racineWeb" ).val()+"Paramreinitmotpass/"); + } + }); + } + }); +} + function modifier_param_filtrage_ip() diff --git a/Vue/Paramreinitmotpass/index.php b/Vue/Paramreinitmotpass/index.php index ca626658..652f6975 100755 --- a/Vue/Paramreinitmotpass/index.php +++ b/Vue/Paramreinitmotpass/index.php @@ -213,22 +213,6 @@ window.addEventListener('load', function() { } }); -// 4. FONCTION OTP -function maj_authentification_otp() { - const activerOtp = $("#activerOtp").val(); - const racineWeb = $("#racineWeb").val(); - const codeLangue = $("#codeLangue").val(); - - $.ajax({ - url: racineWeb + "Paramreinitmotpass/maj_otp/", - type: 'POST', - data: { activerOtp: activerOtp }, - success: function() { - let msg = (codeLangue === "en_US") ? "OTP Security updated" : "Sécurité OTP mise à jour"; - toastr.success(msg); - } - }); -} From 7ab2463acf4d88978824d7f206d479897f25dd64 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Fri, 13 Mar 2026 15:39:01 +0000 Subject: [PATCH 025/487] dg --- Vue/Testsms/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vue/Testsms/index.php b/Vue/Testsms/index.php index 2a844971..1b1c7d34 100755 --- a/Vue/Testsms/index.php +++ b/Vue/Testsms/index.php @@ -14,7 +14,7 @@
-
+
From d9323ff27b57d30b96e67407254c1f09e76cd2f2 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Fri, 13 Mar 2026 15:46:52 +0000 Subject: [PATCH 026/487] dsq --- Js/fonctions.js | 303 +++++++++++++++++------------------------- Vue/Testsms/index.php | 6 +- 2 files changed, 125 insertions(+), 184 deletions(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index 0325450a..e36846a3 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -32121,128 +32121,72 @@ function ajouter_sms_attente_singleton(p_destinataires, p_message) }); } -// 2ème fonction à mettre à jour -function tester_disponibiliter_sms() -{ - p_destinataires = $("#destinataires").val(); - if (p_destinataires<=" ") - { - v_msg="Veuillez saisir un destinataire!"; - v_msgEng="Please enter a recipient!"; - alert_ebene(v_msg, v_msgEng); - $("#destinataires").focus(); - return; - } +function tester_disponibiliter_sms() { + // 1. Récupération des éléments de base + const p_destinataires = $("#destinataires").val(); + const fournisseurSms = $("#fournisseurSms").val(); + const racineWeb = $("#racineWeb").val(); + const div_cible = $('#div_test_gabarit'); - p_message = ""; - - fournisseurSms = $("#fournisseurSms").val(); - - if (fournisseurSms<=" ") - { - v_msg="Fournisseur de SMS non défini!"; - v_msgEng="SMS provider not defined!"; - alert_ebene(v_msg, v_msgEng); - return; - } + // 2. Validation du destinataire + if (!p_destinataires || p_destinataires.trim() === "") { + alert_ebene("Veuillez saisir un destinataire!", "Please enter a recipient!"); + $("#destinataires").focus(); + return; + } - if(fournisseurSms=="esicia") - { - p_message = "Fournisseur : esicia "; - } - else - if(fournisseurSms=="blive") - { - p_message = "Fournisseur : blive "; - } - else - if(fournisseurSms=="hooza") - { - p_message = "Fournisseur : hooza "; - } - else - if(fournisseurSms=="skysms") - { - p_message = "Fournisseur : skysms "; - } - else - if(fournisseurSms=="satelcom") - { - p_message = "Fournisseur : satelcom "; - } - else - if(fournisseurSms=="noah") - { - p_message = "Fournisseur : noah "; - } - else - if(fournisseurSms=="nerhysms") - { - p_message = "Fournisseur : nerhysms "; - } - else - if(fournisseurSms=="emisms") - { - p_message = "Fournisseur : emisms "; - } - else - if(fournisseurSms=="erling") - { - p_message = "Fournisseur : erling "; - } - else - if(fournisseurSms=="ovh") - { - p_message = "Fournisseur : ovh "; - } - else - if(fournisseurSms=="afriksms") - { - p_message = "Fournisseur : afriksms"; - } - else - if(fournisseurSms=="ekotech") - { - p_message = "Fournisseur : ekotech"; - } - else - { - v_msg=fournisseurSms+" => Fournisseur de SMS inconnu!"; - v_msgEng=fournisseurSms+" => Unknown SMS Provider!"; - alert_ebene(v_msg, v_msgEng); - return; - } - - donnees = "destinataires="+p_destinataires+"&message="+p_message+"&fournisseurSms="+fournisseurSms; + // 3. Validation du fournisseur + if (!fournisseurSms || fournisseurSms.trim() === "") { + alert_ebene("Fournisseur de SMS non défini!", "SMS provider not defined!"); + return; + } - alert(donnees); + // 4. Mapping des fournisseurs (Remplace les multiples if/else) + const fournisseursValides = [ + "esicia", "blive", "hooza", "skysms", "satelcom", "noah", + "nerhysms", "emisms", "erling", "ovh", "afriksms", "ekotech" + ]; - $("#div_test_gabarit").html('
' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxtesterdisponiblitesms/envoyerlesms/", - type: 'POST', - data: donnees, - success: function(data) - { - alert("success "+data); - $('#div_test_gabarit').html(data); - }, - error: function(errdata) - { - alert("Error : "+errdata); - $('#div_test_gabarit').html(errdata); - }, - complete: function() - { - /* - v_msg="Opération terminée avec succès!"; - v_msgEng="Operation completed successfully!"; - alert_ebene(v_msg, v_msgEng); - */ - } - }); + if (!fournisseursValides.includes(fournisseurSms)) { + alert_ebene( + fournisseurSms + " => Fournisseur de SMS inconnu!", + fournisseurSms + " => Unknown SMS Provider!" + ); + return; + } + + // 5. Préparation du message et des données + const p_message = "Fournisseur : " + fournisseurSms; + const donnees = { + destinataires: p_destinataires, + message: p_message, + fournisseurSms: fournisseurSms + }; + + // 6. Affichage du loader Neutral Pro + div_cible.html(` +
+
+

Envoi du SMS de test en cours...

+
+ `); + + // 7. Appel AJAX + $.ajax({ + url: racineWeb + "Ajaxtesterdisponiblitesms/envoyerlesms/", + type: 'POST', + data: donnees, + success: function(data) { + // Notification discrète de succès (Toast) + toastr.success("Demande transmise au serveur"); + div_cible.html(data); + }, + error: function(err) { + toastr.error("Erreur lors de l'envoi"); + div_cible.html(`
Erreur : ${err.statusText}
`); + } + }); } function ajouter_destinataire_sms_adherent(p_destinataires) @@ -89257,75 +89201,72 @@ function enregistrer_modif_param_filtreip() } -function tester_disponibiliter_whatsapp() -{ - p_destinataires = $("#destinataires").val(); - if (p_destinataires<=" ") - { - v_msg="Veuillez saisir un destinataire!"; - v_msgEng="Please enter a recipient!"; - alert_ebene(v_msg, v_msgEng); +function tester_disponibiliter_whatsapp() { + // 1. Initialisation des variables + const p_destinataires = $("#destinataires").val(); + const racineWeb = $("#racineWeb").val(); + const div_cible = $('#div_test_gabarit'); + const codeLangue = $("#codeLangue").val(); + + // On force waapi par défaut selon votre logique actuelle, + // mais prêt pour une sélection dynamique si besoin. + const fournisseurWhatsApp = 'waapi'; - $("#destinataires").focus(); - return; - } + // 2. Validation du destinataire + if (!p_destinataires || p_destinataires.trim() === "") { + alert_ebene("Veuillez saisir un destinataire!", "Please enter a recipient!"); + $("#destinataires").focus(); + return; + } - p_message = ""; - - p_message = "TESTS WHATSAPP INTER-SANTE"; - - // ajout KANE du 18/02/2025 + // 3. Validation et mapping du message fournisseur + let p_message = ""; + const providers = { + 'waapi': 'Fournisseur WhatsApp : waapi', + 'ultramsg': 'Fournisseur WhatsApp : ultramsg' + }; - // fournisseurWhatsApp = $("#fournisseurWhatsApp").val(); - fournisseurWhatsApp = 'waapi'; - - if (fournisseurWhatsApp<=" ") - { - v_msg="Fournisseur de WhatsApp non défini!"; - v_msgEng="WhatsApp provider not defined!"; - alert_ebene(v_msg, v_msgEng); - return; - } + if (providers[fournisseurWhatsApp]) { + p_message = providers[fournisseurWhatsApp]; + } else { + alert_ebene( + fournisseurWhatsApp + " => Fournisseur de WhatsApp inconnu!", + fournisseurWhatsApp + " => Unknown WhatsApp Provider!" + ); + return; + } - if(fournisseurWhatsApp=="waapi") - { - p_message = "Fournisseur WhatsApp : waapi "; - } - else - if(fournisseurWhatsApp=="ultramsg") - { - p_message = "Fournisseur WhatsApp : ultramsg "; - } - else - { - v_msg=fournisseurWhatsApp+" => Fournisseur de WhatsApp inconnu!"; - v_msgEng=fournisseurWhatsApp+" => Unknown WhatsApp Provider!"; - alert_ebene(v_msg, v_msgEng); - return; - } - - donnees = "destinataires="+p_destinataires+"&message="+p_message+"&fournisseurWhatsApp="+fournisseurWhatsApp; + // 4. Préparation des données (Format Objet) + const donnees = { + destinataires: p_destinataires, + message: p_message, + fournisseurWhatsApp: fournisseurWhatsApp + }; - $("#div_test_gabarit").html('
' + '
'); - - $.ajax({ - url: $("#racineWeb").val()+"Ajaxtesterdisponiblitesms/envoyerlewhatsapp/", - type: 'POST', - data: donnees, - success: function(data) - { - // alert("success "+data); - $('#div_test_gabarit').html(data); - }, - error: function(errdata) - { - // alert("Error : "+errdata); - $('#div_test_gabarit').html(errdata); - }, - complete: function() - { - } - }); + // 5. Affichage du loader stylisé + div_cible.html(` +
+
+

+ ${(codeLangue === "en_US") ? "Sending WhatsApp message..." : "Envoi du message WhatsApp..."} +

+
+ `); + + // 6. Requête AJAX + $.ajax({ + url: racineWeb + "Ajaxtesterdisponiblitesms/envoyerlewhatsapp/", + type: 'POST', + data: donnees, + success: function(data) { + toastr.success((codeLangue === "en_US") ? "WhatsApp API called" : "API WhatsApp appelée"); + div_cible.html(data); + }, + error: function(xhr) { + toastr.error((codeLangue === "en_US") ? "Connection error" : "Erreur de connexion"); + div_cible.html(`
Error: ${xhr.statusText}
`); + } + }); } diff --git a/Vue/Testsms/index.php b/Vue/Testsms/index.php index 1b1c7d34..847c37b7 100755 --- a/Vue/Testsms/index.php +++ b/Vue/Testsms/index.php @@ -2,11 +2,11 @@
- +
-

-

+

+

From b39b7ce22b5590ea3d5858194b8bb1e4215bdd10 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Fri, 13 Mar 2026 15:49:44 +0000 Subject: [PATCH 027/487] dd --- Vue/Testsms/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Vue/Testsms/index.php b/Vue/Testsms/index.php index 847c37b7..b1e9d045 100755 --- a/Vue/Testsms/index.php +++ b/Vue/Testsms/index.php @@ -18,7 +18,7 @@
- +
@@ -32,7 +32,7 @@
- +
From e8ead39fc30d64388424e33422a69c23f7ac5a8c Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Fri, 13 Mar 2026 15:50:20 +0000 Subject: [PATCH 028/487] dfa --- Vue/Testsms/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vue/Testsms/index.php b/Vue/Testsms/index.php index b1e9d045..09d73467 100755 --- a/Vue/Testsms/index.php +++ b/Vue/Testsms/index.php @@ -18,7 +18,7 @@
- +
From 3c09ddb882d5a5805467be125ebd213feb66b8b9 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Fri, 13 Mar 2026 15:53:21 +0000 Subject: [PATCH 029/487] daz --- Vue/Testsms/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Vue/Testsms/index.php b/Vue/Testsms/index.php index 09d73467..fb350ce5 100755 --- a/Vue/Testsms/index.php +++ b/Vue/Testsms/index.php @@ -1,5 +1,5 @@
-
+
@@ -15,7 +15,7 @@
-
+
From c47388c26414db62278070c00935a497a0daad75 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Fri, 13 Mar 2026 15:56:04 +0000 Subject: [PATCH 030/487] df --- Bootstrap_new/css/theme-modern.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Bootstrap_new/css/theme-modern.css b/Bootstrap_new/css/theme-modern.css index 8268ea69..8d6b2625 100644 --- a/Bootstrap_new/css/theme-modern.css +++ b/Bootstrap_new/css/theme-modern.css @@ -1410,7 +1410,7 @@ select[class*="selectpicker"], #titre-page { color: var(--color-primary); letter-spacing: -0.5px; - font-family: 'DM Sans', sans-serif; /* Ou votre police SaaS */ + font-family: 'DM Sans', sans-serif; /* Ou votre police SaaS */ } /* ENTÊTE FIXE "STICKY" */ @@ -1423,7 +1423,7 @@ select[class*="selectpicker"], backdrop-filter: blur(10px); /* Effet de flou moderne */ padding-top: 15px; padding-bottom: 15px; - margin-bottom: 0.5rem !important; + margin-bottom: 0.1rem !important; transition: all 0.3s ease; } From 28d7c5f87b3795242a9ccb73a3a1c7a8b80b8a15 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Fri, 13 Mar 2026 15:56:42 +0000 Subject: [PATCH 031/487] d --- Bootstrap_new/css/theme-modern.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bootstrap_new/css/theme-modern.css b/Bootstrap_new/css/theme-modern.css index 8d6b2625..e2216278 100644 --- a/Bootstrap_new/css/theme-modern.css +++ b/Bootstrap_new/css/theme-modern.css @@ -1423,7 +1423,7 @@ select[class*="selectpicker"], backdrop-filter: blur(10px); /* Effet de flou moderne */ padding-top: 15px; padding-bottom: 15px; - margin-bottom: 0.1rem !important; + margin-bottom: 0.01rem !important; transition: all 0.3s ease; } From 5de6af3cb6dfb7a41b60de8e534b833c56dbf5fb Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Fri, 13 Mar 2026 15:58:02 +0000 Subject: [PATCH 032/487] df --- Bootstrap_new/css/theme-modern.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Bootstrap_new/css/theme-modern.css b/Bootstrap_new/css/theme-modern.css index e2216278..50ff58e9 100644 --- a/Bootstrap_new/css/theme-modern.css +++ b/Bootstrap_new/css/theme-modern.css @@ -1421,8 +1421,8 @@ select[class*="selectpicker"], z-index: 1050; /* Doit être supérieur aux cartes et tableaux */ background-color: rgba(244, 247, 250, 0.8); /* Couleur de fond de votre page avec transparence */ backdrop-filter: blur(10px); /* Effet de flou moderne */ - padding-top: 15px; - padding-bottom: 15px; + padding-top: 5px; + padding-bottom: 5px; margin-bottom: 0.01rem !important; transition: all 0.3s ease; } From 9b4c09c5ad7474e0e6a9219ad1522cb3d4ddc403 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Fri, 13 Mar 2026 15:58:54 +0000 Subject: [PATCH 033/487] fg --- Bootstrap_new/css/theme-modern.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bootstrap_new/css/theme-modern.css b/Bootstrap_new/css/theme-modern.css index 50ff58e9..8bd39b85 100644 --- a/Bootstrap_new/css/theme-modern.css +++ b/Bootstrap_new/css/theme-modern.css @@ -1421,7 +1421,7 @@ select[class*="selectpicker"], z-index: 1050; /* Doit être supérieur aux cartes et tableaux */ background-color: rgba(244, 247, 250, 0.8); /* Couleur de fond de votre page avec transparence */ backdrop-filter: blur(10px); /* Effet de flou moderne */ - padding-top: 5px; + padding-top: 2px; padding-bottom: 5px; margin-bottom: 0.01rem !important; transition: all 0.3s ease; From ba7244f203ddd2aef7ae76beba8b84907d241d5c Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Fri, 13 Mar 2026 16:02:26 +0000 Subject: [PATCH 034/487] df --- Vue/Recherche/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Vue/Recherche/index.php b/Vue/Recherche/index.php index 75589bfc..682f3a52 100755 --- a/Vue/Recherche/index.php +++ b/Vue/Recherche/index.php @@ -1,7 +1,7 @@
-
+
@@ -15,7 +15,7 @@
-
+
From a0f1d295e9ebeb90cb0ec105b1499955a9b191f5 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Fri, 13 Mar 2026 16:05:33 +0000 Subject: [PATCH 035/487] se --- Vue/Parametresgeneraux/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vue/Parametresgeneraux/index.php b/Vue/Parametresgeneraux/index.php index 57a7e959..7a795183 100755 --- a/Vue/Parametresgeneraux/index.php +++ b/Vue/Parametresgeneraux/index.php @@ -1,7 +1,7 @@
-
+
From a08edfe41da619b990a22354bf87e535201992b9 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Fri, 13 Mar 2026 16:15:19 +0000 Subject: [PATCH 036/487] sd --- Vue/Parametresgeneraux/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Vue/Parametresgeneraux/index.php b/Vue/Parametresgeneraux/index.php index 7a795183..afe0cc19 100755 --- a/Vue/Parametresgeneraux/index.php +++ b/Vue/Parametresgeneraux/index.php @@ -20,8 +20,7 @@
-
- +
@@ -29,6 +28,7 @@
+
From 1bc0274572bcedfe6879a7c3f84deffa943133d0 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Fri, 13 Mar 2026 16:16:52 +0000 Subject: [PATCH 037/487] df --- Vue/Modifierparametresgeneraux/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Vue/Modifierparametresgeneraux/index.php b/Vue/Modifierparametresgeneraux/index.php index f8535690..a319dac7 100755 --- a/Vue/Modifierparametresgeneraux/index.php +++ b/Vue/Modifierparametresgeneraux/index.php @@ -5,7 +5,7 @@
-
+
@@ -31,7 +31,7 @@
-
+
From 0afb77cfbb06e8825af14e3a61794913bbba5ac6 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Fri, 13 Mar 2026 16:19:16 +0000 Subject: [PATCH 038/487] dg --- Vue/Autresparametresgeneraux/index.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Vue/Autresparametresgeneraux/index.php b/Vue/Autresparametresgeneraux/index.php index 5ee20d90..2b1004fa 100755 --- a/Vue/Autresparametresgeneraux/index.php +++ b/Vue/Autresparametresgeneraux/index.php @@ -2,7 +2,7 @@ -
+
@@ -21,7 +21,7 @@
-