@if(count((array)$o_array)>0)
@php $sno=1; @endphp @foreach($o_array as $head) @php $sno++; @endphp @endforeach
# Major Head Minor Head Sub Minor Head 1 Sub Minor Head 2 From Date To Date
{{ $sno }} {{ $head->major_head }} {{ $head->minor_head }} {{ $head->sub_minorhead }} {{ $head->sub_sub_minorhead }} {{ $head->from_date }} {{ $head->to_date }}
@else
No Record Found
@endif