{{ Form::label('case_id', __('messages.ipd_patient.case_id').':', ['class' => 'form-label']) }}
@if ($ipdPatientDepartment->is_discharge == true)
{{ Form::select('case_id', $data['case_id'], $ipdPatientDepartment->case_id, ['class' => 'form-select editIpdDepartmentCaseId', 'required', 'data-control' => 'select2', 'placeholder' => __('messages.ipd_patient.choose_case'), ($ipdPatientDepartment->is_discharge == true) ? 'disabled' : '']) }}
@else
{{ Form::select('case_id', [null], null, ['class' => 'form-select editIpdDepartmentCaseId', 'required', 'id' => 'editIpdDepartmentCaseId', 'disabled', 'data-control' => 'select2', 'placeholder' => __('messages.ipd_patient.choose_case')]) }}
@endif