Summary
Full name: {{ $data['title'] }} {{ $data['name'] }}
Email: {{ $data['email'] }}
Job title: {{ $data['jobtitle'] }}
Employee type: {{ $data['employee_type'] }}
Person type: {{ $data['person_type'] }}
Is director?
@if ($data['is_director'] == 1)
Yes
@else
No
@endif
Company:
@if ($this->data['company'])
{{ $companies[$this->data['company']] }}
@else
Not Selected
@endif
Department:
@if ($this->data['department'])
{{ $departments[$this->data['department']] }}
@else
Not Selected
@endif
Division:
@if ($this->data['division'])
{{ $divisions[$this->data['division']] }}
@else
Not Selected
@endif
Role:
@if ($this->data['role'])
{{ $roles[$this->data['role']] }}
@else
Not Selected
@endif
Team:
@if ($this->data['team'])
{{ $teams[$this->data['team']] }}
@else
Not Selected
@endif
Level:
@if ($this->data['level'])
{{ $this->data['level'] }}
@else
Not Selected
@endif
Line manager:
@if ($this->data['line_manager'])
{{ $line_manager[$this->data['line_manager']] }}
@else
Not Selected
@endif
Location:
@if ($this->data['location'])
{{ $locations[$this->data['location']] }}
@else
Not Selected
@endif
Full time/Part time: {{ $data['fullparttime'] }}
{{-- @if ($data['fullparttime'] === 'Part Time') --}}
Working days:
@php
$dayNames = [
1 => 'Mon',
2 => 'Tue',
3 => 'Wed',
4 => 'Thu',
5 => 'Fri',
6 => 'Sat',
7 => 'Sun',
];
@endphp
@foreach ($data['workingdays'] as $dayNumber)
{{ $dayNames[$dayNumber] }} ,
@endforeach
{{-- @endif --}}
Weekly hours:
{{ $data['weeklyhours'] }}
Holiday:
@if ($data['holiday_assign'] === 'other')
{{ $data['holidayother'] }}
@else
{{ $data['holiday_assign'] }}
@endif
Holiday max: {{ $data['holiday_max'] }}
Holiday increment:
@if ($data['holiday_increasement'] == 1)
Yes
@else
No
@endif
Receive statutory holidays:
@if ($data['receive_statutory_holidays'] == 1)
Yes
@else
No
@endif
Once you click submit this employee will become active and live.