@extends('admin.dashboard') @section('elderly-content')

Elderly Profile Management

Review and manage elderly profiles created by organizations and individuals.

@forelse($elderly as $profile) @empty @endforelse
Elderly Profile Created By Created At Status Actions
@if($profile->image_path) {{ $profile->name }} @else {{ $profile->name }} @endif
{{ $profile->name }}
{{ $profile->age }} years old
{{ $profile->location }}
{{ $profile->organization ? $profile->organization->name : 'N/A' }}
{{ $profile->organization ? $profile->organization->email : 'N/A' }}
{{ $profile->organization ? ucfirst($profile->organization->account_type) : 'N/A' }}
{{ $profile->created_at->format('M d, Y') }} @if($profile->status === 'approved') Approved @elseif($profile->status === 'rejected') Rejected @if($profile->rejection_reason)
{{ $profile->rejection_reason }}
@endif @else Pending @endif
View @if($profile->status === 'pending') @endif
No elderly profiles found.
{{ $elderly->links() }}
@push('scripts') @endpush @endsection