@extends('frontend.layout.master') @section('content')
{{ $getAstrologer['recordList'][0]['name'] }}
{{-- Intake Form chat --}} {{-- End chat Intake form --}} {{-- Call Intake --}} {{-- End Call --}}
@if ($getAstrologer['recordList'][0]['profileImage']) {{ $getAstrologer['recordList'][0]['name'] }} @else {{ $getAstrologer['recordList'][0]['name'] }} @endif

{{ $getAstrologer['recordList'][0]['name'] }}

@if(authcheck()) @if(!$getfollower)
Follow
@else
Unfollow
@endif @endif

@foreach ($getAstrologer['recordList'][0]['primarySkill'] as $primarySkill) {{ $primarySkill['name'] }} @endforeach

@foreach ($getAstrologer['recordList'][0]['languageKnown'] as $language) {{ $language['languageName'] }}, @endforeach

Reviews : {{ $getAstrologer['recordList'][0]['ratingcount'] }}

|

Rating: @php $totalReviews = count($getAstrologer['recordList'][0]['review']); $totalRating = 0; // Total sum of ratings foreach ($getAstrologer['recordList'][0]['review'] as $review) { $totalRating += $review['rating']; } if ($totalReviews > 0) { $averageRating = $totalRating / $totalReviews; } else { $averageRating = 0; } @endphp @for ($i = 1; $i <= 5; $i++) @if ($i <= $averageRating) @else @endif @endfor

|

Exp :{{ $getAstrologer['recordList'][0]['experienceInYears'] }} Years

Specialization

    @foreach ($getAstrologer['recordList'][0]['astrologerCategoryId'] as $category)
  • {{ $category['name'] }}
  • @endforeach

About My Services

{{ $getAstrologer['recordList'][0]['whatwillDo'] }}

Experience & Qualification

I am a practicing Tarot Card Reader with an experience of more than {{ $getAstrologer['recordList'][0]['experienceInYears'] }} years now. I obtained my {{ $getAstrologer['recordList'][0]['degree'] }} degree from {{ $getAstrologer['recordList'][0]['college'] }} college

Send Gift to Expert

@foreach ($getGift['recordList'] as $gift)

{{ $gift['name'] }}

{{ $currency['value'] }}{{ $gift['amount'] }}
@endforeach
@if (authcheck()) Send @else Send @endif

Check Online Availability

    @if (!empty($getAstrologer['recordList']) && !empty($getAstrologer['recordList'][0]['astrologerAvailability'])) @foreach ($getAstrologer['recordList'][0]['astrologerAvailability'] as $astrologerAvailability)
  • {{ \Carbon\Carbon::parse($astrologerAvailability['day'])->format('l') }}

    ({{ \Carbon\Carbon::parse($astrologerAvailability['day'])->format('F d') }})

      @if (!empty($astrologerAvailability['time']) && !empty($astrologerAvailability['time'][0]))
    • {{ $astrologerAvailability['time'][0]['fromTime'] ?? '-' }}
    • {{ $astrologerAvailability['time'][0]['toTime'] ?? '-' }}
    • @else
    • -
    • -
    • @endif
  • @endforeach @endif
  • Reviews {{ $getAstrologer['recordList'][0]['ratingcount'] }}
  • @if ($getAstrologer['recordList'][0]['rating'] > 0)
  • @for ($i = 1; $i <= 5; $i++) @if ($i <= $averageRating) @else @endif @endfor

@foreach ($getAstrologer['recordList'][0]['review'] as $index => $review)

@if ($review['profile']) @else @endif

{{ $review['userName'] ? $review['userName'] : 'Anonymous' }}

{{ $review['review'] }}

@endforeach
@else

No Review Found

@endif
@endsection @section('scripts') {{-- for chat --}}