@extends('backEnd.master') @section('title') @lang('exam.add_marks') @endsection @push('css') @endpush @section('mainContent')

@lang('common.select_criteria')

{{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'marks_register_create_search', 'method' => 'POST', 'enctype' => 'multipart/form-data', 'id' => 'search_student']) }}
@if (moduleStatusCheck('University'))
@includeIf( 'university::common.session_faculty_depart_academic_semester_level', [ 'required' => ['USN', 'UD', 'UA', 'US', 'USL', 'USEC'], 'hide' => ['USUB'], ] )
{{ Form::select('exam_type', ['' => __('exam.select_exam') . '*'], null, ['class' => 'primary_select form-control' . ($errors->has('exam_type') ? ' is-invalid' : ''), 'id' => 'select_exam_typ_subject']) }}
loader
@if ($errors->has('exam_type')) {{ @$errors->first('exam_type') }} @endif
{{ Form::select('subject_id', ['' => __('exam.select_subject') . '*'], null, ['class' => 'primary_select form-control' . ($errors->has('subject_id') ? ' is-invalid' : ''), 'id' => 'select_un_exam_type_subject']) }}
loader
@if ($errors->has('subject_id')) {{ @$errors->first('subject_id') }} @endif
@else
@if ($errors->has('exam')) {{ $errors->first('exam') }} @endif
@if ($errors->has('class')) {{ $errors->first('class') }} @endif
loader
@if ($errors->has('subject')) {{ $errors->first('subject') }} @endif
loader
@if ($errors->has('section')) {{ $errors->first('section') }} @endif
@endif
{{ Form::close() }}
@if (isset($students)) @if (moduleStatusCheck('University'))

@lang('exam.add_marks') | @lang('exam.exam'): {{ @$exam_type->title }}

@includeIf('university::exam._university_info')
{{ Form::open(['class' => 'form-horizontal', 'route' => 'marks_register_store', 'method' => 'POST', 'id' => 'marks_register_store']) }}
@foreach ($marks_entry_form as $part) @endforeach @php $colspan = 3; $counter = 0; $request = (object) [ 'un_session_id' => $un_session->id, 'un_faculty_id' => @$un_faculty->id, 'un_department_id' => $un_department->id, 'un_academic_id' => $un_academic->id, 'un_semester_id' => $un_semester->id, 'un_section_id' => null, 'un_semester_label_id' => $un_semester_label->id, ]; @endphp @foreach ($students as $record) @php $absent_check = App\SmMarksRegister::un_is_absent_check($exam_id, $request, $subject_id, $record->student_id, $record->student_record_id); @endphp @php $entry_form_count=0; @endphp @foreach ($marks_entry_form as $part) @php $d = 5 + rand()%5; @endphp
@lang('student.admission_no'). @lang('student.roll_no'). @lang('common.student') {{ $subjectName->subject_name }} @lang('exam.is_present')
{{ $part->exam_title }} ( {{ $part->exam_mark }} ) @lang('common.teacher') @lang('reports.remarks')
@if (@$absent_check->attendance_type != 'P') @endif {{ $record->studentDetail->admission_no }} {{ $record->roll_no }} {{ $record->studentDetail->full_name }}