@extends('adminlte::page') @section('title', 'Adoption Cases') @section('content_header')

Adoption cases

@can('register children') Record case@endcan
@stop @section('content') @if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif
@can('view monitoring')
@endcan
@forelse($children as $child) @empty@endforelse
Case IDChildMotherCountryRecorded byStatusRecordedActions
{{ $child->case_id ?: $child->file_number }}{{ $child->child_full_name }}{{ $child->mother_full_name }}{{ $child->country_name }}{{ $child->creator?->name ?? '—' }}{{ $child->display_status }}{{ optional($child->created_at)->format('Y-m-d H:i') }}View more@if($child->workflow_status==='rejected' && $child->created_by===auth()->id()) Correct@endif @can('approve children') @if(in_array($child->workflow_status,['submitted','resubmitted']))
@csrf
@endif @endcan
No cases found.
{{ $children->links() }}
@foreach($children as $child) @if(in_array($child->workflow_status,['submitted','resubmitted']))@endif @endforeach @stop