Doctor Create
{!! Form::open(['route' => 'admin.doctor.store', 'method' => 'post', 'id' => 'ajax-submit', 'files' => 'true']) !!}
{!! Form::close() !!}
{!! Form::label('name', __('name'), ['class' => 'col-sm-3 col-form-label']) !!}
{!! Form::text('name', null, ['class' => 'form-control']) !!}
{!! Form::label('gender', __('gender'), ['class' => 'col-sm-3 col-form-label']) !!}
{!! Form::select('gender', gender(), null, ['class' => 'form-control select2']) !!}
{!! Form::label('designation_ids', __('designations'), ['class' => 'col-sm-3 col-form-label']) !!}
{!! Form::select('designation_ids[]', $designations, null, ['class' => 'form-control select2', 'multiple' => 'true']) !!}
{!! Form::label('specialization_ids', __('departments'), ['class' => 'col-sm-3 col-form-label']) !!}
{!! Form::select('specialization_ids[]', $specializations, null, ['class' => 'form-control select2', 'multiple' => 'true']) !!}
{!! Form::label('description', __('description'), ['class' => 'col-sm-3 col-form-label']) !!}
{!! Form::textarea('description', null, ['class' => 'form-control', 'size' => '2x3', 'id' => 'editor1']) !!}
{!! Form::label('experience', __('experience'), ['class' => 'col-sm-3 col-form-label']) !!}
{!! Form::textarea('experience', null, ['class' => 'form-control', 'size' => '2x3']) !!}
{!! Form::label('medical_qualification', __('medical_qualification'), ['class' => 'col-sm-3 col-form-label']) !!}
{!! Form::textarea('medical_qualification', null, ['class' => 'form-control', 'size' => '2x3']) !!}
{!! Form::label('image', __('image'), ['class' => 'col-sm-3 col-form-label']) !!}
{!! Form::file('image', ['class' => 'form-control']) !!}
{!! Form::label('status', __('status'), ['class' => 'col-sm-3 col-form-label']) !!}
{!! Form::select('status', status(), 1, ['class' => 'form-control select2']) !!}
{!! Form::label('board_of_director', __('board_of_director'), ['class' => 'col-sm-3 col-form-label']) !!}
{!! Form::select('board_of_director', yesNo(), 0, ['class' => 'form-control select2']) !!}
{!! Form::label('sort_order', __('sort_order'), ['class' => 'col-sm-3 col-form-label']) !!}
{!! Form::number('sort_order', null, ['class' => 'form-control']) !!}
OPD Timings
{!! Form::label('opd_days', 'OPD Days', ['class' => 'col-sm-3 mt-1 form-label']) !!}
{!! Form::select('opd_days[]', days(), null, ['class' => 'form-control select2', 'multiple' => true]) !!}
{!! Form::checkbox('has_morning_opd', null, false) !!}
{!! Form::label('has_morning_opd', 'Morning OPD', ['class' => 'form-label']) !!}
{!! Form::label('morning_start_time', 'Start Time', ['class' => 'form-label']) !!}
{!! Form::text('morning_start_time', null, ['class' => 'form-control clockpicker', 'readonly' => true]) !!}
{!! Form::label('morning_end_time', 'End Time', ['class' => 'form-label']) !!}
{!! Form::text('morning_end_time', null, ['class' => 'form-control clockpicker', 'readonly' => true]) !!}
{!! Form::label('morning_duration', 'Duration (In Min)', ['class' => 'form-label']) !!}
{!! Form::text('morning_duration', null, ['class' => 'form-control']) !!}
{!! Form::label('morning_fee', 'Doctor Fee', ['class' => 'form-label']) !!}
{!! Form::text('morning_fee', null, ['class' => 'form-control']) !!}
{!! Form::checkbox('has_afternoon_opd', null, false) !!}
{!! Form::label('has_afternoon_opd', 'Afternoon OPD', ['class' => 'form-label']) !!}
{!! Form::label('afternoon_start_time', 'Start Time', ['class' => 'form-label']) !!}
{!! Form::text('afternoon_start_time', null, ['class' => 'form-control clockpicker', 'readonly' => true]) !!}
{!! Form::label('afternoon_end_time', 'End Time', ['class' => 'form-label']) !!}
{!! Form::text('afternoon_end_time', null, ['class' => 'form-control clockpicker', 'readonly' => true]) !!}
{!! Form::label('afternoon_duration', 'Duration (In Min)', ['class' => 'form-label']) !!}
{!! Form::text('afternoon_duration', null, ['class' => 'form-control']) !!}
{!! Form::label('afternoon_fee', 'Doctor Fee', ['class' => 'form-label']) !!}
{!! Form::text('afternoon_fee', null, ['class' => 'form-control']) !!}
{!! Form::checkbox('has_evening_opd', null, false) !!}
{!! Form::label('has_evening_opd', 'Evening OPD', ['class' => 'form-label']) !!}
{!! Form::label('evening_start_time', 'Start Time', ['class' => 'form-label']) !!}
{!! Form::text('evening_start_time', null, ['class' => 'form-control clockpicker', 'readonly' => true]) !!}
{!! Form::label('evening_end_time', 'End Time', ['class' => 'form-label']) !!}
{!! Form::text('evening_end_time', null, ['class' => 'form-control clockpicker', 'readonly' => true]) !!}
{!! Form::label('evening_duration', 'Duration (In Min)', ['class' => 'form-label']) !!}
{!! Form::text('evening_duration', null, ['class' => 'form-control']) !!}
{!! Form::label('evening_fee', 'Doctor Fee', ['class' => 'form-label']) !!}
{!! Form::text('evening_fee', null, ['class' => 'form-control']) !!}