@section('title', 'Assign Mother to Zone - Clinic Admin Dashboard')

{{ $mother->currentAssignment ? 'Reassign Zone' : 'Assign to Zone' }}

Assign mother to a zone and nurse

@if (session()->has('success'))
{{ session('success') }}
@endif @if (session()->has('error'))
{{ session('error') }}
@endif

Mother Information

{{ $mother->series_number }}

{{ $mother->mother_full_name }}

{{ $mother->user->email ?? 'N/A' }}

{{ $mother->phone_number ?? 'N/A' }}

@if($mother->currentAssignment)

Current Assignment

{{ $mother->currentAssignment->zone->zone_code }} - {{ $mother->currentAssignment->zone->zone_name }}

{{ $mother->currentAssignment->nurse->name ?? 'N/A' }}

@endif

{{ $mother->currentAssignment ? 'New Assignment Details' : 'Assignment Details' }}

@error('selectedZoneId')

{{ $message }}

@enderror
@error('selectedNurseId')

{{ $message }}

@enderror @if(!$selectedZoneId)

Please select a zone first

@endif
@error('assignmentNotes')

{{ $message }}

@enderror