@extends('layout/room') @section('title','Monitoring Room') {{-- @section('Sidebar') @include('layout/sidebar/room') @endsection --}} @section('Content')

Nama Lantai

{{-- KELAS --}} {{-- @foreach ($GetKelas as $Kelas) {{-- RUANGAN --}} {{--
@foreach ($GetRuangan as $Ruangan) @if ($Kelas->IDKelas == $Ruangan->IDKelas)
{{ $Ruangan->NamaRuangan }}
{{-- BED --}} {{--
@foreach ($GetBed as $Bed) @if ($Bed->Id_Kelas_Rawat == $Kelas->IDKelas && $Bed->Id_NamaRuangan == $Ruangan->IDRuangan) @php $HitungPasienByBed = DB::select("select count (c.[Case Status]) as CaseStatus from Cases c join Patient p on c.PatientCode = p.PatientCode join Company cp on c.CompanyCode = cp.CompanyCode join Room R on c.Room = R.OfficeName WHERE R.Active = 'T' and c.Room = '$Bed->NamaBed' and c.[Case Status] = 'OPEN' and c.[Closed Date] is null"); @endphp @foreach ($HitungPasienByBed as $Count) @if ($Count->CaseStatus != 0) {{ "ISI" }} @else {{ "KOSONG" }} @endif @endforeach @endif @endforeach
--}} {{-- End of Bed --}} {{--
@endif @endforeach
--}} {{-- End Of RUANGAN --}} {{-- @endforeach {{-- End of KELAS --}}
Earnings (Monthly)
$40,000
Earnings (Annual)
$215,000
Tasks
50%
Pending Requests
18
@endsection