use Illuminate\Support\Str; @extends('adminlte::page') @section('content')
File Attachment: @if($children->case_file) View File @else No file attachment available @endif
File Number: {{ $children->file_number }}
Sex: {{ ucfirst($children->sex) }}
Birthdate: {{ $children->birthdate ? $children->birthdate : 'N/A' }}
Birth Place: {{ $children->birth_place ?? 'N/A' }}
Region: {{ $children->region ?? 'N/A' }}
Family Status: {{ $children->family_status ?? 'N/A' }}
Father: {{ $children->father_full_name ?? 'N/A' }}
Mother: {{ $children->mother_full_name ?? 'N/A' }}
Caregiver Name: {{ $children->caregiver_name ?? 'N/A' }}
Company: {{ $children->caregiver_company_name ?? 'N/A' }}
Agency: {{ $children->agency_name ?? 'N/A' }}
Approved Date: {{ $children->approved_date ? $children->approved_date : 'N/A' }}
Country: {{ $children->country ?? 'N/A' }}
City: {{ $children->city ?? 'N/A' }}
Address: {{ $children->street_address ?? 'N/A' }}
Phone: {{ $children->phone_no ?? 'N/A' }}
Email: {{ $children->email ?? 'N/A' }}
Fax: {{ $children->fax ?? 'N/A' }}
{{ $children->remark ?? 'No remarks' }}
Status: {{ ucfirst($children->approval_status) }}
@if($children->approval_remark)Approval Remark: {{ $children->approval_remark }}
@endif @if($children->approved_by)Approved By: {{ $children->approver->name }}
@endif @if($children->approved_at)Approved At: {{ $children->approved_at->format('Y-m-d H:i') }}
@endif @if($children->approval_status == 'pending')