@php $increment = 1; @endphp @foreach ($ref_jabatan as $item) @endforeach
No Position Job Desc Action
{{ $increment++ }} {{ $item->nama }} @if(isset($item->job_desc) && $item->job_desc->count() >= 1) {{ $item->job_desc->count() }} Job Desc @else Undefined @endif Detail