Gender: {{ $employee->gender }}
Select Gender
Male
Female
Non-Binary
Gender Queer
Gender Fluid
Transgender
Not Disclosed
Marital staus: {{ $employee->marital_status }}
Select Marital Status
Single
Married/Civil Partner
Separated
Divorced
Widowed
Not Disclosed
Error! Please enter the postcode.
×
Nationally: {{ $employee->nationally }}
@foreach ($nationallyNames as $nationallyName)
@endforeach
Ethnicity: {{ $employee->ethnicity }}
Please Choose your Ethnicity
White British
White (other)
White Irish
Mixed race
Indian
Pakistani
Bangladeshi
Other Asian (non-Chinese)
Black Caribbean
Black African
Black (other)
Latin American
Chinese
Other
Not Disclosed
Religion: {{ $employee->religion }}
Please Choose your Religion
African Traditional & Diasporic
Agnostic
Atheist
Baha'i
Buddhism
Cao Dai
Chinese traditional religion
Christianity
Hinduism
Islam
Jainism
Juche
Judaism
Neo-Paganism
Nonreligious
Rastafarianism
Secular
Shinto
Sikhism
Spiritism
Tenrikyo
Unitarian-Universalism
Zoroastrianism
primal-indigenous
Other
Not Disclosed
Disability: @if($employee->disability == 1) Yes @else No @endif
Please Select Disability
Yes
No
Sexual orientation: {{ $employee->sexorientation }}
Please Choose your Sex Orientation
Heterosexual
Homosexual
Bisexual
Asexual
Not Disclosed
Division: {{ $employee->getDivision->divisionname }}
Please
select Division
@foreach ($divisionNames as $divisionName)
id ? 'selected' : '' }}>
{{ $divisionName->divisionname }}
@endforeach
Role: {{ $employee->getRole->rolename }}
Please select
Department
@foreach ($roleNames as $roleName)
id ? 'selected' : '' }}>
{{ $roleName->rolename }}
@endforeach
@php
// Split the comma-separated role IDs into an array
$Teams = explode(',', $employee->team);
// Retrieve the corresponding role names from the roles table
$TeamNames = App\Models\Team::whereIn('id', $Teams)->pluck('team');
@endphp
Team:
@foreach ($TeamNames as $teamName)
{{ $teamName }}
@endforeach
Level: {{ $employee->level }}
Please select level
Depot Operative
Director
Manager (Mid or Snr)
Snr Planner
Team Leader
Team Member
Location: {{ $employee->getLocation->locationname }}
Please select
Location
@foreach ($locationNames as $locationName)
id ? 'selected' : '' }}>
{{ $locationName->locationname }}
@endforeach
Employee type: {{ $employee->employee_type }}
Please select Employee Type
Permanent
Temporary
Contract
Intern
Volunteer
Person type: {{ $employee->person_type }}
Please select Person Type
Employee
Contractor
Employer
Line manager: {{ $employee->line_manager ? $employee->getLineManager->name : 'Not Assigned' }}
Please select Line Manager
@foreach ($LineManager as $manager)
id ? 'selected' : '' }}>
{{ $manager->name }}
@endforeach
Holiday approver: {{ $employee->holiday_approver ? $employee->getHolidayApprover->name : 'Not Assigned' }}
Please select Holiday Approver
@foreach ($HolidayApprover as $holidayapp)
id ? 'selected' : '' }}>
{{ $holidayapp->name }}
@endforeach
Is director: @if($employee->is_director == 1) Yes @else No @endif
No
Yes
Report to: {{ $employee->report_to ? $employee->report_to : 'Not Assigned' }}
@foreach ($reportto as $report_to)
{{ $report_to->name }}
@endforeach
Full time/Part time:
@if ($employee->fullparttime == 'Part Time')
Part Time:-
@php
$selectedDays = explode(',', $employee->workingdays);
$selectedDays = array_unique(
array_map(function ($day) {
return date('D', strtotime("Sun +$day days"));
}, $selectedDays),
);
@endphp
Working Days:
{{ implode(', ', $selectedDays) }}
@else
{{ $employee->fullparttime }}
@endif
Please select full/part time
Full Time
Part Time
@if($employee['fullparttime'] == "Part Time")
@php
$selectedDays = str_split($employee->workingdays);
@endphp
@foreach (range(1, 7) as $day)
{{ date('D', strtotime("Sun +$day days")) }}
@endforeach
@endif
Weekly hours: {{ $employee->weeklyhours }}
Join date: {{ date("d/m/Y", strtotime($employee->join_date)) }}
Length of service:
@php
$startDate = $employee->join_date;
// Convert the start date to a DateTime object
$startDateObj = new DateTime($startDate);
// Get the current date
$currentDateObj = new DateTime();
// Calculate the interval
$interval = $startDateObj->diff($currentDateObj);
// Get the difference in years and months
$years = $interval->y;
$months = $interval->m;
echo "$years years and $months months. ";
@endphp
Probation date: {{ date("d/m/Y", strtotime($employee->probation_date)) }}
Notice period: {{ $employee->notice_period }}
@if($employee->ext_prob == 1)
Extend Probation date: {{ date('d/m/Y', strtotime($employee->extend_probation_date)) }}
Reason: {{ $employee->ext_probation_reason }}
@endif
Holiday assigned: {{ $employee->holiday_assign }}
Holiday maximum: {{ $employee->holiday_max }}
Holiday increment: @if($employee->holiday_increasement == 1) Yes @else No @endif
Recieve Statutory Holidays @if($employee->receive_statutory_holidays == 1) Yes @else No @endif
Is fire warden: @if($employee->fire_warden == 1) Yes @else No @endif
Is first aider: @if($employee->first_aider == 1) Yes @else No @endif
Is health & safety: @if($employee->health_and_safety == 1) Yes @else No @endif
Is mental health 1st aider @if($employee->mental_health_1st_aider == 1) Yes @else No @endif
Is line manager: @if($employee->is_line_manager == 1) Yes @else No @endif
Is holiday approver: @if($employee->is_holiday_approver == 1) Yes @else No @endif
Admin/Regular:
@if ($employee->isadmin == '1')
Administrator
@else
Regular
@endif
Current or Ex:
@if ($employee->status == '1')
Current Employee
@else
Ex-Employee
@endif