@php use App\Enums\IncentiveType; use App\Enums\UserAccountStatus; use App\Services\AddonService\IAddonService; use Carbon\Carbon; use App\Helpers\StaticDataHelpers; $role = $user->roles()->first() ? $user->roles()->first()->name : 'N/A'; $addonService = app(IAddonService::class); @endphp @extends('layouts.layoutMaster') @section('title', 'Employee Details') @section('vendor-style') @vite([ 'resources/assets/vendor/libs/datatables-bs5/datatables.bootstrap5.scss', 'resources/assets/vendor/libs/datatables-responsive-bs5/responsive.bootstrap5.scss', 'resources/assets/vendor/libs/datatables-buttons-bs5/buttons.bootstrap5.scss', 'resources/assets/vendor/libs/animate-css/animate.scss', 'resources/assets/vendor/libs/sweetalert2/sweetalert2.scss', 'resources/assets/vendor/libs/select2/select2.scss', 'resources/assets/vendor/libs/@form-validation/form-validation.scss', 'resources/assets/vendor/libs/bootstrap-datepicker/bootstrap-datepicker.scss', ]) @endsection @section('page-style') @vite([ 'resources/assets/vendor/scss/pages/page-user-view.scss', 'resources/assets/css/employee-view.css' ]) @endsection @section('vendor-script') @vite([ 'resources/assets/vendor/libs/moment/moment.js', 'resources/assets/vendor/libs/datatables-bs5/datatables-bootstrap5.js', 'resources/assets/vendor/libs/sweetalert2/sweetalert2.js', 'resources/assets/vendor/libs/cleavejs/cleave.js', 'resources/assets/vendor/libs/cleavejs/cleave-phone.js', 'resources/assets/vendor/libs/select2/select2.js', 'resources/assets/vendor/libs/@form-validation/popular.js', 'resources/assets/vendor/libs/@form-validation/bootstrap5.js', 'resources/assets/vendor/libs/@form-validation/auto-focus.js', 'resources/assets/vendor/libs/bootstrap-datepicker/bootstrap-datepicker.js', ]) @endsection @section('content')
{{ $user->code }}
{{ $user->designation ? $user->designation->name : 'N/A'}}This employee has been relieved from the organization on {{ Carbon::parse($user->relieved_at)->format('d M Y') }}.
This employee has been retired from the organization on {{ Carbon::parse($user->retired_at)->format('d M Y') }}.
Account created on {{ Carbon::parse($user->created_at)->format('d M Y') }} by {{ $user->createdBy != null ? $user->createdBy->getFullName() : 'Admin' }}.
If you remove the device, the user will not be able to use the application until they register a new device.
No device registered
No bank account registered
| @lang('Name') | @lang('Code') | @lang('Type') | @lang('Applicability') | @lang('Amount') | @lang('Percentage') | @lang('Actions') |
|---|---|---|---|---|---|---|
| {{ $adjustment->name }} | {{ $adjustment->code }} | @if($adjustment->type === 'benefit') @lang('Benefit') @else @lang('Deduction') @endif | @if($adjustment->applicability === 'global') @lang('Global') @else @lang('Employee-Specific') @endif | {{ $settings->currency_symbol . number_format($adjustment->amount, 2) }} | {{ $adjustment->percentage ?? '-' }}% |
@lang('No payroll adjustments found for this employee.')
@endifIf you add adjustments here they will be applied to this employee's salary only.If you want to set a global adjustment that applies to all employees, you can do so in the Payroll Settings page.
Payroll adjustments are additional benefits or deductions that are added to the employee's salary. You can add, edit, or delete adjustments as needed.