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

PROGRESS DASHBOARD

@endsection @section('content') @php $catLetter = 65; @endphp
@forelse($progresses as $progress) @php $letter = chr($catLetter); @endphp @for($i = 0; $i < 8; $i++) @endfor @foreach($progress->details as $detail) @php $yearProgress = $detail->year_progress; $currentYearProgress = $detail->current_year_progress; $cumulativeAsOfJune = $detail->cumulative_progress; $totalCumulative = $cumulativeAsOfJune + $currentYearProgress; @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 }} {{ $yearProgress }} {{ $cumulativeAsOfJune }} {{ $detail->current_year_targets }} {{ $currentYearProgress }} @php $percent = $detail->current_year_targets > 0 ? round(($currentYearProgress / $detail->current_year_targets) * 100) : 0; @endphp {{ $percent }}% {{ $totalCumulative }} @php $cum_percent = $detail->project_targets > 0 ? round(($totalCumulative / $detail->project_targets) * 100) : 0; @endphp {{ $cum_percent }}%
No Data Found
@endsection