@php $adm = $item?->Adm; $patient = $adm?->type == 'appointment' ? $adm?->Appointment?->Patient : $adm?->Patient; $money = fn ($v) => number_format((float) $v, 2); @endphp Room Transfer
@include('layouts.print_header', ['printTitle' => 'Room Transfer'])
Admission no {{ $adm?->admission_no ?: '#' . $adm?->id }}
Transfer date {{ \Carbon\Carbon::parse($item->date)->format('d M, Y') }}
Patient {{ $patient?->name }}
Patient ID {{ $patient?->patient_id }}
Admitted {{ $adm?->date_in ? \Carbon\Carbon::parse($adm->date_in)->format('d M, Y') : '-' }}
Date out {{ $adm?->date_out ? \Carbon\Carbon::parse($adm->date_out)->format('d M, Y') : '-' }}
@foreach ($stay['segments'] as $seg) isSameDay(\Carbon\Carbon::parse($item->date))) style="background:#eef2ff;font-weight:600" @endif> @endforeach
Room Bed From To Nights Rate / night Amount
{{ $seg['room'] }} {{ $seg['bed'] ? 'Bed ' . $seg['bed'] : '-' }} {{ $seg['from']->format('d M, Y') }} {{ $seg['to']->format('d M, Y') }} {{ $seg['nights'] }} {{ $money($seg['rate']) }} {{ $money($seg['amount']) }}
Room charges after transfer {{ $money($stay['total']) }}
Change to the bill from this transfer {{ $money($item->cost) }}
The nights before the transfer date stay charged at the previous room's rate; from the transfer date each night is charged at the new room's rate (highlighted). The adjustment is added to the admission bill and settled with the rest of the admission charges.
Cashier
Patient / Guardian