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

{{ Form::open(['id'=>'addNewForm']) }}
{{ Form::label('consultation_title', __('messages.live_consultation.consultation_title').(':'), ['class' => 'form-label required']) }} {{ Form::text('consultation_title', '', ['class' => 'form-control consultation-title','required','placeholder' => __('messages.live_consultation.consultation_title')]) }}
{{ Form::label('consultationDate', __('messages.live_consultation.consultation_date').(':'), ['class' => 'form-label required']) }} {{ Form::text('consultation_date', '', ['class' => 'form-control consultation-date','required', 'autocomplete' => 'off','id'=>'consultationDate','placeholder' => __('messages.live_consultation.select_consultation_date')]) }}
{{ Form::label('consultation_duration_minutes', __('messages.live_consultation.consultation_duration_minutes').(':'), ['class' => 'form-label required']) }} {{ Form::text('consultation_duration_minutes', '', ['class' => 'form-control consultation-duration-minutes','required', 'onkeyup' => 'if (/\D/g.test(this.value)) this.value = this.value.replace(/\D/g,"")','min' => '0', 'max' => '720','placeholder' => __('messages.live_consultation.consultation_minutes')]) }}
{{ Form::label('patient_id', __('messages.web.patient_name').(':'), ['class' => 'form-label required']) }} {{ Form::select('patient_id', $patients, null, ['class' => 'form-select io-select2 patient-name', 'placeholder' => __('messages.live_consultation.select_patient_name'), 'id' => 'patientName', 'required', 'data-control'=>'select2','data-dropdown-parent'=>'#addModal']) }}
{{ Form::label('doctor_id', __('messages.doctor.doctor').(' ').__('messages.common.name').(':'), ['class' => 'form-label required']) }} {{ Form::select('doctor_id', $doctors, null, ['class' => 'form-select io-select2 doctor-name', 'placeholder' => __('messages.live_consultation.select_doctor_name'), 'required','data-control'=>'select2', 'id' => 'addDoctorID','data-dropdown-parent'=>'#addModal']) }}
{{ Form::label('host_video',__('messages.live_consultation.host_video').':', ['class' => 'form-label required']) }}
{{ Form::radio('host_video', \App\Models\LiveConsultation::HOST_ENABLE, false, ['class' => 'form-check-input']) }}      {{ Form::radio('host_video', \App\Models\LiveConsultation::HOST_DISABLED, true, ['class' => 'form-check-input']) }}
{{ Form::label('participant_video',__('messages.live_consultation.client_video').':', ['class' => 'form-label required']) }}
{{ Form::radio('participant_video', \App\Models\LiveConsultation::CLIENT_ENABLE, false, ['class' => 'form-check-input']) }}      {{ Form::radio('participant_video', \App\Models\LiveConsultation::CLIENT_DISABLED, true, ['class' => 'form-check-input']) }}
{{ Form::label('description', __('messages.appointment.description').(':'), ['class' => 'form-label']) }} {{ Form::textarea('description', '', ['class' => 'form-control description', 'rows' => 3,'placeholder' => __('messages.live_consultation.description')]) }}
{{ Form::button(__('messages.common.save'), ['type' => 'submit','class' => 'btn btn-primary m-0','id' => 'btnSave','data-loading-text' => " Processing..."]) }}
{{ Form::close() }}