@extends('layouts.app') @section('title', 'Hotel Dashboard') @push('styles') @endpush @section('content')

Welcome, {{ auth()->user()->name }}

{{ $hotel?->name ?? 'Hotel' }} — choose a module below to get started

Your Plan

{{ $hotel?->plan?->name ?? 'None' }}

Active Modules

{{ count($moduleCards) }}

@if($hotel?->supportsMultiBranch())

Branches

{{ $hotel->branches_count }}

Branch Limit

{{ $hotel->maxBranches() === 0 ? 'Unlimited' : $hotel->maxBranches() }}

@endif
@if($hasChannelManager && $cmStatus)
@include('hotel.partials.dashboard-channel-manager')
@endif @if($hasBookingEngine && $bookingEngine)
@include('hotel.partials.dashboard-booking-engine')
@endif @if(count($gettingStartedSteps))

Where to start

Follow these steps to set up your hotel account. You can also open any module from the sidebar or the cards below.

@foreach($gettingStartedSteps as $step)
{{ $step['step'] }}
{{ $step['title'] }}

{{ $step['description'] }}

@if($step['available']) Start now @else Coming soon @endif
@endforeach
@endif @if($hotel?->supportsMultiBranch() && $hotel->branches_count === 0)

Set up your first branch

@if($hotel->canAddBranch()) Add Branch @endif

Your Enterprise plan supports multiple locations. Add your headquarters or first property to begin managing branches.

Go to Branches
@endif

Your modules

@if(count($moduleCards))
@foreach($moduleCards as $module)
{{ $module['label'] }}

{{ $module['description'] }}

@if($module['available']) Open module @else @endif
@endforeach
@else

No modules are enabled on your subscription plan. Contact the platform owner.

@endif
@if($hotel?->plan)

Subscription details

Plan: {{ $hotel->plan->name }} — {{ $hotel->plan->billingLabel() }}

Limits: {{ $hotel->plan->roomsLimitLabel() }}, {{ $hotel->plan->usersLimitLabel() }}, {{ $hotel->plan->branchesLimitLabel() }}

@endif @endsection @push('scripts') @endpush