@extends('admin.layouts.app') @section('title', 'Astrologer Details - ' . $astrologer->name) @section('content')
Back to List

{{ $astrologer->name }}

Detailed profile and registration info.

@csrf @method('PATCH')
@csrf
@if(session('success'))
{{ session('success') }}
@endif
@if($astrologer->astrologerDetail && $astrologer->astrologerDetail->profile_pic) @else
@endif

{{ $astrologer->name }}

Elite Astrologer

Status

{{ $astrologer->is_active ? 'Active' : 'Inactive' }}

Enrollment

{{ ($astrologer->astrologerDetail && $astrologer->astrologerDetail->is_enrollment_paid) ? 'Paid' : 'Unpaid' }}

Joined

{{ $astrologer->created_at->format('M Y') }}

Account Stats

Total Logins {{ $astrologer->login_count ?? 0 }}
Last Login {{ $astrologer->last_login_at ? $astrologer->last_login_at->diffForHumans() : 'Never' }}

Personal Information

{{ $astrologer->email }}

{{ $astrologer->astrologerDetail->mobile ?? 'Not provided' }}

{{ $astrologer->astrologerDetail && $astrologer->astrologerDetail->dob ? \Carbon\Carbon::parse($astrologer->astrologerDetail->dob)->format('d M, Y') : 'N/A' }}

{{ $astrologer->astrologerDetail->gender ?? 'N/A' }}

Expertise & Skills

@forelse($astrologer->languages as $lang) {{ $lang->name }} @empty No languages selected @endforelse
@forelse($astrologer->skills as $skill) {{ $skill->name }} @empty No skills selected @endforelse

{{ $astrologer->astrologerDetail->experience_years ?? '0' }} Years

{{ $astrologer->astrologerDetail->contribution_hours ?? 'N/A' }}

Bio / Introduction

{{ $astrologer->astrologerDetail->bio ?? 'No bio provided.' }}

@endsection