| {{ $indicator['name'] ?? '' }} |
{{ $indicator['type'] ? __('general.' . $indicator['type']) : '' }} |
{{ $indicator['percent'] ?? 0 }} |
{{ $indicator['frequency'] ? __('general.' . $indicator['frequency']) : '' }} |
{{ $indicator['currency'] ?? '' }} |
{{-- Estimations for Q1-Q4 --}}
@foreach($indicator['indicator_logs'] ?? [] as $log)
{{ $log['estimation'] ?? '' }} |
@endforeach
{{-- Q1 Evaluations --}}
@php $q1 = ($indicator['indicator_logs'][0] ?? null); @endphp
{{ $q1['self_evaluation'] ?? '' }} |
{{ $q1['manager_evaluation'] ?? '' }} |
{{ $q1['ceo_percent_evaluation'] ?? '' }} |
{{-- Q2 Evaluations + Q1 Recovery --}}
@php $q2 = ($indicator['indicator_logs'][1] ?? null); @endphp
{{ $q2['self_evaluation'] ?? '' }} |
{{ $q2['manager_evaluation'] ?? '' }} |
{{ $q1['total_recoveries'] ?? '' }} |
{{ $q2['ceo_percent_evaluation'] ?? '' }} |
{{-- Q3 Evaluations + Q2 Recovery --}}
@php $q3 = ($indicator['indicator_logs'][2] ?? null); @endphp
{{ $q3['self_evaluation'] ?? '' }} |
{{ $q3['manager_evaluation'] ?? '' }} |
{{ $q2['total_recoveries'] ?? '' }} |
{{ $q3['ceo_percent_evaluation'] ?? '' }} |
{{-- Q4 Evaluations + Q3 Recovery --}}
@php $q4 = ($indicator['indicator_logs'][3] ?? null); @endphp
{{ $q4['self_evaluation'] ?? '' }} |
{{ $q4['manager_evaluation'] ?? '' }} |
{{ $q3['total_recoveries'] ?? '' }} |
{{ $q4['ceo_percent_evaluation'] ?? '' }} |
@endif
@endforeach
{{-- Total row for this group --}}
@foreach($groupIndicators as $indicator)
@if(isset($indicator['is_total']))
| {{ $indicator['name'] ?? 'Total' }} |
|
|
|
|
|
|
|
|
|
|
{{-- Q1 CEO Evaluation --}}
{{ ($indicator['indicator_logs'][0]['ceo_percent_evaluation'] ?? '') }} |
|
|
|
{{-- Q2 CEO Evaluation --}}
{{ ($indicator['indicator_logs'][1]['ceo_percent_evaluation'] ?? '') }} |
|
|
|
{{-- Q3 CEO Evaluation --}}
{{ ($indicator['indicator_logs'][2]['ceo_percent_evaluation'] ?? '') }} |
|
|
|
{{-- Q4 CEO Evaluation --}}
{{ ($indicator['indicator_logs'][3]['ceo_percent_evaluation'] ?? '') }} |
@endif
@endforeach
@endif
@endforeach