@livewire('hr.jobs-train-component' ,['job_id' => $job->id ,'job'=>$job , 'component_name'=>"job-kpis"])

{{__('hr_messages.Full Details Of Your Job')}}

@if (session()->has('message'))
{{ session('message') }}
@endif
{{__('messages.Name')}}
{{$job->name}}
{{__('hr_messages.Is Official')}}
@if($job->is_official == 1) @else @endif
{{__('hr_messages.Description')}}
@if ($job->description) {{ $job->description}} @else - @endif
{{__('hr_messages.Min Salary')}}
@if ($job->min_salary) {{ $job->min_salary}} @else - @endif
{{__('hr_messages.Max Salary')}}
@if ($job->max_salary) {{ $job->max_salary}} @else - @endif
{{__('messages.Updated At')}}
{{ $job->updated_at}}
{{__('messages.Updated By')}}
{{($job->last_updated_by_user)?$job->last_updated_by_user->name:"-"}}
{{__('messages.Created At')}}
{{ $job->created_at}}

{{__('hr_messages.Add Kpis To Jobs')}} {{$job->name}}

@can("add jobs")
job_id
kpis_id @forelse(\App\Models\KeyPerformanceIndicator::all() as $kbi) @empty @endforelse
{{__('hr_messages.Add Kpis')}}
@endcan
@can("show jobs") # {{__('hr_messages.Kpis')}} {{__('hr_messages.Job')}} {{__('messages.Updated By')}} {{__('messages.Created At')}}   @forelse (\App\Models\JobKeyPerformanceIndicator::all() as $key =>$job_kbi) #{{$types->firstItem() + $key}} {{__('hr_messages.Description')}}{{$job_kbi->job_key_performance_indicator->name}} {{__('hr_messages.Description')}}{{$job_kbi->job->name}} {{__('messages.Updated By')}}{{($job->last_updated_by_user)?$job->last_updated_by_user->name:"-"}} {{__('messages.Created At')}}{{($job->created_at)?$job->created_at:""}}
@can("edit job_key_performance_indicators") @endcan @can("delete job_key_performance_indicators") Job Kpi : {{$job_kbi->job_key_performance_indicator->name}} {{$job_kbi->id}} @endcan
@empty {{__('messages.Empty Result')}} @endforelse
{{$types->links()}} @endcan