@extends('dashboard.layouts.app') @push('headScripts') @endpush @section('content')
| Weight | ||||||
|---|---|---|---|---|---|---|
| {{ __(ucwords(str_replace('_',' ',$section))) }} | {{ $users_kpi->Questions()->where('kpi_question_section',$section)->sum('kpi_question_weight') }}% | @if($loop->first){{ \Carbon\Carbon::create()->month($users_kpi->month)->translatedFormat('F') }} - {{ $users_kpi->year }}@endif | ||||
| {{ $question->kpi_question_question }} | {{ $question->kpi_question_weight }}% | {{ $question->employee_target }} | {{ $question->employee_actual }} | {{ $score }}% | {{-- @if($section=='kpis')--}} @php($totalKpis+=$score/.5) {{ $score/$percentage }}% {{-- @endif--}} | |
| {{ $totalKpis }}% | ||||||
| {{ $totalWeight100 }}% | {{ $totalScore100 }}% | |||||
| {{ __(ucwords(str_replace('_',' ',$section))) }} | {{ $users_kpi->Questions()->where('kpi_question_section',$section)->sum('kpi_question_weight') }}% | |||||
| {{ $question->kpi_question_question }} | {{ $question->kpi_question_weight }}% | {{ $score30 }}% | ||||
| Total | {{ $users_kpi->Questions()->sum('kpi_question_weight') }}% | {{-- | {{ $totalKpis+$totalScore30 }}% | --}}{{ $totalScore100+$totalScore30 }}% | ||