@extends('layouts.admin') @section('title') All RatePlans | Dashboard @endsection @section('content')
# | 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 @endhasAccess |