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'];
-
+