@extends('backEnd.master') @section('title') @lang('exam.final_mark_sheet') @endsection @section('mainContent')

@lang('common.select_criteria')

{{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'finalMarkSheetSearch', 'method' => 'POST', 'enctype' => 'multipart/form-data', 'id' => 'search_studentA']) }}
@if(moduleStatusCheck('University')) @includeIf('university::common.session_faculty_depart_academic_semester_level',['mt'=>'mt-30','hide'=>['USUB'], 'required'=>['USEC']]) @else
@if ($errors->has('class')) {{ $errors->first('class') }} @endif
loader
@if ($errors->has('section')) {{ $errors->first('section') }} @endif
@endif
{{ Form::close() }}
@isset($students)
@isset($search_info)

@lang('student.student_attendance') | @if(moduleStatusCheck('University')) @lang('university::un.faculty_department') : {{ isset($unFaculty) ? $unFaculty->name .'('. (isset($unDepartment) ? $unDepartment->name:'').')':''}}, @lang('university::un.semester(label)') : {{ isset($unSemester) ? $unSemester->name .'('. (isset($unSemesterLabel) ? $unSemesterLabel->name : '') .')' :''}}, @lang('common.date') @else @lang('common.class') : {{$search_info['class_name']}}, @lang('common.section') : {{$search_info['section_name']}}, @lang('common.date') @endif : {{dateConvert($search_info['date'])}}

@endisset
@if($attendance_type != "" && $attendance_type == "H")
@lang('student.attendance_already_submitted_as_holiday')
@elseif($attendance_type != "" && $attendance_type != "H")
@lang('student.attendance_already_submitted')
@endif
@if($attendance_type != "H")
@csrf @if(moduleStatusCheck('University')) @endif
@else
@csrf @if(moduleStatusCheck('University')) @endif
@endif
{{ Form::open(['class' => 'form-horizontal', 'route'=>'student-attendance-store','files' => true, 'method' => 'POST', 'enctype' => 'multipart/form-data'])}}
@foreach($students as $student) @endforeach
@lang('student.admission_no') @lang('student.student_name') @lang('student.roll_number') @lang('student.attendance') @lang('common.note')
{{$student->studentDetail->admission_no}} @if(moduleStatusCheck('University')) @endif {{$student->studentDetail->first_name.' '.$student->studentDetail->last_name}} {{$student->roll_no}}
studentDetail->DateWiseAttendances !=null ? ($student->studentDetail->DateWiseAttendances->attendance_type == "P" ? 'checked' :'') : ($attendance_type != "" ? '' :'checked') }}>
studentDetail->DateWiseAttendances !=null ? ($student->studentDetail->DateWiseAttendances->attendance_type == "L" ? 'checked' :''):''}}>
studentDetail->DateWiseAttendances !=null ? ($student->studentDetail->DateWiseAttendances->attendance_type == "A" ? 'checked' :''):''}}>
studentDetail->DateWiseAttendances !=null ? ($student->studentDetail->DateWiseAttendances->attendance_type == "F" ? 'checked' :'') : ''}}>
@lang('common.error')
{{ Form::close() }}
@endisset
@endsection