@extends('layouts.sidebar')
@section('title', 'Employee')
@section('content')
Employee Profile
{{ $employee->first_name }}
{{ $employee->last_name }}
{{ $employee->middle_name }}
Designation:
@foreach ($employee1 as $em)
{{ $em->position }}
@endforeach
Present Address:
{{ $employee->present_address }}
@foreach ($employee1 as $em)
Agency:
{{ $em->department->client->company->agency->name ?? 'No Agency' }}
Company:
{{ $em->department->client->company->name ?? 'No Company' }}
Client:
{{ $em->department->client->business_name ?? 'No Client' }}
Department:
{{ $em->department->department_name ?? 'No Department' }}
@endforeach
@if ($employee->status == '3')
This employee is currently undergoing pre-employment processes
@else
Payroll List
@include('Admin.Employee.info.payrollhistory')
@endif
@if ($employee->status == '3')
This employee is currently undergoing pre-employment processes
@else
Leave
@if (in_array('Create Agency', $privileges))
@endif
@include('Admin.Employee.info.employeeleave')
@endif
@if ($employee->status == '3')
This employee is currently undergoing pre-employment processes
@else
Benefit List
@include('Admin.Employee.info.benefits')
@endif
@if ($employee->status == '3')
This employee is currently undergoing pre-employment processes
@else
Attendance List
@include('Admin.Employee.info.attendance')
@endif
@if ($employee->status == '3')
This employee is currently undergoing pre-employment processes
@else
@include('Admin.Employee.loans.loans')
@endif
@if ($employee->status == '3')
This employee is currently undergoing pre-employment processes
@else
@include('Admin.Employee.loans.others')
@endif
@if ($employee->status == '3')
This employee is currently undergoing pre-employment processes
@else
@include('Admin.Employee.loans.constantloan')
@endif
@if ($employee->status == '3')
This employee is currently undergoing pre-employment processes
@else
@include('Admin.Employee.Rate.index')
@endif
Deployment History
@include('Admin.Employee.info.history')
@include('Admin.Employee.profilecredentials')
@endsection