@php use Carbon\Carbon; @endphp
{{ $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 }}
{{ Carbon::parse($user->date_of_joining)->format('d M Y') }}
{{ $tenureYears }} {{ __('years') }}, {{ $tenureMonths }} {{ __('months') }}
{{ Carbon::parse($user->probation_end_date)->format('d M Y') }}
{{ Carbon::parse($user->probation_confirmed_at)->format('d M Y') }}
{{ __('Full Time') }}
{{ __(ucwords(str_replace('_', ' ', $user->attendance_type))) }}
{{ $user->location ? $user->location->name : __('N/A') }}