Republic of the Philippines — {{ $opcr->agency->name }}

{{ $opcr->office->name }} | CY {{ $opcr->year }} | {{ ucwords(str_replace('_',' ',$opcr->review_period)) }} Review
Office Performance Commitment and Review (OPCR)
Strategic Performance Management System (SPMS) | CSC MC No. 6, s. 2012
{{-- Office Info --}} @if($opcr->office_vision) @endif @if($opcr->office_mission) @endif
Office/Division:{{ $opcr->office->name }}
Review Period: {{ $opcr->year }} — {{ ucwords(str_replace('_',' ',$opcr->review_period)) }} Status: {{ ucfirst($opcr->status) }}
Vision:{{ $opcr->office_vision }}
Mission:{{ $opcr->office_mission }}
{{-- Major Final Outputs --}} @foreach ($opcr->major_final_outputs as $i => $mfo) @endforeach
PART I — MAJOR FINAL OUTPUTS (MFO) AND SUCCESS INDICATORS
No. MFO / Program / Activity Success Indicators Target Actual
Accomplishment
Quality Efficiency Timeliness
{{ $i+1 }} {{ $mfo['name'] ?? $mfo }} {{ $mfo['quality'] ?? '—' }} {{ $mfo['efficiency'] ?? '—' }} {{ $mfo['timeliness'] ?? '—' }} {{ $mfo['target'] ?? '—' }} {{ $mfo['actual'] ?? '' }}
{{-- Core Functions --}} @foreach ($opcr->core_functions as $i => $fn) @endforeach
PART II — CORE FUNCTIONS
No. Program / Activity / Project Performance Indicator Rating
{{ $i+1 }} {{ $fn['name'] ?? $fn }} {{ $fn['indicator'] ?? '—' }} {{ $fn['rating'] ?? '' }}
{{-- Support Functions --}} @if(!empty($opcr->support_functions)) @foreach ($opcr->support_functions as $i => $fn) @endforeach
PART III — SUPPORT FUNCTIONS
No. Program / Activity Performance Indicator Rating
{{ $i+1 }} {{ $fn['name'] ?? $fn }} {{ $fn['indicator'] ?? '—' }} {{ $fn['rating'] ?? '' }}
@endif {{-- IPCR Rollup --}} @if($ipcrs->count()) @foreach($ipcrs as $ipcr) @endforeach
IPCR RATINGS ROLLUP ({{ $ipcrs->count() }} employees)
EmployeeRatingAdjectivalRemarks
{{ $ipcr->employee->full_name }} {{ $ipcr->actual_rating }} {{ $ipcr->adjectival_rating }} {{ $ipcr->supervisor_remarks }}
Office Average {{ round($ipcrs->avg('actual_rating'),3) }} —
@endif {{-- Final Rating Box --}} @if($opcr->actual_rating)
FINAL OFFICE PERFORMANCE RATING
{{ number_format($opcr->actual_rating,3) }}
{{ strtoupper($opcr->adjectival_rating) }}
@endif {{-- Remarks --}} @if($opcr->remarks)
Remarks:{{ $opcr->remarks }}
@endif {{-- Signatories --}}
{{ strtoupper($opcr->preparedBy?->employee?->full_name ?? '') }}
{{ $opcr->preparedBy?->employee?->position_title ?? 'HR Officer' }}
Prepared by
{{ strtoupper($opcr->office->head_name ?? '') }}
{{ $opcr->office->head_designation ?? 'Office Head' }}
Reviewed by
{{ strtoupper($opcr->approvedBy?->employee?->full_name ?? '') }}
Head of Agency
Approved by
Generated: {{ now()->format('F j, Y h:i A') }} | G-HRIS v1.0