{{ __('hr_messages.Full Details Of Employee') }}

{{-- Showing Data --}}
{{-- Name --}}
{{ __('messages.Name') }}
{{ $employee->name }}
{{-- Birth Date --}}
{{ __('hr_messages.Birth Date') }}
{{ $employee->birth_date }}
{{-- Gender --}}
{{ __('hr_messages.Gender') }}
{{ $employee->gender }}
{{-- Contract Type Id --}}
{{ __('hr_messages.Contract Type') }}
{{ $employee->contract_type_id ? $employee->contract_type->name : '-' }}
{{-- Nationality --}}
{{-- Job --}} {{-- Religion --}}
{{ __('hr_messages.Religion') }}
{{ $employee->religion_id ? $employee->religion->name : '-' }}
{{-- Updated At --}}
{{ __('messages.Updated At') }}
{{ $employee->updated_at }}
{{-- Updated By --}}
{{ __('messages.Updated By') }}
{{ $employee->last_updated_by_user ? $employee->last_updated_by_user->name : '-' }}
{{-- Created At --}}
{{ __('messages.Created At') }}
{{ $employee->created_at }}
@if (session()->has('message'))
{{ session('message') }}
@endif
{{-- Inputs --}} @if ($employee->job->key_performance_indicators)
@forelse($employee->job->key_performance_indicators as $key => $emp_kpi)
{{__('hr_messages.Add Kpi To Employee')}}
{{-- Value Rabge Slider --}}
{{ trans_choice('hr_messages.Value', 0) }} :
{{-- Comment --}}
@empty @endforelse
@else @endif {{-- Table --}} # {{__('hr_messages.Kpis')}} {{__('hr_messages.Employee Name')}} {{__('hr_messages.Value')}} {{__('hr_messages.Comment')}} {{__('messages.Created At')}} {{__('messages.Updated By')}}   @forelse($employee->employee_key_performance_indicators as $emp_kpi) #{{$loop->iteration}} {{__('hr_messages.Kpis')}} {{$emp_kpi->job_key_performance_indicator_id}} {{__('hr_messages.Employee Name')}} {{$emp_kpi->employee->name}} {{__('hr_messages.Value')}} {{ $emp_kpi->value }}% @if ($emp_kpi->value < 50 && $emp_kpi->value < 70 )
@elseif ($emp_kpi->value > 50 && $emp_kpi->value < 80)
@else
@endif
{{__('hr_messages.Comment')}}{{$emp_kpi->comment}} {{__('messages.Created At')}} {{$emp_kpi->created_at}} {{__('messages.Updated By')}} {{($emp_kpi->last_updated_by)?$emp_kpi->last_updated_by_user->name:"-"}} @can("delete jobs") {{-- Employee Name {{$emp_kpi->employee->name}} Excuse : {{$emp_kpi->excuse_type->name}} --}} {{$emp_kpi->id}} @endcan
@empty {{__('messages.Empty Result')}} @endforelse