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

Marks Update

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf
@php $marksDistributions = json_decode($examRule->marks_distribution); @endphp @foreach($marksDistributions as $distribution) @if($distribution->total_marks > 0) @endif @endforeach @php $achivemarks = json_decode($marks->marks, true); @endphp @foreach($marksDistributions as $distribution) @if($distribution->total_marks > 0) @endif @endforeach
Student Name Roll No.{{AppHelper::MARKS_DISTRIBUTION_TYPES[$distribution->type]}}Total Marks Absent
{{$marks->student->info->name}} [{{$marks->student->regi_no}}] {{$marks->student->roll_no}} present == 0) readonly @endif class="form-control" name="type[{{$distribution->type}}]" value="{{$achivemarks[$distribution->type]}}" required max="{{$distribution->total_marks}}" min="0">
present == 0) checked @endif name="absent">
@endsection @section('extraScript') @endsection