@section('title') Edit User @endsection @section('breadcrumbs') {{ Breadcrumbs::render('user-management.users.edit', $user) }} @endsection

Edit User: {{ $user->first_name }} {{ $user->last_name }}


@csrf @method('PUT')

Province Selection

Profile Picture

profile_pic) : "/assets/media/avatars/blank.png" }}')">
Allowed file types: png, jpg, jpeg. Max size: 2MB.
@if($user->profile_pic)
Current profile picture: {{ basename($user->profile_pic) }}
@endif

Personal Information

Family Information

Spouse Details

@php $allChildren = $user->childrenUnder18->merge($user->childrenOver18); $childrenUnder18 = $allChildren->filter(function ($child) { return Carbon\Carbon::parse($child->date_of_birth)->age < 18; })->values(); // reset indexes $childrenOver18 = $allChildren->filter(function ($child) { return Carbon\Carbon::parse($child->date_of_birth)->age >= 18; })->values(); // reset indexes @endphp

Childrens over 18

@foreach($childrenOver18 as $index => $child) @endforeach
Gender First Name Last Name Date of Birth Phone Number Email Address Residential Address Work or Study Details Action

Children Under 18 Years Old

{{-- --}} @foreach($childrenUnder18 as $index => $child) {{-- --}} @endforeach
Gender First Name Last Name Date of Birth Phone Number Email AddressResidential AddressSchool or College Details Action