@extends('layouts.regent') @section('title', "Room {$room} - OOO Detail - REGENT") @section('page-title', "Room {$room} - OOO Detail") @push('styles') @endpush @section('content') Back to OOO Report
Full year view (January - December 2025) showing all OOO dates for this room
Orange cells with ● indicate dates when this room is Out of Order. Gray dash (-) indicates the room is available. Light gray indicates invalid dates for that month (e.g., Feb 30).
| Month | @for($day = 1; $day <= 31; $day++){{ $day }} | @endfor||
|---|---|---|---|
| {{ ucfirst(substr($monthName, 0, 3)) }} | @for($day = 1; $day <= 31; $day++) @php $cellData = $yearlyMatrix[$monthName][$day] ?? null; @endphp @if($cellData === null)- | @elseif($cellData)● | @else- | @endif @endfor
| Begin Date | End Date | Repair Remark | Reason | Status |
|---|---|---|---|---|
| {{ $ooo->Begin_Date ? \Carbon\Carbon::parse($ooo->Begin_Date)->format('d M Y') : '-' }} | @if($ooo->End_Date && $ooo->End_Date !== '0001-01-01') {{ \Carbon\Carbon::parse($ooo->End_Date)->format('d M Y') }} @else Ongoing @endif | {{ $ooo->Repair_Remark ?? '-' }} | {{ $ooo->Reason_Desc ?? $ooo->Reason_Code ?? '-' }} | @if($ooo->Completed_On === '0001-01-01') Active @else Completed @endif |