@extends('hotel_workspace.layout') @section('hotel-content')

Hotel Reports

Back to Rooms

Dream Home Guest House — {{ $from }} to {{ $to }}

Rooms (USD)

@forelse($bookings as $b)@empty@endforelse
BookingRoomGuestStayStatusTotalReceivedBalance
{{ $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.
@foreach(['SSP','USD'] as $currency)@php($rows=$bills->where('currency',$currency))

Restaurant ({{ $currency }})

@foreach($rows as $bill)@endforeach
Ref.DateGuest / RoomTotalReceivedBalance
{{ $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) }}
@endforeach @endsection