@extends('admin.layouts.app') @section('title', 'Astrologers') @section('content')

Registered Astrologers

Manage and monitor astrologer accounts and activities.

@if(request()->anyFilled(['search', 'enrollment', 'status'])) Reset @endif
@if(session('success'))
{{ session('success') }}
@endif
@forelse($astrologers as $astrologer) @empty @endforelse
Astrologer Contact Enrollment Status Joined Actions
@if($astrologer->astrologerDetail && $astrologer->astrologerDetail->profile_pic) @else @endif

{{ $astrologer->name }}

{{ $astrologer->email }}

{{ $astrologer->astrologerDetail->mobile ?? $astrologer->mobile ?? 'N/A' }} @if($astrologer->astrologerDetail && $astrologer->astrologerDetail->is_enrollment_paid) Paid @else Unpaid @endif {{ $astrologer->is_active ? 'Active' : 'Inactive' }} {{ $astrologer->created_at->format('M d, Y') }}
@csrf @method('PATCH')

No astrologers registered yet.

{{ $astrologers->links() }}
@endsection