@extends('layouts.applicant') @section('content')
@if (session('status'))
{{ session('status') }}
@endif @if (session('error'))
{{ session('error') }}
@endif
{{csrf_field()}}
@php $count=1; @endphp
@php $count; @endphp @foreach($scores->chunk(50) as $chunks)
@foreach($chunks as $chunk) @endforeach
@foreach($chunks as $chunk) @php if($chunk->subject->name=="Biological Sciences"){ $element_id="biological"; }elseif($chunk->subject->name=="Biology"){ $element_id="biology"; }elseif($chunk->subject->name=="Chemistry"){ $element_id="chemistry"; }else if($chunk->subject->name=="Physics"){ $element_id="physics"; }elseif($chunk->subject->name=="Physical Sciences"){ $element_id="physical"; }elseif($chunk->subject->name=="Business Studies"){ $element_id="business"; }else{ $element_id=$chunk->subject->name; } @endphp
@endforeach
@if($count==4) @elseif($count==5) @else
@endif
@php $count++;@endphp @endforeach
@endsection