@extends('layouts.admin') @section('title', 'Resort Reports') @section('content')
Financial totals use bookings with check-in in the selected range. Revenue excludes pending requests, rejected and cancelled bookings. Collections include payments on the selected bookings.
Confirmed, checked-in, checked-out and no-show room nights / (inventory overrides or defaults minus blocked room nights). Payment holds are excluded from sold nights. Stop-sell closes sales but does not remove physical rooms from the denominator. On-request resorts are excluded.
| Resort | Available room nights | Sold room nights | Occupancy |
|---|---|---|---|
| {{ $row['name'] }} | {{ $row['capacity'] }} | {{ $row['sold'] }} | {{ $row['percent'] }}% |
Confirmed booking costs less settlements linked through the existing Vendor Payment form. Unlinked vendor payments are excluded.
| Supplier | Cost committed | Settled | Payable |
|---|---|---|---|
| {{ $group->first()->supplier?->name }} | {{ number_format($group->sum('supplier_cost'),2) }} | {{ number_format($settled,2) }} | {{ number_format($group->sum('supplier_cost') - $settled,2) }} |
| Booking | Customer | Resort | Stay | Total | Paid | Status |
|---|---|---|---|---|---|---|
| {{ $item->booking_no }} | {{ $item->customer_details['name'] }} | {{ $item->resort_name }} | {{ $item->check_in }} → {{ $item->check_out }} | {{ $item->grand_total }} | {{ $item->paid }} | {{ $item->status }} |