@forelse($reports as $key => $report) @php $count = 0; @endphp @foreach($report->groupBy('from_year') as $keys => $department) @if($count == 0) @else @endif @php $count = $count + 1; @endphp @endforeach @empty @endforelse
Department Financial Year Total Audit Para Submited Compliance Completed Audit Para Pending Audit Para
{{ $key }} {{ $keys }} {{ $department->sum('sub_unit') }} {{ $department->sum('submit_compliance') }} {{ $department->sum('completed_sub_unit') }} {{ $department->sum('pending_sub_unit') }}
{{ $keys }} {{ $department->sum('sub_unit') }} {{ $department->sum('submit_compliance') }} {{ $department->sum('completed_sub_unit') }} {{ $department->sum('pending_sub_unit') }}
No Data Found