@extends('backend.layouts.master') @section('pageTitle') Marks @endsection @section('pageContent') Marks Add Dashboard Marks Marks Add 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']) !!} Entry Marks @if ($errors->any()) @foreach ($errors->all() as $error) {{ $error }} @endforeach @endif @if(count($students)) @csrf # Student Name Roll No. @php $marksDistributions = json_decode($examRule->marks_distribution); @endphp @foreach($marksDistributions as $distribution) {{AppHelper::MARKS_DISTRIBUTION_TYPES[$distribution->type]}} @endforeach Total Marks Absent @foreach($students as $student) {{$loop->iteration}} {{$student->info->name}} [{{$student->regi_no}}] {{$student->roll_no}} @foreach($marksDistributions as $distribution) @endforeach @endforeach # Student Name Roll No. @foreach($marksDistributions as $distribution) {{AppHelper::MARKS_DISTRIBUTION_TYPES[$distribution->type]}} @endforeach Total Marks Absent Add Marks @endif @endsection @section('extraScript') @endsection