@extends('layouts.admin') @section('title', 'Rate Plans') @section('content') Add
@foreach($ratePlans as $rp)@endforeach
NameCodeTypeRoom TypeBase PriceActive
{{ $rp->name }}{{ $rp->code }}{{ ucfirst($rp->type) }}{{ $rp->roomType?->name ?? 'All' }}{{ number_format($rp->base_price, 2) }} @if($rp->is_active)@else@endif Edit
{{ $ratePlans->links() }}
@endsection