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

Rate Plans

@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') @endhasAccess @hasAccess('Delete Rate Plan')
@csrf @method('DELETE') {{-- @component('components.confirm',[ 'modal' => 'modal-'.$ratePlan->RatePlanId, 'id' => 'delete-form-'.$ratePlan->RatePlanId, 'title' => 'Rate Plan' ]) @endcomponent --}}
@endhasAccess
{{-- {{$ratePlans->appends(request()->query())->links('vendor.pagination.default')}} --}} {{$ratePlans->links()}}
@endsection