{{-- 1st card start --}}
{{-- 1st card end --}}
{{-- 2nd card start --}}
{{-- row gutters-sm end --}}
{{ $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
{{-- card 1 start --}}
{{-- card 1 end --}}
{{-- card 2 start --}}
@php
// $supervisor = App\Models\SupervisorAssign::where('user_id', $user->id)->first();
// $kpiEntry = App\Models\KpiEntry::where('user_id', $user->id)->get();
// dd($supervisor)
// dd($kpiEntry)
@endphp
{{-- @isset($supervisor) --}}
{{-- @endisset --}}
{{-- card 2 end --}}
{{-- 2nd card end --}}
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' }}
KPI
KPI Phase | {{--Status | --}}
---|---|
{{ $kpi->kpi_period }} | {{--@if ($kpi) Complete @elseif($kpi->status == 0) Incomplete @else Pending @endif | --}}
No Data Found |