@extends('layouts.admin') @section('title') All RoomTypes | Dashboard @endsection @section('content')

brightness_1Current Accommodation RoomTypes

@component('admin.includes.per-page') @endcomponent @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') mode_edit @endhasAccess @hasAccess('Delete Room Type') delete @component('components.confirm',[ 'modal' => 'modal-'.$roomType->RoomTypeId, 'id' => 'delete-form-'.$roomType->RoomTypeId, 'title' => 'RoomType' ]) @endcomponent
@csrf @method('DELETE')
@endhasAccess
{{$roomTypes->appends(request()->query())->links('vendor.pagination.default')}}
@hasAccess('Create Room Type')
add
@endhasAccess @component('admin.includes.loader') @endcomponent @endsection