@extends('admin.layouts.app') @section('page_tab_title' ,"Practitioners") @section('content') @if(empty($practitioner->id)) Create New practitioner @else Edit practitioner @endif id)) action="{{ route('practitioner.store') }}" @else action="{{ route('practitioner.update', $practitioner->id) }}" @endif > @csrf First name * @if ($errors->has('first_name')) {{ $errors->first('first_name') }} @endif Last name * @if ($errors->has('last_name')) {{ $errors->first('last_name') }} @endif Email address * email)) name="email" @else disabled @endif required class="form-control" value="{{$practitioner->email ?? old('email') }}" > @if ($errors->has('email')) {{ $errors->first('email') }} @endif Phone number * @if ($errors->has('phone')) {{ $errors->first('phone') }} @endif Password @if(empty($practitioner->password)) * @endif password)) required @endif> @if ($errors->has('password')) {{ $errors->first('password') }} @endif Confirm password @if(empty($practitioner->password)) * @endif password)) required @endif> @if ($errors->has('password')) {{ $errors->first('password') }} @endif Profile picture Choose File No file chosen... @if(isset($personal->profile_picture)) @endif Gender gender) == 'Male') checked @endif @if(!isset($personal->gender) || $personal->gender =="") checked @endif> Male gender) == 'Female') checked @endif> Female gender) == 'Other') checked @endif> Other Bio @if ($errors->has('my_bio')) {{ $errors->first('my_bio') }} @endif Association Select Association @foreach($associations as $association) association_id) && $personal->association_id == $association->id) selected @endif >{{$association->name}} @endforeach @if ($errors->has('association_id')) {{ $errors->first('association_id') }} @endif Association number @if ($errors->has('association_number')) {{ $errors->first('association_number') }} @endif Qualification @if ($errors->has('qualifications')) {{ $errors->first('qualifications') }} @endif Profession Select Profession @foreach($professions as $profession) profession) && $personal->profession == $profession->id) selected @endif>{{$profession->name}} @endforeach @if ($errors->has('profession')) {{ $errors->first('profession') }} @endif Language select language @foreach($languages as $language) id,$language_id)) selected @endif >{{$language->name}} @endforeach @if ($errors->has('language_id')) {{ $errors->first('language_id') }} @endif Date of birth @if ($errors->has('dob')) {{ $errors->first('dob') }} @endif Business Name @if ($errors->has('name')) {{ $errors->first('name') }} @endif Business Address @if ($errors->has('address')) {{ $errors->first('address') }} @endif Service select service @foreach($services as $service) id,$service_id))) selected @endif>{{$service->name}} @endforeach @if ($errors->has('service_id')) {{ $errors->first('service_id') }} @endif City @if ($errors->has('city')) {{ $errors->first('city') }} @endif State @if ($errors->has('State')) {{ $errors->first('State') }} @endif Country select country @foreach($countries as $country) country) && $personal->country == $country->id) selected @endif>{{$country->name}} @endforeach @if ($errors->has('country')) {{ $errors->first('country') }} @endif Area @if ($errors->has('area')) {{ $errors->first('area') }} @endif Facility select facility @foreach($facilities as $facility) id,$facility_id)) selected @endif>{{ $facility->name }} @endforeach @if ($errors->has('facility_id')) {{ $errors->first('facility_id') }} @endif Submit Cancel {{-- --}}