@php $selfService = $selfService ?? false; @endphp @if (! $selfService) @can('update', $employee) Edit @endcan @endif Payslips Leaves
{{ $employee->employee_code }}

{{ $employee->full_name }}

{{ $employee->designation ?: '—' }}
{{ $employee->status->label() }}
Joined
{{ $employee->joining_date?->format('d M Y') }}
Login
{{ $employee->user?->email ?: 'Not linked' }}
PAN
{{ $employee->pan_no ?: '—' }}
Bank
{{ $employee->bank_account_no ?: '—' }}
IFSC
{{ $employee->ifsc_code ?: '—' }}
Basic
{{ money($employee->basic_salary) }}
Allowances
{{ money($employee->allowances) }}
@if (! $selfService) @can('delete', $employee)
@csrf @method('DELETE')
@endcan @endif
Leave quota {{ $year }}
Quota
{{ $employee->annual_leave_quota }}
Approved
{{ $approvedDays }}
Pending
{{ $pendingDays }}
Remaining
{{ $remainingDays }}
Recent payslips
@forelse ($employee->payrolls as $payroll) {{ $payroll->periodLabel() }} {{ money($payroll->net_salary) }} {{ $payroll->payment_status->label() }} @empty
No payslips yet.
@endforelse