@extends('layouts.main-layout') @section('title') All RoomTypes | Dashboard @endsection @section('content')

Current Accommodation RoomTypes

@forelse($roomTypes as $i => $roomType) @empty @endforelse
# Room Type Id Name Rack Rate No of Beds Create Date Actions
{{$i + $roomTypes->firstItem()}} {{$roomType->RoomTypeId}} {{$roomType->RoomTypeName}} {{$roomType->RackRate}} {{$roomType->NoOfBeds}} {{$roomType->CreateDate->diffForHumans()}} @hasAccess('Edit Room Type') @endhasAccess @hasAccess('Delete Room Type')
@csrf @method('DELETE') {{-- @component('components.confirm',[ 'modal' => 'modal-'.$roomType->RoomTypeId, 'id' => 'delete-form-'.$roomType->RoomTypeId, 'title' => 'RoomType' ]) @endcomponent --}}
@endhasAccess
{{-- {{$roomTypes->appends(request()->query())->links('vendor.pagination.default')}} --}} {{$roomTypes->links()}}
@endsection