@extends('layouts.admin.app') @section('title', 'Daftar Rekam Medis') @section('content')

Daftar Rekam Medis

@if(session('success'))
{{ session('success') }}
@endif @forelse($records as $record) @empty @endforelse
# Nama Pasien Tanggal Bidan Keluhan Aksi
{{ $loop->iteration }} {{ $record->appointment->familyMember ? $record->appointment->familyMember->name : $record->appointment->patient->name }}
@if($record->appointment->familyMember) Reservasi oleh: {{ $record->appointment->patient->name }}
@endif No. HP: {{ $record->appointment->patient->phone ?? '-' }}
{{ $record->created_at->format('d M Y') }}
{{ $record->created_at->format('H:i') }}
{{ $record->appointment->midwife->name ?? '-' }} {{ \Illuminate\Support\Str::limit($record->complaint, 80) }} Detail
Belum ada rekam medis
{{-- SORT BY TANGGAL TERBARU --}} @push('scripts') @endpush @endsection