@if(in_array('beds-edit', $authRolePermissions)) @endif @if(in_array('beds-delete', $authRolePermissions)) @endif @php $i=1;@endphp @if(count($data)>0) @foreach($data as $key=> $list) {{--
waiting_ipd_admission_id == '1' ? 'checked' : '' }}>
--}} @if(in_array('beds-edit', $authRolePermissions)) @endif @if(in_array('beds-delete', $authRolePermissions)) @endif @php $i++; @endphp @endforeach @else @endif
Sl No Bed Number Status Room No, Ward Name Building Bed Status IPD No Bed Group & Type Note Waiting IPDEditDelete
{{$data->firstItem() + $key}} {{ strtoupper($list->name) }} {!!($list->bed_available == 1) ? 'Available' : 'Booked'!!} {{$list->getRoom->room_number ?? ''}} - ({{ $list->getRoom->room_name ?? ''}})
{{$list->getFloor->name ?? ''}}
{{$list->getBuilding->name ?? ''}} {{ $list->getIpdAdmission->ipd_admission_no ?? 'N/A' }} {{$list->getBedGroup->name ?? ''}} @if(isset($list->getBedType->name))
- {{$list->getBedType->name}} ({{@$list->getBedType->getProductPrice->sale_price}}) @endif
{{$list->note ?? 'N/A'}} @if ($list->waiting_ipd_admission_id == 0) @else {{ $list->waiting_ipd_admission_id }} @endif
status == '1' ? 'checked' : '' }}>
No Data Found