{{-- Attendance Mode --}}
@foreach([
'required' => ['icon'=>'bi-geo-alt-fill', 'color'=>'primary', 'label'=>'Required', 'desc'=>'Must clock in. GPS restriction applies if globally enabled. Absent days are deducted from pay.'],
'remote' => ['icon'=>'bi-wifi', 'color'=>'info', 'label'=>'Remote', 'desc'=>'May clock in from any location. GPS is bypassed. Attendance is still tracked and absent days may still be deducted.'],
'not_required' => ['icon'=>'bi-shield-check', 'color'=>'success', 'label'=>'Not Required', 'desc'=>'Clock-in is not expected. Always paid the full period salary. Suitable for senior staff, fixed-salary managers, and directors.'],
] as $value => $opt)
@php $selected = old('attendance_mode', $employee->attendance_mode ?? 'required') === $value; @endphp
@endforeach
{{-- Pension Eligible --}}
Pension Eligible
When enabled, this employee appears in the Pension module's enroll list.
Disable for contractors, short-term staff, or anyone excluded from the pension scheme.
pension_eligible) ? 'checked' : '' }}>