@extends('layouts.pdf_report') @section('title', 'IPD Registrations') @section('report_title', 'IPD Admission Directory') @section('content') @foreach($admissions as $adm) @endforeach
Date IPD No. UHID Patient Name Age / Gender Doctor Room Insurance Status
{{ $adm->admission_date->format('d/m/Y') }} {{ $adm->ipd_number }} {{ $adm->uhid }} {{ $adm->full_name }} {{ $adm->age }} / {{ $adm->gender }} {{ $adm->doctor->name }} {{ $adm->room->room_number ?? 'N/A' }} {{ $adm->has_insurance ? ($adm->insurance->name ?? 'Yes') : 'Cash' }} {{ $adm->status }}
@endsection