@livewire('hr.employee-train-component' , ['component_name' => 'create personal info' , 'employee' => $employee , 'employee_id' => $employee->id])

{{trans_choice('hr_messages.employee',0)}} - {{$employee->name}} - {{__('hr_messages.job info')}}

@if (session()->has('message'))
{{ session('message') }}
@endif
*
country_id getCities() @forelse(\App\Models\Country::all() as $country) @empty @endforelse
*
city_id @foreach($cities as $city) @endforeach
*
job_id @foreach(\App\Models\Job::all() as $job) @endforeach
*
department_id @foreach(\App\Models\Department::all() as $department) @endforeach
supervisor_id @foreach(\App\Models\Employee::where('id','!=',$employee->id)->where('employee_status_id',1)->get() as $supervisor) @endforeach
*
work_place_id @foreach(\App\Models\WorkPlace::all() as $work_place) @endforeach
@can('show employee_job_histories')

# {{__('hr_messages.Job')}} {{trans_choice('hr_messages.Department',1)}} {{__('hr_messages.Supervisor')}} {{__('hr_messages.Created By User') }} {{__("messages.Created At")}} @forelse ($employee->employee_job_histories as $key =>$history) #{{$loop->iteration}} {{__('hr_messages.Job')}}{{$history->job->name}} {{trans_choice('hr_messages.Department',1)}}{{$history->department->name}} {{__('hr_messages.Supervisor')}}{{$history->supervisor? $history->supervisor->name:'-'}} {{__('messages.Updated By')}}{{($history->created_by_user)?$history->created_by_user->name:"-"}} {{__('hr_messages.Created By User') }}{{$history->created_at}} @empty {{__('messages.Empty Result')}} @endforelse
@endcan