@php $total = 0; @endphp @foreach($headExaminerInfo as $sub => $subInfo) @php $count = 0; @endphp
@php $prevHeCode = ''; @endphp @foreach($subInfo as $heCode => $heInfo) @foreach($heInfo as $index => $eInfo) @php $mark = " ".$eInfo->marks_obtained." "; $ch_mark = " / 000"; $opacity = 0; if ($eInfo->marks_obtained_head_examiner && $eInfo->marks_obtained_head_examiner != " " && $eInfo->marks_obtained_head_examiner != $eInfo->marks_obtained) { $ch_mark = "/ ".$eInfo->marks_obtained_head_examiner; $opacity = 1; } $count++; @endphp @php $prevHeCode = $heCode; @endphp @endforeach @endforeach @php $total = $total + $count; @endphp
Subject: {{ $sub }}
H.C. EX. CODE Serial No. Marks /
Changed Marks
New Marks
(if any change)
Comments (if any change) Signature
{{ $heCode }} {{ $eInfo->examiner_code }} {{$eInfo->sequence_no}} {{$mark}}{!!$ch_mark!!} {{$eInfo->rescrutinized_marks_obtained}}
Total: {{$count}}
@endforeach Overall Total: {{$total}}