@include('pages.layout.flash_messages')
{{ $consultant->name }} @include('components.breadCrumb.show',['path' => route('consultants.index'),'section' => __('Consultants'),'title' => __('Consultant ').$consultant->name])

{{ __("Phone") }} {{ $consultant->phone }}
{{ __("Status") }}
{{ __($consultant->status) }}
{{ __("Whatsapp") }} {{ $consultant->whatsapp }}
{{ __("Email") }} {{ $consultant->email }} @if(!$consultant->email_verified_at)
@csrf
@endif
{{ __("Price per consultation") }} {{ $consultant->price_per_consultation }} {{ __('Per') }} {{ $consultant->per_hour }} {{ __('Hours') }}
{{ __("Rating (out of 5)") }} {{ $consultant->rate }}
{{ __("Bio") }}
{{ __("Gender") }} {{ __($consultant->gender) }}
{{ __("Date of birth") }} {{ $consultant->date_of_birth }}
{{ __("Country") }} {{ $consultant->country?->name }}
{{ __("National ID") }} {{ $consultant->national_id }}
{{ __("Spoken languages") }}
    @foreach ($consultant->languages ?? [] as $lang)
  • {{ $lang->name }}
  • @endforeach
{{ __('Specialized coiuntries') }}
    @foreach ($consultant->specialized_countries ?? [] as $country)
  • {{ $country->name }}
  • @endforeach
{{ __("Interests") }}
    @foreach ($consultant->interests ?? [] as $interest)
  • {{ $interest }}
  • @endforeach
{{ __("Fields") }}
    @foreach ($consultant->domains ?? [] as $field)
  • {{ $field }}
  • @endforeach
{{ __("Travelling community") }} {{ $consultant->traveling_community }}
{{ __("National ID") }} {{ $consultant->national_id }}
{{ __("Photo") }}
{{ __("National ID image (Front)") }}
{{ __("National ID image (Back)") }}
{{ __('Action') }} @if ($consultant->status == App\Enums\ConsultantTypeEnum::pending()) {{ __('Approve') }} @else {{ __('Edit') }}
@csrf @method('DELETE')
@endif
{{ __("Revenues") }}

{{ __('Monthly revenue') }} {{ $monthlyRevenue }} {{ __('SAR') }}
{{ __('Percentage taken') }} {{ $consultant->percentage_taken }}%
{{ __('Money for consultant') }} {{ $ownMoney }} {{ __('SAR') }}
{{ __('Money for administrator') }} {{ $debitMoney }} {{ __('SAR') }}
{{ __('Consultations') }}

{{ __('Selected revenue') }} : {{ $rangeTotal ?? 0 }} {{ __('SAR') }}

{{ __('Consultant revenue') }} : {{ $rangeOwn ?? 0 }} {{ __('SAR') }}

{{ __('Admin revenue') }} : {{ $rangeDebit ?? 0 }} {{ __('SAR') }}


@include('components.sessions.list',[ 'sessions' => $sessions, 'allPaymentStatus' => $allPaymentStatus, 'allStatus' => $allStatus ])