{{-- 1st card start --}}
{{ $user->name }}

{{ $user->name ?? 'No Data found' }}

{{ $user->email }}

Service Length: {{ \Carbon\Carbon::parse($user->joining_date)->diffForHumans() ?? 'No Data found' }}

@if (Auth::user()->role_id == 1 || Auth::user()->role_id == 5 || Auth::user()->role_id == 4 || (Auth::user()->role_id == 3 && $user->department_id == Auth::user()->department_id) || $user->id == Auth::user()->id) @else @endif
  • Employee ID
    {{ $user->emp_id ?? 'No Data found' }}
  • Mobile
    {{ $user->mobile ?? 'No Data found' }}
  • WhatsApp
    whatsapp
{{-- 1st card end --}} {{-- 2nd card start --}}
{{-- card 1 start --}}
Joining Date
{{ $user->joining_date ?? 'No Data found' }}

Division
{{ $user->division->name ?? 'No Data found' }}

Company
{{ $user->company->name ?? 'No Data found' }}

Department
{{ $user->department->name ?? 'No Data found' }}

Designation:
{{ $user->designation->name ?? 'No Data found' }}
{{-- card 1 end --}}
{{-- 2nd card end --}}
{{-- row gutters-sm end --}}
{{-- main-body end --}}