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

brightness_1Current Accommodation RatePlans

@component('admin.includes.per-page') @endcomponent @forelse($ratePlans as $i => $ratePlan) @empty @endforelse
# Rate Plan Id Name Room Type Create Date Actions
{{$i + $ratePlans->firstItem()}} {{$ratePlan->RatePlanId}} {{$ratePlan->RatePlanName}} {{$ratePlan->roomType->RoomTypeName}} {{$ratePlan->CreateDate->diffForHumans()}} @hasAccess('View Rate Plan') visibility @endhasAccess @hasAccess('Delete Rate Plan') delete @component('components.confirm',[ 'modal' => 'modal-'.$ratePlan->RatePlanId, 'id' => 'delete-form-'.$ratePlan->RatePlanId, 'title' => 'Rate Plan' ]) @endcomponent
@csrf @method('DELETE')
@endhasAccess
{{$ratePlans->appends(request()->query())->links('vendor.pagination.default')}}
@hasAccess('Create Rate Plan')
add
@endhasAccess @component('admin.includes.loader') @endcomponent @endsection