@extends('layouts.app') @section('content')
No rooms added. Open Rooms Setup to add rooms.
@endforelse| Confirmation | Guest | Room | Rate / Meal | Stay | Guests | Source | Status | Total | Balance | Action |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $section==='online_reservations' ? $booking->booking_no : ($booking->confirmation_no ?: $booking->booking_no) }}@if($section==='online_reservations') Received: {{ $booking->reserved_at?->format('d M Y H:i') ?: $booking->created_at?->format('d M Y H:i') }}@endif |
{{ $booking->guest_name }} {{ $booking->guest_phone ?: '-' }} |
{{ $booking->room?->name ?: $booking->room?->room_no }} | {{ $booking->ratePlan?->name ?: '-' }} {{ $booking->ratePlan?->mealPlan?->name ?: '-' }} |
{{ $booking->check_in_at?->format('Y-m-d') }} to {{ $booking->expected_check_out_at?->format('Y-m-d') }} {{ $booking->nights }} night(s) |
{{ $booking->adults }} adult(s), {{ $booking->children }} child(ren) | {{ str_replace('_', ' ', ucfirst($booking->source)) }} | {{ ucfirst($booking->status) }} | {{ \App\Models\SystemSetting::formatMoney($booking->total_amount) }} | {{ \App\Models\SystemSetting::formatMoney($booking->balance_amount) }} | |
| No active reservations found. | ||||||||||
| Code | Meal Plan | Breakfast | Lunch | Dinner | Status | Action |
|---|---|---|---|---|---|---|
| {{ $mealPlan->code }} | {{ $mealPlan->name }} | {{ $mealPlan->includes_breakfast ? 'Yes' : 'No' }} | {{ $mealPlan->includes_lunch ? 'Yes' : 'No' }} | {{ $mealPlan->includes_dinner ? 'Yes' : 'No' }} | {{ $mealPlan->is_active ? 'Active' : 'Inactive' }} | Edit |
| Rate Plan | Hotel | Room Type | Meal Plan | Nightly Rate | Adults Included | Rules | Status | Action |
|---|---|---|---|---|---|---|---|---|
| {{ $plan->name }} {{ $plan->code }} |
{{ $plan->hotel?->name ?: 'All hotels' }} | {{ $plan->roomType?->name ?: '-' }} | {{ $plan->mealPlan?->name ?: 'No meal plan' }} | {{ \App\Models\SystemSetting::formatMoney($plan->base_rate) }} | {{ $plan->base_adults }} | {{ $plan->childRates->count() }} child / {{ $plan->seasonalRates->count() }} seasonal | {{ $plan->is_active ? 'Active' : 'Inactive' }} | |
| No rate plans added. | ||||||||
| Ages | Pricing | Amount | Action |
|---|---|---|---|
| {{ $childRule->minimum_age }}-{{ $childRule->maximum_age }} | {{ ucfirst(str_replace('_',' ',$childRule->pricing_type)) }} | {{ number_format($childRule->amount,2) }} |
| Season | Dates | Nightly Rate | Action |
|---|---|---|---|
| {{ $season->name }} | {{ $season->starts_on?->format('Y-m-d') }} to {{ $season->ends_on?->format('Y-m-d') }} | {{ \App\Models\SystemSetting::formatMoney($season->nightly_rate) }} |
| Floor | Hotel | Rooms | Status | Action |
|---|---|---|---|---|
| {{ $floor->name }} {{ $floor->description ?: '-' }} |
{{ $floor->hotel?->name ?: 'General floor' }} | {{ $floor->rooms_count ?? $floor->rooms()->count() }} | {{ $floor->is_active ? 'Active' : 'Inactive' }} | |
| No floors added. | ||||
| Hotel | Contacts | Rooms | Status | Action |
|---|---|---|---|---|
| {{ $hotel->name }} {{ $hotel->address ?: '-' }} |
{{ $hotel->phone ?: '-' }} {{ $hotel->email ?: '-' }} |
{{ $hotel->rooms_count ?? $hotel->rooms()->count() }} / {{ $hotel->expected_rooms ?: '-' }} | {{ $hotel->is_active ? 'Active' : 'Inactive' }} | |
| No hotels added. | ||||
| Name | Branch | Phone | Room Status | Action | |
|---|---|---|---|---|---|
| {{ $customer->name }} | {{ $customer->branch?->name ?: 'All branches' }} | {{ $customer->phone ?: '-' }} | {{ $customer->email ?: '-' }} | @if($customer->activeAccommodationBooking) In {{ $customer->activeAccommodationBooking->room?->name ?: $customer->activeAccommodationBooking->room?->room_no }} @else No active room @endif | Edit |
| No customers match the selected filters. | |||||
| Name | Default Rate | Capacity | Std Adults | Max Adults | Max Children | Max Guests | Children | Min Age | Status | Action |
|---|---|---|---|---|---|---|---|---|---|---|
| No room types added. | ||||||||||
| Charge | Description | Status | Action |
|---|---|---|---|
| {{ $chargeType->name }} | {{ $chargeType->description ?: '-' }} | {{ $chargeType->is_active ? 'Active' : 'Inactive' }} | |
|
|
|||
| No room charges added. | |||
| Room Name | Type | Hotel Name | Floor | Rate | Status | Active | Action |
|---|---|---|---|---|---|---|---|
| {{ $room->name ?: '-' }} | {{ $room->type?->name ?: '-' }} | {{ $room->hotel?->name ?: ($room->branch?->name ?: ($hotelName ?: 'Main hotel')) }} | {{ $room->floorRecord?->name ?: ($room->floor ?: '-') }} | {{ \App\Models\SystemSetting::formatMoney($room->rate) }} | {{ ucfirst($room->status) }} | {{ $room->is_active ? 'Yes' : 'No' }} | |
|
|
|||||||
| No rooms added. | |||||||
| Issue No. | Product | Receiver | Branch | Received | Rooms | Returned | Lost | Remaining | Balance Value | Status | Action |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $item->issue?->issue_no }} {{ $item->issue?->issue_date?->format('Y-m-d') }} | {{ $item->product?->name }} {{ $item->product?->barcode ?: '-' }} | {{ $item->issue?->receiver?->name ?: '-' }} | {{ $item->issue?->branch?->name ?: '-' }} | {{ number_format($item->quantity_issued,2) }} | {{ number_format($item->quantity_consumed,2) }} | {{ number_format($item->quantity_returned,2) }} | {{ number_format($item->quantity_lost,2) }} | {{ number_format($item->remaining_quantity,2) }} | {{ \App\Models\SystemSetting::formatMoney($item->remaining_quantity*$item->unit_cost) }} | {{ ucfirst($item->issue?->status) }} | |
| No custodian stock has been issued. | |||||||||||
| Totals | {{ number_format($housekeepingItems->sum('quantity_issued'),2) }} | {{ number_format($housekeepingItems->sum('quantity_consumed'),2) }} | {{ number_format($housekeepingItems->sum('quantity_returned'),2) }} | {{ number_format($housekeepingItems->sum('quantity_lost'),2) }} | {{ number_format($housekeepingItems->sum('remaining_quantity'),2) }} | {{ \App\Models\SystemSetting::formatMoney($housekeepingItems->sum(fn($row)=>$row->remaining_quantity*$row->unit_cost)) }} | |||||
| Date | Issue No. | Product | Transaction | Hotel | Room | Guest | Receiver | Quantity | Balance After | Cost | Recorded By | Reason / Note |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $transaction->transaction_date?->format('Y-m-d H:i') }} | {{ $transaction->issueItem?->issue?->issue_no }} | {{ $transaction->issueItem?->product?->name }} | {{ str_replace('_',' ',ucfirst($transaction->transaction_type)) }} | {{ $transaction->hotel?->name ?: '-' }} | {{ $transaction->room?->name ?: $transaction->room?->room_no ?: '-' }} | {{ $transaction->booking?->guest_name ?: '-' }} | {{ $transaction->issueItem?->issue?->receiver?->name ?: '-' }} | {{ number_format($transaction->quantity,2) }} | {{ number_format($transaction->balance_after,2) }} | {{ \App\Models\SystemSetting::formatMoney($transaction->quantity*$transaction->unit_cost) }} | {{ $transaction->user?->name ?: '-' }} | {{ $transaction->reason ?: $transaction->note ?: '-' }} |
| No housekeeping stock transactions found. | ||||||||||||
| Totals | {{ number_format($housekeepingTransactions->sum('quantity'),2) }} | {{ \App\Models\SystemSetting::formatMoney($housekeepingTransactions->sum(fn($row)=>$row->quantity*$row->unit_cost)) }} | ||||||||||
| Date | Meal Plan | Rooms | Adults | Children | Total Guests |
|---|---|---|---|---|---|
| {{ $row['service_date']->format('d M Y') }} | {{ $row['meal_plan'] }} | {{ $row['rooms'] }} | {{ $row['adults'] }} | {{ $row['children'] }} | {{ $row['guests'] }} |
| No meals are required for the selected dates. | |||||
| Meal Service Totals | Breakfast {{ $mealReport['totals']['breakfast']['guests'] }} | Lunch {{ $mealReport['totals']['lunch']['guests'] }} | Dinner {{ $mealReport['totals']['dinner']['guests'] }} | ||||
| Date | Hotel | Room | Guest | Meal Plan | Adults | Children | Total | Breakfast | Lunch | Dinner | Notes |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $row['service_date']->format('d M Y') }} | {{ $mealBooking->room?->hotel?->name ?: '-' }} | {{ $mealBooking->room?->name ?: $mealBooking->room?->room_no }} | {{ $mealBooking->guest_name }} | {{ $row['meal_plan'] }} | {{ $row['adults'] }} | {{ $row['children'] }} | {{ $row['adults'] + $row['children'] }} | {{ $row['breakfast'] ? 'Yes' : '-' }} | {{ $row['lunch'] ? 'Yes' : '-' }} | {{ $row['dinner'] ? 'Yes' : '-' }} | {{ $mealBooking->notes ?: '-' }} |
| No meals are required for the selected dates. | |||||||||||
| Meal Service Totals | {{ $mealReport['totals']['breakfast']['guests'] }} | {{ $mealReport['totals']['lunch']['guests'] }} | {{ $mealReport['totals']['dinner']['guests'] }} | ||||||||
| Movement | Hotel | Room | Guest | Phone | Meal Plan | Check In | Expected Out | Adults | Children | Status |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $row['movement'] }} | {{ $movementBooking->room?->hotel?->name ?: '-' }} | {{ $movementBooking->room?->name ?: $movementBooking->room?->room_no }} | {{ $movementBooking->guest_name }} | {{ $movementBooking->guest_phone ?: '-' }} | {{ $movementBooking->ratePlan?->mealPlan?->name ?: 'Bed Only' }} | {{ $movementBooking->check_in_at?->format('d M Y H:i') }} | {{ $movementBooking->expected_check_out_at?->format('d M Y H:i') }} | {{ $movementBooking->adults ?: 1 }} | {{ $movementBooking->children ?: 0 }} | {{ str_replace('_', ' ', ucfirst($movementBooking->status)) }} |
| No guest movements found. | ||||||||||
| Hotel | Total Rooms | Occupied | Available | Maintenance | Adults | Children | Guests | Occupancy |
|---|---|---|---|---|---|---|---|---|
| {{ $row['hotel'] }} | {{ $row['total_rooms'] }} | {{ $row['occupied_rooms'] }} | {{ $row['available_rooms'] }} | {{ $row['maintenance_rooms'] }} | {{ $row['adults'] }} | {{ $row['children'] }} | {{ $row['adults'] + $row['children'] }} | {{ number_format($row['occupancy_rate'], 1) }}% |
| No rooms found. | ||||||||
| Totals | {{ $occupancyReport['totals']['total_rooms'] }} | {{ $occupancyReport['totals']['occupied_rooms'] }} | {{ $occupancyReport['totals']['available_rooms'] }} | {{ $occupancyReport['totals']['maintenance_rooms'] }} | {{ $occupancyReport['totals']['adults'] }} | {{ $occupancyReport['totals']['children'] }} | {{ $occupancyReport['totals']['adults'] + $occupancyReport['totals']['children'] }} | {{ number_format($occupancyReport['totals']['occupancy_rate'], 1) }}% |
| Hotel | Room | Bookings | Nights | Total | Paid | Balance |
|---|---|---|---|---|---|---|
| {{ $row['hotel'] }} | {{ $row['room'] }} | {{ $row['bookings'] }} | {{ $row['nights'] }} | {{ \App\Models\SystemSetting::formatMoney($row['total']) }} | {{ \App\Models\SystemSetting::formatMoney($row['paid']) }} | {{ \App\Models\SystemSetting::formatMoney($row['balance']) }} |
| No room report records found. | ||||||
| Totals | {{ \App\Models\SystemSetting::formatMoney($roomReport['totals']['total']) }} | {{ \App\Models\SystemSetting::formatMoney($roomReport['totals']['paid']) }} | {{ \App\Models\SystemSetting::formatMoney($roomReport['totals']['balance']) }} | |||
| Action | Hotel | Room | Guest | Meal Plan | Check In | Expected Out | Nights | Status | Payment | Total | Paid | Balance | Added By |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $booking->room?->hotel?->name ?: '-' }} | {{ $booking->room?->name ?: $booking->room?->room_no }} | {{ $booking->guest_name }} | {{ $booking->ratePlan?->mealPlan?->name ?: ($booking->chargeType?->name ?: 'Bed Only') }} | {{ $booking->check_in_at?->format('Y-m-d H:i') }} | {{ $booking->expected_check_out_at?->format('Y-m-d H:i') }} | {{ $booking->nights }} | {{ str_replace('_', ' ', ucfirst($booking->status)) }} | {{ $booking->paymentMethod?->name ?: '-' }} | {{ \App\Models\SystemSetting::formatMoney($booking->total_amount) }} | {{ \App\Models\SystemSetting::formatMoney($booking->paid_amount) }} | {{ \App\Models\SystemSetting::formatMoney($booking->balance_amount) }} | {{ $booking->user?->name ?: '-' }} | |
| No room report records found. | |||||||||||||
| Totals | {{ \App\Models\SystemSetting::formatMoney($roomReport['totals']['total']) }} | {{ \App\Models\SystemSetting::formatMoney($roomReport['totals']['paid']) }} | {{ \App\Models\SystemSetting::formatMoney($roomReport['totals']['balance']) }} | ||||||||||
| Action | Hotel | Room | Guest | Meal Plan | Check In | Expected Out | Status | Payment | Total | Paid | Balance | Added By |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $booking->room?->hotel?->name ?: '-' }} | {{ $booking->room?->name ?: $booking->room?->room_no }} | {{ $booking->guest_name }} | {{ $booking->ratePlan?->mealPlan?->name ?: ($booking->chargeType?->name ?: 'Bed Only') }} | {{ $booking->check_in_at?->format('Y-m-d H:i') }} | {{ $booking->expected_check_out_at?->format('Y-m-d H:i') }} | {{ str_replace('_', ' ', ucfirst($booking->status)) }} | {{ $booking->paymentMethod?->name ?: '-' }} | {{ \App\Models\SystemSetting::formatMoney($booking->total_amount) }} | {{ \App\Models\SystemSetting::formatMoney($booking->paid_amount) }} | {{ \App\Models\SystemSetting::formatMoney($booking->balance_amount) }} | {{ $booking->user?->name ?: '-' }} | |
| No debtors found. | ||||||||||||
| Totals | {{ \App\Models\SystemSetting::formatMoney($debtorsReport['totals']['total']) }} | {{ \App\Models\SystemSetting::formatMoney($debtorsReport['totals']['paid']) }} | {{ \App\Models\SystemSetting::formatMoney($debtorsReport['totals']['balance']) }} | |||||||||
| Hotel | Bookings | Rooms | Total | Paid | Balance |
|---|---|---|---|---|---|
| {{ $row['hotel'] }} | {{ $row['bookings'] }} | {{ $row['rooms'] }} | {{ \App\Models\SystemSetting::formatMoney($row['total']) }} | {{ \App\Models\SystemSetting::formatMoney($row['paid']) }} | {{ \App\Models\SystemSetting::formatMoney($row['balance']) }} |
| No report records found. | |||||
| Action | Hotel | Room | Guest | Meal Plan | Check In | Expected Out | Nights | Status | Payment | Total | Paid | Balance | Added By |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $booking->room?->hotel?->name ?: '-' }} | {{ $booking->room?->name ?: $booking->room?->room_no }} | {{ $booking->guest_name }} | {{ $booking->ratePlan?->mealPlan?->name ?: ($booking->chargeType?->name ?: 'Bed Only') }} | {{ $booking->check_in_at?->format('Y-m-d H:i') }} | {{ $booking->expected_check_out_at?->format('Y-m-d H:i') }} | {{ $booking->nights }} | {{ str_replace('_', ' ', ucfirst($booking->status)) }} | {{ $booking->paymentMethod?->name ?: '-' }} | {{ \App\Models\SystemSetting::formatMoney($booking->total_amount) }} | {{ \App\Models\SystemSetting::formatMoney($booking->paid_amount) }} | {{ \App\Models\SystemSetting::formatMoney($booking->balance_amount) }} | {{ $booking->user?->name ?: '-' }} | |
| No report records found. | |||||||||||||
| Totals | {{ \App\Models\SystemSetting::formatMoney($generalReport['totals']['total']) }} | {{ \App\Models\SystemSetting::formatMoney($generalReport['totals']['paid']) }} | {{ \App\Models\SystemSetting::formatMoney($generalReport['totals']['balance']) }} | ||||||||||
| Action | Hotel | Room | Guest | Meal Plan | Check In | Expected Out | Nights | Status | Payment | Total | Paid | Balance | Added By |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $booking->room?->hotel?->name ?: '-' }} | {{ $booking->room?->name ?: $booking->room?->room_no }} | {{ $booking->guest_name }} | {{ $booking->ratePlan?->mealPlan?->name ?: ($booking->chargeType?->name ?: 'Bed Only') }} | {{ $booking->check_in_at?->format('Y-m-d H:i') }} | {{ $booking->expected_check_out_at?->format('Y-m-d H:i') }} | {{ $booking->nights }} | {{ str_replace('_', ' ', ucfirst($booking->status)) }} | {{ $booking->paymentMethod?->name ?: '-' }} | {{ \App\Models\SystemSetting::formatMoney($booking->total_amount) }} | {{ \App\Models\SystemSetting::formatMoney($booking->paid_amount) }} | {{ \App\Models\SystemSetting::formatMoney($booking->balance_amount) }} | {{ $booking->user?->name ?: '-' }} | |
| No accommodation records found today. | |||||||||||||
| Totals | {{ \App\Models\SystemSetting::formatMoney($bookings->sum('total_amount')) }} | {{ \App\Models\SystemSetting::formatMoney($bookings->sum('paid_amount')) }} | {{ \App\Models\SystemSetting::formatMoney($bookings->sum('balance_amount')) }} | ||||||||||