@foreach($absentScriptFoundInfo as $zilla => $centerInfo) @foreach($centerInfo as $centerCode => $rollInfoArray)
@php $total = 1; @endphp @foreach($rollInfoArray as $roll_no => $studentInfo) @php $total += 1; @endphp @endforeach
{{ $zilla }}
{{collect($rollInfoArray)->first()->first()->center}}
Sl C_Code Roll No Reg No Name Subjects
{{ $total}} {{ collect($studentInfo)->first()->center_code }} {{ $roll_no }} {{ collect($studentInfo)->first()->registration_no }} {{ collect($studentInfo)->first()->student_name }} {{collect($studentInfo)->pluck('subject_code')->implode(", ") }}
@endforeach @endforeach