{{ __('messages.live_consultation.edit_live_consultation') }}

{{ Form::open(['id'=>'editConsultationForm']) }}
{{ Form::hidden('live_consultation_id',null,['id'=>'liveConsultationId']) }}
{{ Form::label('consultation_title', __('messages.live_consultation.consultation_title').(':'), ['class' => 'form-label ']) }} {{ Form::text('consultation_title', null, ['class' => 'form-control edit-consultation-title','required']) }}
{{ Form::label('consultation_date', __('messages.live_consultation.consultation_date').(':'), ['class' => 'form-label']) }} {{ Form::text('consultation_date', null, ['class' => (getLoggedInUser()->thememode ? 'bg-light edit-consultation-date form-control' : 'bg-white edit-consultation-date form-control'),'required', 'autocomplete' => 'off']) }}
{{ Form::label('consultation_duration_minutes', __('messages.live_consultation.consultation_duration_minutes').(':'), ['class' => 'form-label']) }} {{ Form::number('consultation_duration_minutes', '', ['class' => 'form-control edit-consultation-duration-minutes','required', 'min' => '0', 'max' => '720']) }}
{{ Form::label('patient_id', __('messages.blood_issue.patient_name').(':'), ['class' => 'form-label']) }} {{ Form::select('patient_id', $patients, null, ['class' => 'form-select edit-patient-name patient-name', 'placeholder' => 'Select Patient Name', 'id' => 'editConsultationPatientName', 'required', 'data-control'=>'select2']) }}
{{ Form::label('doctor_id', __('messages.blood_issue.doctor_name').(':'), ['class' => 'form-label']) }} {{ Form::select('doctor_id', $doctors, null, ['class' => 'form-select edit-doctor-name', 'placeholder' => 'Select Doctor Name', 'required', 'id' => 'editConsultationDoctorName','data-control'=>'select2']) }}
{{ Form::label('type', __('messages.live_consultation.type').(':'), ['class' => 'form-label']) }} {{ Form::select('type', $type, null, ['class' => 'form-select edit-consultation-type', 'placeholder' => 'Select Type', 'disabled', 'required', 'id' => 'editConsultationType','data-control'=>'select2']) }}
{{ Form::label('type_number', __('messages.live_consultation.type_number').(':'), ['class' => 'form-label']) }} {{ Form::select('type_number', [null], null, ['class' => 'form-select edit-consultation-type-number', 'placeholder' => 'Select Type Number', 'disabled', 'required','data-control'=>'select2', 'id' => 'editConsultationTypeNumber']) }}
{{ Form::label('host_video',__('messages.live_consultation.host_video').':', ['class' => 'form-label']) }}
{{ Form::radio('host_video', \App\Models\LiveConsultation::HOST_ENABLE, false, ['class' => 'form-check-input host-enable','id'=>'editConsultationHostEnable']) }}  
  {{ Form::radio('host_video', \App\Models\LiveConsultation::HOST_DISABLED, true, ['class' => 'form-check-input host-disabled','id'=>'editConsultationHostDisable']) }}
{{ Form::label('participant_video',__('messages.live_consultation.client_video').':', ['class' => 'form-label']) }}
{{ Form::radio('participant_video', \App\Models\LiveConsultation::CLIENT_ENABLE, false, ['class' => 'form-check-input client-enable','id'=>'editConsultationParticipantEnable']) }}  
  {{ Form::radio('participant_video', \App\Models\LiveConsultation::CLIENT_DISABLED, true, ['class' => 'form-check-input client-disabled','id'=>'editConsultationParticipantDisable']) }}
{{ Form::label('description', __('messages.testimonial.description').(':'), ['class' => 'form-label']) }} {{ Form::textarea('description', '', ['class' => 'form-control edit-description', 'rows' => 3]) }}
{{ Form::button(__('messages.common.save'), ['type' => 'submit','class' => 'btn btn-primary m-0','id' => 'editConsultationSave','data-loading-text' => " Processing..."]) }}
{{ Form::close() }}