@extends('layouts.website.website') @section('content')
Alloted Beds
@foreach (App\BedAllotment::latest()->get() as $item) @endforeach
Bed Id Patient Alloted Time Discharge Time Options
{{ $item->bed_info->category->name }}-Bed {{ $item->id }} {{ $item->user->name }} {{ Carbon\Carbon::parse($item->alloted_time)->format('d,M Y') }} {{ Carbon\Carbon::parse($item->discharge_time)->format('d,M Y') }} Delete
@endsection