@php $photoUrl = !empty($staff->user?->image) ? asset('storage/'.$staff->user->image) : null; @endphp
@csrf
{{ __('Employment details') }}
probation_end_date) data-stored="1" @endif> {{ __('Saved date is shown as-is. If empty, calculated from joining + probation.') }}
{{ __('Attendance & leave') }}
{{ __('Personal profile') }}
@if(\App\Support\SecurityMoneyFeature::enabled()) @php $smPreview = null; if (!empty($staff->id) && (float) ($staff->security_money ?? 0) > 0) { $smPreview = app(\App\Services\SecurityMoneyService::class)->calculate($staff); } @endphp @if($smPreview && ($smPreview['interest'] ?? 0) > 0) {{ __('Projected interest') }}: {{ number_format($smPreview['interest'], 2) }} ({{ __('total') }}: {{ number_format($smPreview['total'], 2) }}) — {{ __('paid at separation') }} @elseif(\App\Support\SecurityMoneyFeature::interestEnabled()) {{ __('Interest is calculated at separation from scheme rules.') }} @endif @endif
{{ __('Account & access') }}
{{ __('Profile photo') }}