diff --git a/resources/views/form/rapport-team2/1790853173-2ef535a8-b66e-4889-b29d-db2666f4163a.blade.php b/resources/views/form/rapport-team2/1790853173-2ef535a8-b66e-4889-b29d-db2666f4163a.blade.php index bf7e8464..4cd1bb6e 100644 --- a/resources/views/form/rapport-team2/1790853173-2ef535a8-b66e-4889-b29d-db2666f4163a.blade.php +++ b/resources/views/form/rapport-team2/1790853173-2ef535a8-b66e-4889-b29d-db2666f4163a.blade.php @@ -249,7 +249,8 @@ }); } - + $('input[id^="field-msl_code"], input[id^="field-speciality"]').prop('readonly', true); + function enforceUniqueDoctorSelections() { @@ -403,7 +404,13 @@ var plandateField = document.getElementById('field-record_date'); - plandateField.setAttribute('max', today); + plandateField.setAttribute('min', "2026-10-09"); + plandateField.setAttribute('max', "2026-10-09"); + + plandateField.value="2026-10-09"; + + $('#field-record_date').prop('readonly', true); + });