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

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']) !!}

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if(count($students))
@csrf
@php $marksDistributions = json_decode($examRule->marks_distribution); @endphp @foreach($marksDistributions as $distribution) @endforeach @foreach($students as $student) @foreach($marksDistributions as $distribution) @endforeach @endforeach @foreach($marksDistributions as $distribution) @endforeach
# Student Name Roll No.{{AppHelper::MARKS_DISTRIBUTION_TYPES[$distribution->type]}}Total Marks Absent
{{$loop->iteration}} {{$student->info->name}} [{{$student->regi_no}}] {{$student->roll_no}}
# Student Name Roll No.{{AppHelper::MARKS_DISTRIBUTION_TYPES[$distribution->type]}}Total Marks Absent
@endif
@endsection @section('extraScript') @endsection