@extends('layouts.app') @section('title', 'All Hotels') @section('content')

All Hotels

Hotel accounts registered on the platform

@forelse($hotels as $hotel) @empty @endforelse
# Hotel Name Plan TIN Contact Email Phone City Branches Status Created Actions
{{ $hotels->firstItem() + $loop->index }} {{ $hotel->name }} {{ $hotel->plan?->name ?? '—' }} {{ $hotel->tin ?? '—' }} {{ $hotel->email }} {{ $hotel->phone ?? '—' }} {{ $hotel->city ?? '—' }} @if($hotel->supportsMultiBranch()) {{ $hotel->branches_count }} @else @endif @if($hotel->isActive()) Active @else {{ ucfirst($hotel->status) }} @endif {{ $hotel->created_at->format('M d, Y') }} @if($hotel->adminUser)
@csrf
@else No admin @endif
No hotels yet. Create the first hotel account.
{{ $hotels->links() }}
@endsection