Appraisal Form


@if(count($appraisal_section) > 0) @php $i = 0; $data = unserialize($appraisal_allocation->data); $count = $sum = $total = $average = 0; if(isset($data['question'])) { $count = count($data['question']); $sum = array_sum($data['question']); $total = $count * 5; $average = round((100 * $sum) / $total,2); } @endphp

Employee Name {{ $appraisal_allocation->employee_get->first_name }} {{ $appraisal_allocation->employee_get->last_name }}

Appraisal Date {{ date('d-m-Y') }}

Appraisal Period {{ date('Y') }}-{{ date('Y', strtotime('+1 year')) }}

Team {{ $appraisal_allocation->employee_get->departments->department }}

Domin {{ $appraisal_allocation->employee_get->domains->domain }}

Appraiser's Name {{ $appraisal_allocation->allocation_single->first_name }} {{ $appraisal_allocation->allocation_single->last_name }}

Total {{ $sum }}

Percentage {{ $average }}%

Unsatisfactory Marginal Satisfactory Highly Satisfactory Exceptional
1 2 3 4 5
@foreach($appraisal_section as $main_key => $section)

{{ $section->section_name }}

@foreach($main_question as $key => $main_section) @if($main_section->section_id == $section->id) @php $i++; @endphp @endif @endforeach
Sr No. Questions Ranking Comments
{{ $i }}

{{ $main_section->question }}

{{ isset($data['question'][$i]) ? $data['question'][$i] : '' }}

{{ isset($data['comment'][$i]) ? $data['comment'][$i] : '' }}

@endforeach

Part - 2

@if(count($extra_question) > 2) @php $i = 0; @endphp @foreach($extra_question as $e_key => $e_que) @if($e_que->employee_allow == 'Yes') @if($appraisal_allocation->emp_id == $appraisal_allocation->allocation_id) @endif @else @endif @endforeach
Sr No. To be filled by the Appraiser/Appraisee Filled by Appraisee
{{ ++$i }} {{ $e_que->question}}

{{ isset($data['extra_comment'][$e_key]) ? $data['extra_comment'][$e_key] : "" }}

{{ ++$i }} {{ $e_que->question}}

{{ isset($data['extra_comment'][$e_key]) ? $data['extra_comment'][$e_key] : "" }}

@endif

Comments and Suggestions by the Appraiser: [For Supervisor/ Management]

{{ isset($data['suggestion']) ? $data['suggestion'] : "" }}


Recommendations

{{ isset($data['recommendation']) ? $data['recommendation'] : "" }}


@if($appraisal_allocation->supervisor_id != null)

EC ID {{ $appraisal_allocation->supervisor_get->id }}

EC Name {{ $appraisal_allocation->supervisor_get->first_name }} {{ $appraisal_allocation->supervisor_get->last_name }}

AREAS TO BE IMPROVED/PROFESSIONAL DEVELOPMENT GOALS (FOR EC)

{{ isset($data['ec_section']) ? $data['ec_section'] : "" }}


@endif
@foreach($category as $cat) @endforeach
{{ $cat->cat_name }} {{ $cat->range }} {{ $cat->description }}
@endif