diff --git a/resources/views/form/rapport-vitalis/1776765811-664dd43c-0466-4e4d-9a15-0adaa01f5b94.blade.php b/resources/views/form/rapport-vitalis/1776765811-664dd43c-0466-4e4d-9a15-0adaa01f5b94.blade.php index bf7dd622..cf3e0c2e 100644 --- a/resources/views/form/rapport-vitalis/1776765811-664dd43c-0466-4e4d-9a15-0adaa01f5b94.blade.php +++ b/resources/views/form/rapport-vitalis/1776765811-664dd43c-0466-4e4d-9a15-0adaa01f5b94.blade.php @@ -243,7 +243,7 @@ } $('#field-contact_id').change(function() { - $('#field-msl_code').val($('option:selected', this).attr('msl_code')) + $('#field-legacy_code').val($('option:selected', this).attr('msl_code')) }) $('#field-contact_id').change(function() { @@ -255,6 +255,8 @@ console.log(hierarchy) }) + $('#field-legacy_code,#field-speciality').attr('readonly',true); + /* $('#field-contact_id').change(function() { $('#field-speciality').val($('option:selected', this).attr('speciality')) }) @@ -263,7 +265,7 @@ $('#field-msl_code').val($('option:selected', this).attr('msl_code')) }) - $('#field-msl_code,#field-speciality').attr('readonly',true); + $('#field-other_doctor_name,#field-other_speciality,#field-other_msl_code').prop({"required":false}); $('#field-other_doctor_name,#field-other_speciality,#field-other_msl_code').parent().hide();