@if (session('message'))
×
{{ session('message') }}.
@endif
@php
$totalWeight1 = 0;
$totalWeightValue1 = 0;
@endphp
Key Responsible Areas (KRA) |
Key Performance Indicators (KPI) |
Weight of KPIs |
Bench Mark/ Target |
Unit |
Achievement |
Justification |
@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
{{ $kra_name }} |
{{ $kpi_name }} |
{{ $kpi->weight_of_kpis }} |
{{ $kpi->bench_mark_target }}
|
{{ $kpi->units }} |
|
|
@php
$totalWeight1 += $kpi->weight_of_kpis;
$totalWeightValue1 += $kpi->weight_value;
@endphp
@endforeach
|
{{ $totalWeight1 }} |
|