@extends('backend.layouts.master') @section('pageTitle') Marks @endsection @section('pageContent')

Marks List

Filters:
@csrf
@if(AppHelper::getInstituteCategory() == 'college')
{!! Form::select('academic_year_id', $academic_years, $acYear , ['placeholder' => 'Pick a year...', 'class' => 'form-control select2', 'required' => 'true']) !!}
@endif
{!! Form::select('class_id', $classes, $class_id , ['placeholder' => 'Pick a class...', 'id' => 'class_change', 'class' => 'form-control select2', 'required' => 'true']) !!}
{!! Form::select('section_id', $sections, $section_id , ['placeholder' => 'Pick a section...','class' => 'form-control select2', 'required' => 'true']) !!}
{!! Form::select('subject_id', $subjects, $subject_id , ['placeholder' => 'Pick a subject...','class' => 'form-control select2', 'required' => 'true']) !!}
{!! Form::select('exam_id', $exams, $exam_id , ['placeholder' => 'Pick a exam...','class' => 'form-control select2', 'required' => 'true']) !!}

@if($marks)
@php $marksDistributions = json_decode($examRule->marks_distribution); @endphp @foreach($marksDistributions as $distribution) @endforeach @foreach($marks as $studentMark) @php $achivemarks = json_decode($studentMark->marks, true); @endphp @foreach($marksDistributions as $distribution) @endforeach @endforeach @foreach($marksDistributions as $distribution) @endforeach
# Student Name Regi No. Roll No.{{AppHelper::MARKS_DISTRIBUTION_TYPES[$distribution->type]}}Total Marks Grade Point Status Action
{{$loop->iteration}} {{$studentMark->student->info->name}} {{$studentMark->student->regi_no}} {{$studentMark->student->roll_no}} {{$achivemarks[$distribution->type]}} {{$studentMark->total_marks}} {{$studentMark->grade}} {{$studentMark->point}} @if($studentMark->present == 0) Absent @else Present @endif @if($editMode)
@endif
# Student Name Regi No. Roll No.{{AppHelper::MARKS_DISTRIBUTION_TYPES[$distribution->type]}}Total Marks Grade Point Status Action
@endif
@endsection @section('extraScript') @endsection