@extends('layouts.app') @section('title', 'Rate Plans') @section('nav_rates', 'bg-teal-50 text-teal-700 font-semibold') @section('page_title', 'Rate Plans') @section('page_subtitle', 'Pricing tiers applied at reservation') @section('content') @if(session('success'))
{{ session('success') }}
No rate plans yet. Create the first one.
| Plan | Type | Modifier | Constraints | Reservations | Status | |
|---|---|---|---|---|---|---|
|
{{ $plan->name }} {{ $plan->code }} @if($plan->description){{ $plan->description }} @endif |
{{ $typeLabels[$plan->type] ?? $plan->type }} |
{{ $plan->modifierLabel() }}
@if($plan->type === 'fixed')
{{ $plan->rates->count() }} room types defined @endif |
@if($plan->min_nights)
Min {{ $plan->min_nights }} nights @endif @if($plan->valid_from || $plan->valid_until){{ $plan->valid_from?->format('M j, Y') ?? '—' }} → {{ $plan->valid_until?->format('M j, Y') ?? '—' }} @endif @if(!$plan->min_nights && !$plan->valid_from && !$plan->valid_until)None @endif |
{{ $plan->reservations_count }} |
@if($plan->active) Active @else Inactive @endif |