@php $sno=1; @endphp @foreach($getMajorMinorHead as $head) {{ $sno }}
{{ $head->major_head_desc }} {{ $head->minor_head_desc }} {{ $head->subminor1_head_desc }} {{ $head->subminor2_head_desc }}
@php $sno++; @endphp @endforeach