All employees

{{ $employee->full_name }}

Name : {{ trim($employee->full_name) }}
Staff Number: {{ $employee->staff_number }}
Phone Number {{ $employee->phone_number }}
Gender {{ $employee->gender }}
Date of Birth {{ $employee->dob }}
Age {{ $employee->dob->diffForhumans() }}
Employment Date {{ $employee->employment_date }} - {{ $employee->employment_date->diffForHumans() }}
Bank Details
Bank Name: {{ $employee->bank_name }}
Bank Branch: {{ $employee->branch }}
Bank Acc/No: {{ $employee->account_number }}
View Payslip

 Allowances

@forelse ($employee->allowances as $allowance) @empty @endforelse
Name Amount Added At Action
{{ $allowance->name }} {{ $allowance->amount }} {{ $allowance->created_at }}
No Allowance

 Deductions

@forelse ($employee->deductions as $deduction) @empty @endforelse
Name Amount Added At Action
{{ $deduction->name }} {{ $deduction->amount }} {{ $deduction->created_at }}
No Deduction

 Beneficiaries

@forelse ($employee->dependents as $dependant) @empty @endforelse
Name Relationship Added At Action
{{ $dependant->name }} {{ $dependant->relationship }} {{ $dependant->created_at }}
No dependants

 Next of Kin

@forelse ($employee->nextofkins as $nok) @empty @endforelse
Name Relationship Added At Action
{{ $nok->name }} {{ $nok->relationship }} {{ $nok->created_at }}
No Next of Kins

@foreach ($employee->documents as $document) @endforeach
Document Action
{{$document->name}} View Edit {{-- Delete --}}

Recent Payslips

{{-- --}} @forelse ($employee->payslips as $payslip) {{-- --}} @empty @endforelse
#employee NameSent By payslip Status Sent On
{{ $loop->iteration }} {{$payslip->employee->full_name}} {{ $payslip->user()->exists() ? $payslip->user->name : 'System/Scheduled' }} {{ $payslip->payslip }} {{ $payslip->status }} {{ $payslip->created_at->diffForHumans() }}
No payslips Sent yet