@extends('layouts.app') @section('dashboard-title')

PROGRESS DASHBOARD

@endsection @section('content') @php $catLetter = 65; // ASCII 'A' @endphp
{{-- Row 1: Group Headers --}} {{-- Row 2: Sub Headers --}} @forelse($progresses as $progress) @php $letter = chr($catLetter); // A, B, C... $subIndex = 1; @endphp {{-- Component Header --}} {{-- Subcategories --}} @foreach($progress->details as $detail) @php $subIndex++; @endphp @endforeach @php $catLetter++; @endphp @empty @endforelse
ACTIVITIES: STATUS PROJECT
TARGETS
YEAR (2024-25) CURRENT YEAR (2025-26) CUMULATIVE
2024-25
PROGRESS
CUMULATIVE
PROGRESS
(As on June 2025)
TARGETS PROGRESS PROGRESS
%
PROGRESS PROGRESS
%
{{ $letter }}- {{ $progress->category }}
{{ $detail->sub_categories }} {{ $detail->status == "inprogress" ? "IN PROGRESS" : strtoupper($detail->status) }} {{ $detail->project_targets }} {{ $detail->year_progress }} {{ $detail->comulative_progress }} {{ $detail->current_year_targets }} {{ $detail->current_year_progress }} @php $percent = $detail->current_year_targets > 0 ? round(($detail->current_year_progress / $detail->current_year_targets) * 100) : 0; @endphp {{ $percent }}% {{ $detail->year_progress + $detail->current_year_progress }} @php $cum_percent = ($detail->year_progress + $detail->current_year_progress) > 0 ? round((($detail->year_progress + $detail->current_year_progress) / $detail->project_targets) * 100) : 0; @endphp {{ $cum_percent }}%
No Data Found
@endsection