@extends('layouts.app') @section('content')
@include('layouts.left-menu')

Give Final Marks

@include('session-messages')
Class {{$class_name}}, Section #{{$section_name}}
Course: {{$course_name}}
@csrf
@isset($students_with_marks) @foreach ($students_with_marks as $id => $students_with_mark) @php $calculated_marks = 0; @endphp @foreach ($students_with_mark as $st) @php $calculated_marks += $st->marks; @endphp @endforeach @endforeach @endisset
Student Name Calculated Marks Final Marks Note
{{$students_with_mark[0]->student->first_name}} {{$students_with_mark[0]->student->last_name}}
@include('layouts.footer')
@endsection