@extends('layout') @section('pageCss') @endsection @section('pageScripts') @include('admin.database.scripts.custom_policies') @endsection @section('title') Employees @endsection @section('actions')
{!! csrf_field() !!}
@if($page->hasReligion && $page->hasLocation && count($page->groups) && count($page->departments)) @endif @endsection @section('content') @if($page->hasReligion && $page->hasLocation && count($page->groups) && count($page->departments))
Add a new User
{!! csrf_field() !!}

Provide the new Employee details

Kindly specify the Job Information for the Employee

Employee Personal Information

Specify the Line Managers for this Employee

Select an Employee

Add

Manage Order

Fill in the employee compensation and benefits

@foreach($compensations as $compensation)
@endforeach

Fill in the employee leave balance

@foreach($leaves as $leave)
@endforeach
Months
Authority
Months
Authority

@endif @if(array_key_exists('importErrors',$page))
The following errors were encountered while importing your employees
Kindly fix them and attempt to import again.
more information
HRFlo validates the integrity of the data you're importing using it's import method,
when there's wrong information that you might have entered, HRFlo notifies you.
It's always a good practice to export a sheet first, and attempt to import it after modifying it.
@foreach($page->importErrors as $employeeId => $error_list) Employee ID: {{$employeeId}} , {{ count($error_list).' '.\Illuminate\Support\Str::plural('Error',count($error_list)) }}, click to view
@foreach($error_list as $error_item)
{{$error_item}}
@endforeach
@endforeach
@endif
@foreach($page->users as $item) @if($item->can_alter &&$item->id != \Auth::user()->id) @endif @if($item->can_alter && $item->id != \Auth::user()->id && $item->active) @endif @if($item->active) @endif @endforeach
# Name Employee ID Company Email Department Group Scope Actions
{{ $index++ }} {{ $item->name }} {{ $item->employee_id }} {{ $item->company_email }} {{ $item->department_name }} {{ $item->group_name }} {{ $item->active? 'A': 'D' }} {{ $item->role_id=='1'?'E':'H' }}
@if($item->active)
{!! csrf_field() !!}
Add a new family member
@endif @if(count($item->familyMembers)>0)
Current family members
@foreach($item->familyMembers as $family) @if($item->active) @endif @endforeach
# Name Relation Date Of Birth Visa Expiry Date Actions
{{$familyIndex++}} {{$family->name}} {{$family->relation}} {{ $family->date_of_birth }} {{ $family->visa_expiry_date }} @if($item->active)
{!! csrf_field() !!}
@endif
{!! csrf_field() !!}
Visa Expiry Date:
@endif
@endsection