@extends('admin.dashboard') @section('elderly-content')
Review and manage elderly profiles created by organizations and individuals.
| Elderly Profile | Created By | Created At | Status | Actions |
|---|---|---|---|---|
|
@if($profile->image_path)
{{ $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. | ||||