KPI Data
@if (session('message'))
× {{ session('message') }}.
@endif @php $totalWeight1 = 0; $totalWeightValue1 = 0; @endphp
{{-- user information Table goes here --}}
@csrf @method('PUT')
user image

Performance Evaluation Form

@php $supervisor_id = App\Models\SupervisorAssign::where('user_id', $user->id)->first(); // dd($supervisor_id); if ($supervisor_id != null) { $supervisor = App\Models\User::where('id', $supervisor_id->supervisor_id)->first(); } @endphp @isset($supervisor) @endisset
Staff Name: {{ $user->name }}
Staff ID: {{ $user->emp_id }}
Designation: {{ $user->designation->name ?? '' }}
Department: {{ $user->department->name ?? '' }}
Supervisor: {{ Str::upper($supervisor->name) ?? '' }}
Period: {{ $kpi_period ?? '' }}
user image
@foreach ($kpiEntries as $kpi) @php $kra_name = App\Models\Kra::where('id', $kpi->kra_id)->first()->name; $kpi_name = App\Models\Kpi::where('id', $kpi->kpi_id)->first()->name; @endphp @php $totalWeight1 += $kpi->weight_of_kpis; $totalWeightValue1 += $kpi->weight_value; @endphp @endforeach
Key Responsible Areas (KRA) Key Performance Indicators (KPI) Weight of KPIs Bench Mark/ Target Unit Achievement Justification
{{ $kra_name }} {{ $kpi_name }} {{ $kpi->weight_of_kpis }} {{ $kpi->bench_mark_target }} {{ $kpi->units }}
{{ $totalWeight1 }}