From 5ae14e4ec0af391d6fc80c742a54847554ec4045 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Sun, 4 Jan 2026 12:27:07 +0000 Subject: [PATCH] d --- Js/fonctions.js | 13 ++++++------- Vue/gabarit.php | 2 +- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index dca65a8..96474e7 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -1513,13 +1513,12 @@ function liste_avenant() window.location.assign($("#racineWeb" ).val()+"Listeavenant/"); } -function controle_date_avenant() -{ - codeTypeAvenant=$("#codeTypeAvenant").val(); - $("#div_periodidite").html(""); - $("#dateAvenant").val($("#datejourfr_C").val()); - $("#dateAvenant").readable(); - $("#motifavenant").readable(); +function controle_date_avenant() { + let codeTypeAvenant = $("#codeTypeAvenant").val(); + $("#div_periodidite").html(""); + $("#dateAvenant").val($("#datejourfr_C").val()); + $("#dateAvenant").prop("readonly", true); + $("#motifavenant").prop("readonly", true); } function init_import_assures() diff --git a/Vue/gabarit.php b/Vue/gabarit.php index 66ff731..29ed0b1 100755 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -637,7 +637,7 @@ $photoAssureCrypte = $_SESSION['photoAssureCrypte']; - +