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

{{ Form::open(['id'=>'addConsultationForm']) }}
{{ Form::label('consultation_title', __('messages.live_consultation.consultation_title').(':'), ['class' => 'form-label']) }} {{ Form::text('consultation_title', '', ['class' => 'form-control consultation-title','id'=>'liveConsultationTitle', 'required']) }}
{{ Form::label('consultation_date', __('messages.live_consultation.consultation_date').(':'), ['class' => 'form-label']) }} {{ Form::text('consultation_date', '', ['class' => (getLoggedInUser()->thememode ? 'bg-light consultation-date form-control' : 'bg-white consultation-date form-control'),'required','id'=>'liveConsultationDate', 'autocomplete' => 'off']) }}
{{ Form::label('consultation_duration_minutes', __('messages.live_consultation.consultation_duration_minutes').(':'), ['class' => 'form-label']) }} {{ Form::number('consultation_duration_minutes', '', ['class' => 'form-control consultation-duration-minutes','id'=>'liveConsultationDurationMinutes', '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 patient-name', 'placeholder' => 'Select Patient Name', 'id' => 'consultationPatientName', '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 doctor-name', 'placeholder' => 'Select Doctor Name', 'required','data-control'=>'select2']) }}
{{ Form::label('type', __('messages.live_consultation.type').(':'), ['class' => 'form-label']) }} {{ Form::select('type', $type, null, ['class' => 'form-select select2Selector consultation-type', 'placeholder' => 'Select Type', 'disabled', 'required', 'data-control'=>'select2']) }}
{{ Form::label('type_number', __('messages.live_consultation.type_number').(':'), ['class' => 'form-label']) }} {{ Form::select('type_number', [null], null, ['class' => 'form-select select2Selector consultation-type-number', 'id'=>'consultationTypeNumber' ,'placeholder' => 'Select Type Number', 'disabled', 'required', 'data-control'=>'select2']) }}
{{ 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','id'=>'meetingHostEnable']) }}
  {{ Form::radio('host_video', \App\Models\LiveConsultation::HOST_DISABLED, true, ['class' => 'form-check-input','id'=>'meetingHostDisable']) }}
{{ 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','id'=>'meetingParticipantEnable']) }}  
  {{ Form::radio('participant_video', \App\Models\LiveConsultation::CLIENT_DISABLED, true, ['class' => 'form-check-input','id'=>'meetingParticipantDisable']) }}
{{ Form::label('description', __('messages.testimonial.description').(':'), ['class' => 'form-label']) }} {{ Form::textarea('description', '', ['class' => 'form-control description','id'=>'consultationDescription', 'rows' => 3]) }}
{{ Form::button(__('messages.common.save'), ['type' => 'submit','class' => 'btn btn-primary m-0','id' => 'consultationSave','data-loading-text' => " Processing..."]) }}
{{ Form::close() }}