@extends('layouts.nurse') @section('title', 'Today\'s Appointments - Health Records') @section('content')
{{ \Carbon\Carbon::parse($date)->format('l, F j, Y') }}
Total Appointments
Scheduled Today
| Time | Patient | IC Number | Zone | Color Code | Record Status | Actions |
|---|---|---|---|---|---|---|
| {{ $appointment->slot_label }} | {{ $appointment->mother->expectantMother->ic_number ?? 'N/A' }} | @if($appointment->mother->expectantMother && $appointment->mother->expectantMother->currentAssignment) {{ $appointment->mother->expectantMother->currentAssignment->zone->zone_code }} @else Unassigned @endif |
@if($appointment->mother->expectantMother)
|
@php // Check if health record exists for this appointment $healthRecord = \App\Models\MaternalHealthRecord::where('clinic_appointment_id', $appointment->id)->first(); @endphp @if($healthRecord) {{ $healthRecord->status_label }} @else No Record @endif | @php $healthRecord = \App\Models\MaternalHealthRecord::where('clinic_appointment_id', $appointment->id)->first(); @endphp @if($healthRecord) Edit Record @else Create Record @endif | |
|
No appointments scheduled for today Check back later or view the appointment calendar |
||||||
Total Appointments
{{ $appointments->count() }}
Assigned to You
{{ $appointments->count() }}
Time Slots
{{ $appointments->count() }}