diff --git a/Js/fonctions.js b/Js/fonctions.js index 0e83ec5..5f7c796 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -407,7 +407,7 @@ window.addEventListener('resize', () => { * ou un bouton de sélection dans une liste de polices. */ function selectionner_police(id, no) { - debugger; + // Mise à jour de l'ID de la police dans le champ caché prévu pour le traitement serveur $("#idPolice_C").val(id); @@ -425,7 +425,7 @@ function selectionner_police(id, no) { * Utilisée généralement avant d'afficher le détail d'un contrat. */ function afficher_police_id(idPolice) { - debugger; + // Récupération de l'ID depuis le champ caché //const idPolice = $("#idPolice_C").val(); @@ -444,7 +444,7 @@ function afficher_police_id(idPolice) { * @param {string|number} idPolice - L'identifiant de la police à mettre en session. */ function ajax_context_police_afficher(idPolice) { - debugger; + const racine = $("#racineWeb").val() || "/"; @@ -482,7 +482,7 @@ function ajax_context_police_afficher(idPolice) { * Charge la liste des quittances pour une police sur une période donnée. */ function afficher_quittances_police_periode() { - debugger; + // 1. Récupération des paramètres const racine = $("#racineWeb").val() || "/"; @@ -1174,7 +1174,7 @@ function changer_avenant_incorporation() } function get_age(td2) { - debugger; + // Vérifie si td2 est déjà un objet Date if (!(td2 instanceof Date)) { td2 = new Date(td2); // Convertit une chaîne ou un timestamp en Date @@ -1193,7 +1193,7 @@ function get_age(td2) { function controle_age(dater, codeLienParente) { - debugger; + age = get_age(dater); $("#agepersonne").val("Âge : "+age); @@ -1613,7 +1613,7 @@ function selectionner_adherent(id,no) function afficher_adherent() { - debugger; + if ($("#numeroAdherent_C" ).val()>"") { @@ -3442,3 +3442,17 @@ function exporter_liste_assures_date() }); } +function retour_recherche_assure() +{ + + idPolice=$("#idPolice_C" ).val(); + + if (idPolice>"") + { + window.location.assign($("#racineWeb" ).val()+"Listeadherent/"); + }else{ + window.location.assign($("#racineWeb" ).val()+"Accueil/"); + } + +} + diff --git a/Vue/Importassure/index.php b/Vue/Importassure/index.php index 85613de..4c31550 100644 --- a/Vue/Importassure/index.php +++ b/Vue/Importassure/index.php @@ -1,134 +1,124 @@ -titre = "INTER-SANTE - Import assurés"; -?> +
-
+
+
+
+
+
+
+
+
+
+
nettoyer($police['numeroPolice']) ?>
+
+
+
+ nettoyer($police['etatPolice']) ?> +
+
+
+
Du nettoyer($police['dateEffet'])) ?>
+
Au nettoyer($police['dateEcheance'])) ?>
+
+
+
+
-
- Importation des assurés à partir d'un fichier Excel") ?> - - + +
+
+
+
+
+
+
+
+
1
+

+ +
+
-
- - +
+
+
+ ' : '2' ?> +
+

+ +
+
- - +
+
+
+ ' : '3' ?> +
+

+ +
+
- - - - - - - +
+
+
4
+

+ +
+
+ + + - - - - - - + ""): ?> + + - - - + - - - - - - + " ")) : ?> +
+ +
+ - - - - - - - - - - - -
Type
- - " readonly> - - " readonly> - -
(%)
-
- Actions - - - - - - + +
- - - - - - - - - - - - - - - - - -
- - - - - - - - - - - -
- -
- - - -" ")) : ?> - - - - - - - -
- -
+ \ No newline at end of file diff --git a/Vue/gabarit.php b/Vue/gabarit.php index 3cffa93..f9c629c 100755 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -638,7 +638,7 @@ $photoAssureCrypte = $_SESSION['photoAssureCrypte']; - +