From e36f1472e64829da2215f3268e9bda8233b12c89 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Fri, 2 Jan 2026 13:41:35 +0000 Subject: [PATCH] q --- Js/fonctions.js | 6 ++++++ Vue/gabarit.php | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index b73c159..e719675 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -1187,6 +1187,12 @@ function changer_avenant_incorporation() }); } +function get_age(dater) +{ + var td2 = $("#datejourfr_C").datepicker("getDate"); + return age = td2.getFullYear()-dater.getFullYear(); +} + function controle_age(dater, codeLienParente) { age = get_age(dater); diff --git a/Vue/gabarit.php b/Vue/gabarit.php index 6377d61..04586fb 100755 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -595,7 +595,7 @@ $activeChildId = $menuData['child']; - +