{{ __('tutor.similar_tutors') }}

    @foreach ($similarTutors as $item)
  • @if (!empty($item->profile?->image) && Storage::disk(getStorageDisk())->exists($item->profile?->image)) {{$item->profile?->image}} @else {{ $item->profile?->image }} @endif

    {{ $item->profile->full_name }} @if($item?->profile?->verified_at) @endif @if ($item?->address?->country?->short_code) @endif

    {{ $item?->profile->tagline }}
    • {{ formatAmount($item->min_price) }} {{ __('tutor.session_text') }}
    • {{ number_format($item->avg_rating, 1) }} /5.0 ({{ $item->total_reviews == 1 ? __('general.review_count') : __('general.reviews_count', ['count' => $item->total_reviews] ) }})
    • {{$item->active_students}} {{ $item->active_students == '1' ? __('tutor.active_student') : __('tutor.active_students', ['count' => $item->active_students ]) }}
    • {{ $item->subjects->sum('sessions') }} {{ $item->subjects->sum('sessions') == 1 ? __('tutor.session') : __('tutor.sessions',) }}
    • @if(!empty($item?->languages))
    • @if($item?->languages?->count() > 3)
      @foreach ($item?->languages->slice(3, $item?->languages?->count() - 1) as $lan) {{ ucfirst( $lan->name )}} @endforeach +{{ $item?->languages?->count() - 3 }}
      @endif
    • @endif
    @php $isFavourite = in_array($item->id, $favouriteTutors); @endphp
  • @endforeach