@extends('app') @section('extra-css') @endsection @section('content-header')

Edit Doctor

@endsection @section('content')

@can('doctor-view')   View Doctor @endcan

@canany(['doctor-edit','doctor-update'])
{{csrf_field()}}

{!! Form::select('gender', [ '1'=>'Male', '2'=>'Female', '3'=>'Other', ] ,$doctor->user->gender, ['class'=> 'form-control','placeholder'=> 'Please Select Gender']) !!}
@if(file_exists($doctor->user->profile_image)) @endif
{!! Form::select('designation', $designations ,$doctor->designation_id, ['class'=> 'form-control','placeholder'=> 'Please Select Designation']) !!}
{!! Form::select('department', $departments ,$doctor->department_id, ['class'=> 'form-control','placeholder'=> 'Please Select Department']) !!}
{!! Form::select('educational_qualification', $educational_qualifications ,$doctor->educational_qualification_id, ['class'=> 'form-control','placeholder'=> 'Please Select Designation']) !!}
{{-- {!! Form::select('medical_degree', $medical_degrees ,$doctor->medical_degree_id, ['class'=> 'form-control','placeholder'=> 'Please Select Degree']) !!} --}} {{-- {!! Form::select('medical_degree[]', $medical_degrees ,null, ['class'=> 'form-control select2', 'multiple']) !!}--}}
@endcanany
@endsection @section('extra-js') @endsection @section('script') @endsection