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

Settings

@if(config('hotel_sync.enabled') && auth()->user()->hasPermission('hotel_settings.manage'))Offline / Online Sync@endifBack to Rooms
@foreach(['floor'=>'Add Floor','type'=>'Add Room Type','plan'=>'Add Room Rate','room'=>'Add Room'] as $kind=>$label)@endforeach

System Configuration

@csrf

These are suggested times. Reception checks guests out manually.

Exchange Rate

@csrf

Rooms

@forelse($rooms as $room)@php($roomPrices=app(\App\Services\HotelStayPricingService::class)->rates($room))@empty@endforelse
RoomFloorTypeNightly (USD)Monthly / Night3 Months / NightStatusAction
{{ $room->name }}{{ $room->floorRecord?->name }}{{ $room->type?->name }}{{ number_format($roomPrices['daily'],2) }}{{ $roomPrices['monthly']===null?'Not set':number_format($roomPrices['monthly'],2) }}{{ $roomPrices['quarterly']===null?'Not set':number_format($roomPrices['quarterly'],2) }}{{ ucfirst($room->status) }}@include('hotel_workspace.record_actions',['recordType'=>'room','recordId'=>$room->id,'recordModule'=>'hotel-settings'])
Add room types, their rates and rooms to start taking bookings.

Room Types and Saved Prices (USD)

@foreach($types as $type)@endforeach
Room TypeMaximum GuestsNightly (USD)Monthly / Night3 Months / NightAction
{{ $type->name }}{{ $type->max_occupancy ?: $type->capacity }}{{ number_format($type->default_rate,2) }}{{ $type->hotel_monthly_rate===null?'Not set':number_format($type->hotel_monthly_rate,2) }}{{ $type->hotel_quarterly_rate===null?'Not set':number_format($type->hotel_quarterly_rate,2) }}@include('hotel_workspace.record_actions',['recordType'=>'type','recordId'=>$type->id,'recordModule'=>'hotel-settings'])

Room Rates

@foreach($plans as $plan)@endforeach
Rate PlanRoom TypeMeal PlanPer Night (USD)Additional Adult (USD)Action
{{ $plan->name }}{{ $plan->roomType?->name }}{{ $plan->mealPlan?->name }}{{ number_format($plan->base_rate,2) }}{{ number_format($plan->extra_adult_rate,2) }}@include('hotel_workspace.record_actions',['recordType'=>'plan','recordId'=>$plan->id,'recordModule'=>'hotel-settings'])

Floors

@foreach($floors as $floor)@endforeach
FloorAction
{{ $floor->name }}@include('hotel_workspace.record_actions',['recordType'=>'floor','recordId'=>$floor->id,'recordModule'=>'hotel-settings'])
@foreach(['floor'=>'Add Floor','type'=>'Add Room Type','plan'=>'Add Room Rate','room'=>'Add Room'] as $kind=>$label)

{{ $label }}

@csrf @if($kind==='type')@endif @if($kind==='room')@endif @if(in_array($kind,['room','plan']))@endif @if(in_array($kind,['room','type']))@endif @if($kind==='plan')@endif
@endforeach @endsection