use Illuminate\Support\Str; @extends('adminlte::page') @section('content')

{{ $children->child_full_name }}

@if($children->photo) @else
No photo available
@endif

File Attachment: @if($children->case_file) View File @else No file attachment available @endif

{{ $children->child_full_name }}

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' }}


Parents Information

Father: {{ $children->father_full_name ?? 'N/A' }}

Mother: {{ $children->mother_full_name ?? 'N/A' }}

Caregiver Information

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' }}

Contact Information

Country: {{ $children->country ?? 'N/A' }}

City: {{ $children->city ?? 'N/A' }}

Address: {{ $children->street_address ?? 'N/A' }}

Contact Details

Phone: {{ $children->phone_no ?? 'N/A' }}

Email: {{ $children->email ?? 'N/A' }}

Fax: {{ $children->fax ?? 'N/A' }}

Remark

{{ $children->remark ?? 'No remarks' }}

@if(auth()->user()->can('approve children'))

Approval Status

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')
@csrf
@csrf
@endif
@stop @section('css') {{-- Add here extra stylesheets --}} {{-- --}} @stop @section('js') @stop