@extends('layouts.app') @section('content')

Dashboard Monitoring Kebersihan

Status kebersihan seluruh ruangan RS untuk tanggal: {{ date('d F Y', strtotime($filterDate)) }}

@php $total = $locations->count(); $cleaned = $locations->where('is_cleaned', true)->count(); $notCleaned = $total - $cleaned; @endphp

{{ $total }}

Total Ruangan

{{ $cleaned }}

Sudah Bersih

{{ $notCleaned }}

Belum Bersih
Rincian Status Ruangan
@forelse($locations as $loc) @empty @endforelse
Nama Lokasi Kode QR Petugas Waktu Scan Status pd. {{ date('d/m/Y', strtotime($filterDate)) }}
{{ $loc->name }} {{ $loc->code }} {{ $loc->cleaned_by ?? '-' }} @if($loc->cleaned_at) {{ \Carbon\Carbon::parse($loc->cleaned_at)->format('H:i') }} @else - @endif @if($loc->is_cleaned) Sudah Dibersihkan @else Belum Dibersihkan @endif
Belum ada data lokasi.
@endsection