{{-- Header --}}
Enter KPI Progress Record monthly progress for {{ $department->name }} KPIs
{{-- Success Message --}} @if (session()->has('success')) {{ session('success') }} @endif {{-- Instructions --}} Click on any month to enter or update progress. You can only enter progress for months up to the current month. {{-- KPI Progress Entry Cards --}}
@forelse ($assignments as $assignment)
{{-- KPI Header --}}
{{ $assignment['kpi_title'] }} {{ $assignment['kpi_description'] }}
Target for {{ $year }}: {{ number_format($assignment['target'], 2) }}
{{-- Monthly Progress Grid --}}
@foreach ($assignment['monthly_progress'] as $month => $data) @endforeach
@empty No KPIs assigned to your department for {{ $year }}. @endforelse
{{-- Progress Entry Modal --}} @if ($showModal)
Enter Progress for {{ $monthName }} {{ $year }}
{{-- Progress Value --}} Progress Value * @error('progressValue') {{ $message }} @enderror {{-- Remarks --}} Remarks (Optional) @error('remarks') {{ $message }} @enderror
Cancel Save Progress
@endif