@extends('layouts.app') @section('title', __('Grade')) @section('content')
@include('layouts.leftside-menubar')
@if(count($grades) > 0)
@foreach ($grades as $grade)

@lang('Marks Given by') @if(count($grades) > 0) @foreach ($grades as $grade) @lang('Teacher Code') - {{$grade->teacher->student_code}}   @lang('Name') - {{$grade->teacher->name}} @break($loop->first) @endforeach @else @lang('No Related Data Found.') @endif


@lang('Course') - {{$grade->course_config->course->name}} @lang('Class') - {{$grade->student->section->class->name}} @lang('Section') - {{$grade->student->section->section_number}} @lang('Exam') - {{$grade->exam->exam_name}}
@if($grade->course_config->quiz_count > 0)
@endif @if($grade->course_config->assignment_count > 0)
@endif @if($grade->course_config->ct_count > 0)
@endif
@break($loop->first) @endforeach
@else
@lang('No Related Data Found.')
@endif
@if(count($grades) > 0) @include('layouts.teacher.grade-table') @else @lang('No Related Data Found.') @endif
@endsection