@extends('hotel_workspace.layout') @section('hotel-content')
| Booking | Room | Guest | Stay | Status | Total | Received | Balance |
|---|---|---|---|---|---|---|---|
| {{ $b->booking_no }} | {{ $b->room->name }} | {{ $b->guest_name }} | {{ $b->check_in_at?->format('d M Y') }} – {{ $b->expected_check_out_at?->format('d M Y') }} | {{ str_replace('_',' ',$b->status) }} | {{ number_format($b->total_amount,2) }} | {{ number_format($b->paid_amount,2) }} | {{ number_format($b->balance_amount,2) }} |
| No room bookings in this period. | |||||||
| Ref. | Date | Guest / Room | Total | Received | Balance |
|---|---|---|---|---|---|
| {{ $bill->reference }} | {{ $bill->created_at->format('d M Y H:i') }} | {{ $bill->guest_name ?: 'Walk in' }} {{ $bill->booking?->room?->name }} | {{ number_format($bill->total,2) }} | {{ number_format($bill->paid,2) }} | {{ number_format($bill->total-$bill->paid,2) }} |
| Total {{ $currency }} | {{ number_format($rows->sum('total'),2) }} | {{ number_format($rows->sum('paid'),2) }} | {{ number_format($rows->sum('total')-$rows->sum('paid'),2) }} | ||