CPF Days In Status Report {{-- TYPE TABS --}}
@foreach(\App\Components\PensionCase\DaysInStatusReport::TYPES as $key => $label) @php $total = $totals[$key] ?? 0; @endphp @endforeach
{{-- BUCKET TABLE --}}
{{ strtoupper($claimType) }} Time In Current Status
Loading...
@forelse($reportData as $row) @php $total = $row->range_today + $row->range_week + $row->range_month + $row->range_old; @endphp {{-- Today Bucket --}} {{-- 2-7 Days Bucket --}} {{-- 8-30 Days Bucket --}} {{-- 30+ Days Bucket --}} {{-- Row Total --}} @empty @endforelse @php $noStatusTotal = $noStatusData->range_today + $noStatusData->range_week + $noStatusData->range_month + $noStatusData->range_old; @endphp @if($noStatusTotal > 0) @endif
Status Name Today 2-7 Days 8-30 Days 30+ Days Total
{{ $row->name }} {{ $row->range_today }} {{ $row->range_week }} {{ $row->range_month }} {{ $row->range_old }} {{ number_format($total) }}
No statuses configured for {{ strtoupper($claimType) }}.
No status assigned {{ $noStatusData->range_today }} {{ $noStatusData->range_week }} {{ $noStatusData->range_month }} {{ $noStatusData->range_old }} {{ number_format($noStatusTotal) }}