diff --git a/resources/views/form/rapport-titans/1790753526-37d85bd1-442d-4226-bacf-5f12e647373d.blade.php b/resources/views/form/rapport-titans/1790753526-37d85bd1-442d-4226-bacf-5f12e647373d.blade.php index e20687a1..fc253828 100644 --- a/resources/views/form/rapport-titans/1790753526-37d85bd1-442d-4226-bacf-5f12e647373d.blade.php +++ b/resources/views/form/rapport-titans/1790753526-37d85bd1-442d-4226-bacf-5f12e647373d.blade.php @@ -542,54 +542,10 @@ // Show Patients Screened only for LHC during Execution - const selectedActivity = ($('#execution-activity').val() || '').trim().toUpperCase(); + + - if (selectedActivity === 'Oscar Screening Camps') { - $('#execution-no_of_patients_screened') - .closest('.col-md-12') - .show(); - - $('#execution-no_of_patients_screened') - .prop('required', true); - } else { - $('#execution-no_of_patients_screened') - .closest('.col-md-12') - .hide(); - - $('#execution-no_of_patients_screened') - .prop('required', false) - .val(''); - } - - $('#execution-activity').off('change.patientsScreened').on('change.patientsScreened', function () { - - const activity = ($(this).val() || '').trim().toUpperCase(); - - if (activity === 'Oscar Screening Camps') { - - $('#execution-no_of_patients_screened') - .closest('.col-md-12') - .show(); - - $('#execution-no_of_patients_screened') - .prop('required', true); - - } else { - - $('#execution-no_of_patients_screened') - .closest('.col-md-12') - .hide(); - - $('#execution-no_of_patients_screened') - .prop('required', false) - .val(''); - } - - }); - - $('#execution-no_of_patients_screened') - .closest('.col-md-12') - .after('