@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
@if ($errors->has('first_name')) {{ $errors->first('first_name') }} @endif
@if ($errors->has('last_name')) {{ $errors->first('last_name') }} @endif
email)) name="email" @else disabled @endif required class="form-control" value="{{$practitioner->email ?? old('email') }}" > @if ($errors->has('email')) {{ $errors->first('email') }} @endif
@if ($errors->has('phone')) {{ $errors->first('phone') }} @endif
password) && empty($practitioner->id)) required @endif> @if ($errors->has('password')) {{ $errors->first('password') }} @endif
password) && empty($practitioner->id)) required @endif> @if ($errors->has('password')) {{ $errors->first('password') }} @endif
Choose File
No file chosen...
@if(isset($personal->profile_picture))
@endif
gender) == 'Male') checked @endif @if(!isset($personal->gender) || $personal->gender =="") checked @endif> Male gender) == 'Female') checked @endif> Female gender) == 'Other') checked @endif> Other
@if ($errors->has('my_bio')) {{ $errors->first('my_bio') }} @endif
@if ($errors->has('association_id')) {{ $errors->first('association_id') }} @endif
@if ($errors->has('association_number')) {{ $errors->first('association_number') }} @endif
@if ($errors->has('qualifications')) {{ $errors->first('qualifications') }} @endif
@if ($errors->has('profession')) {{ $errors->first('profession') }} @endif
@if ($errors->has('language_id')) {{ $errors->first('language_id') }} @endif
@if ($errors->has('dob')) {{ $errors->first('dob') }} @endif
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
{{-- @if ($errors->has('business_type')) {{ $errors->first('business_type') }} @endif --}}
@if ($errors->has('address')) {{ $errors->first('address') }} @endif
@if ($errors->has('service_id')) {{ $errors->first('service_id') }} @endif
@if ($errors->has('facility_id')) {{ $errors->first('facility_id') }} @endif
@if(empty($practitioner->id)) @else
@if ($errors->has('credits')) {{ $errors->first('credits') }} @endif
@endif
@if ($errors->has('merchant_id')) {{ $errors->first('merchant_id') }} @endif
@if ($errors->has('merchant_password')) {{ $errors->first('merchant_password') }} @endif
@if ($errors->has('merchant_public_key')) {{ $errors->first('merchant_public_key') }} @endif
@if ($errors->has('pw_merchant_password')) {{ $errors->first('pw_merchant_password') }} @endif
@if ($errors->has('account_id')) {{ $errors->first('account_id') }} @endif
@if ($errors->has('store_id')) {{ $errors->first('store_id') }} @endif
@if ($errors->has('device_id')) {{ $errors->first('device_id') }} @endif
@if ($errors->has('terminal_secret')) {{ $errors->first('terminal_secret') }} @endif
@if ($errors->has('timezone')) {{ $errors->first('timezone') }} @endif
@if($practitioner->id) @if( !empty( $codeUsed ) )
@endif
@if ($errors->has('transaction_amount')) {{ $errors->first('transaction_amount') }} @endif
@if ($errors->has('transaction_fee')) {{ $errors->first('transaction_fee') }} @endif
@if ($errors->has('latpay_charge')) {{ $errors->first('latpay_charge') }} @endif
@if ($errors->has('account_name')) {{ $errors->first('account_name') }} @endif
@if ($errors->has('account_number')) {{ $errors->first('account_number') }} @endif
@if ($errors->has('bsb')) {{ $errors->first('bsb') }} @endif
sign_us_with == 0) checked @endif>
@endif @if(isset($practitioner) && $practitioner->parent_id == NULL)
@endif
@if($practitioner->id && $practitioner->status != "active")
@endif @if(isset($practitionerbankdetails) && $staffAccess == 0) @php $front_license = url('/')."/storage/license/".$practitionerbankdetails->license_front; $back_license = url('/')."/storage/license/".$practitionerbankdetails->license_back; @endphp {{-- {{dd($front_license)}} --}} @endif
is_pms) && $practitioner->is_pms == 'YES') checked @endif @if(!isset($practitioner->is_pms) || $practitioner->is_pms =="") checked @endif> YES is_pms) && $practitioner->is_pms == 'NO') checked @endif> NO
is_course) && $practitioner->is_course == 'yes') checked @endif /> Yes is_course) && $practitioner->is_course == 'no') checked @endif/> No
Cancel
{{-- --}}