@extends('layouts.app') @section('title', 'ANC Clients') @section('content') {{-- Top Actions --}}
+ Register New ANC Client
{{-- Filter pills --}}
@foreach(['all'=>'All Active','today'=>'EDD Today','week'=>'This Week','overdue'=>'Overdue','delivered'=>'Delivered'] as $key => $label) {{ $label }} @endforeach
@forelse($mothers as $r) @empty@endforelse
PatientMRNPhoneGAEDDDaysRiskVisitsActions
{{ $r->patient->full_name ?? '' }} {{ $r->patient->mrn ?? '' }} {{ $r->patient->phone ?? '' }} {{ $r->gestational_age ?? '-' }}wks {{ $r->edd?->format('d M Y') ?? '-' }} {{ $r->edd ? ($r->edd->isPast() ? (int) abs($r->edd->diffInDays(now())).' overdue' : (int) $r->edd->diffInDays(now()).' days') : '-' }} {{ ucfirst($r->risk_status ?? 'normal') }} {{ $r->visits_count ?? 0 }} View
No results.
{{ $mothers->links() }}
@endsection