@extends('layouts.master') @section('content')
Edit Marks
Marks List
@if ($errors->any())
@endif
@csrf @method('put')
@php $head_marks_array = json_decode($assignedMarksHead->head_marks, true); $head_id_array = array_keys($head_marks_array); @endphp @if (isset($head_id_array)) @foreach ($markHeads as $head) @if (in_array($head->id,$head_id_array)) @endif @endforeach @endif @if (isset($head_marks_array) && !empty($check_recoard)) @php $head_wise_marks = json_decode($check_recoard->head_wise_marks); @endphp @foreach ($markHeads as $head) @if (in_array($head->id, $head_id_array)) @endif @endforeach @elseif (isset($head_id_array)) @foreach ($markHeads as $head) @if (in_array($head->id, $head_id_array)) @endif @endforeach @endif
Student Name Section Roll{{$head->short_name}}({{$head_marks_array[$head->id]}})
{{$students->first_name}} {{$students->last_name}} {{$students->section?->section_name}} {{$students->class_roll}} @if (isset($head_wise_marks->{$head->id})) @else @endif
Cancel
@stop