@php use Carbon\Carbon; @endphp
{{ __('Employment Information') }}
@if (!$isExitedEmployee) @endif
{{-- Work Information --}}
{{ __('Work Information') }}

{{ $user->code }}

{{ $user->designation ? $user->designation->name : __('N/A') }}

{{ $user->team ? $user->team->name : __('N/A') }}

{{ $user->shift ? $user->shift->name : __('N/A') }}

{{ $user->reporting_to_id ? $user->getReportingToUserName() : __('N/A') }}

{{ $role }}


{{-- Joining Details --}}
{{ __('Joining Details') }}

{{ Carbon::parse($user->date_of_joining)->format('d M Y') }}

{{ $tenureYears }} {{ __('years') }}, {{ $tenureMonths }} {{ __('months') }}

@if ($user->probation_end_date)

{{ Carbon::parse($user->probation_end_date)->format('d M Y') }}

@endif @if ($user->probation_confirmed_at)

{{ Carbon::parse($user->probation_confirmed_at)->format('d M Y') }}

@endif

{{ __('Full Time') }}

{{ __(ucwords(str_replace('_', ' ', $user->attendance_type))) }}

@if (($enabledModules['LocationManagement'] ?? false) && $user->location_id)

{{-- Location Information --}}
{{ __('Location Assignment') }}

{{ $user->location ? $user->location->name : __('N/A') }}

@endif {{-- Compensation is now managed through Payroll module's EmployeeSalaryStructure --}}