@if(count($papers)>0) {{-- --}} {{-- --}} {{-- --}} {{-- --}} @foreach($papers as $paper) @endforeach @php($status = null) @php($sl = 0) @foreach($students as $studentClass) @php($student = $studentClass->student) @if($data->section_id==3) @php($status = subjectCheck($student->id,$data->class_id,$data->subject_id)) @else @php($status = true) @endif @if($status === true) @php($sl++) {{-- --}} {{-- --}} {{-- --}} @foreach($papers as $paper) @php($data->paper_id = $paper->id) @php($result = resultCheck($data,$student->id)) @endforeach @endif @endforeach
Sl. Stdn. ID NameNick NameMobilePhotoMark out of {{ $mark }}{{ $paper->name }}({{ $paper->mark }})
{{ $sl }} {{ $student->roll }} {{ $student->name }}{{ $student->nick_name }}{{ $student->mobile }}--}} {{-- --}} {{-- Image--}} {{-- --}} {{--
@else

Please select all field above to add result !!!

@endif