{{-- Hotel and resort stays are booked from one screen. A hotel is priced by hand; a resort is priced and held from its own rooms and rates, so each keeps its own form and this switch sits on top of both. $active is 'hotel' or 'resort'. --}} @php $canOpen = fn ($route) => auth()->user()->hasRole('super-admin') || auth()->user()->hasPermission($route); @endphp @if ($canOpen('admin.hotel-bookings.create') && $canOpen('admin.resort-bookings.create'))
@endif