@extends('backend.partials.master') @section('title') {{ ___('label.hotel') }} {{ ___('label.room') }} @endsection @section('maincontent') @if(hasPermission('hotel_create')) {{ ___('label.add') }} @endif @if(!empty($analytics)) @endif @foreach($items as $r) @php $c = $r->status === 'available' ? 'success' : 'danger'; @endphp {{ $r->hotel->name ?? '' }} {{ $r->room_type }} {{ $r->capacity }} {{ currency_symbol() }}{{ number_format($r->rate_per_night) }} {{ $r->total_rooms }} {{ $r->available_rooms }} {{ admin_label(ucfirst($r->status)) }}
@if(hasPermission('hotel_update')) @endif @if(hasPermission('hotel_delete')) @endif
@endforeach
@endsection @push('scripts') @endpush