@php $ordinalNumberContainer = $model->getOrdinalNumber(); @endphp @if($reportingBossHistories->count() > 0)
Supervisor Details
@endif @foreach($reportingBossHistories as $reportingBossHistory)
@php $boss = $reportingBossHistory->boss; $bossEmp = $boss ? $reportingBossHistory->boss->employee : null; $bossOrg = $bossEmp ? $bossEmp->organization : null; @endphp @if($bossEmp && $bossOrg) @else @endif
Employee Id {{ $bossEmp->emp_id }} Employee Name {{ $bossEmp->emp_name_english }}
Designation {{ $bossOrg->position->name }} Project {{ $bossOrg->project->name }}
Comment {{ $reportingBossHistory->boss_comment }} Status {{ $reportingBossHistory->status}}
{{ $reportingBossHistory->status }} at {{ date('d M Y',strtotime($reportingBossHistory->created_at) )}}
Not Found

@endforeach