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

@lang('common.select_criteria')

{{-- --}}
{{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'subject-attendance-search', 'method' => 'GET', 'enctype' => 'multipart/form-data', 'id' => 'search_studentA']) }}
@if(moduleStatusCheck('University')) @includeIf('university::common.session_faculty_depart_academic_semester_level',['required'=>['USN','UD', 'UA', 'US','USL','USUB']])
@if ($errors->has('attendance_date')) {{ $errors->first('attendance_date') }} @endif
@else
@if ($errors->has('class')) {{ $errors->first('class') }} @endif
@if ($errors->has('section')) {{ $errors->first('section') }} @endif
@if ($errors->has('subject')) {{ $errors->first('subject') }} @endif
@if ($errors->has('attendance_date')) {{ $errors->first('attendance_date') }} @endif
@endif
{{ Form::close() }}
{{-- {{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'subject-attendance-store-second', 'method' => 'POST', 'enctype' => 'multipart/form-data'])}} --}}

@lang('student.subject_wise_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.subject'): {{ isset($unSubject) ? $unSubject->subject_name :''}}
@else
@lang('common.class'): {{$search_info['class_name']}}
@lang('common.section'): {{$search_info['section_name']}}
@lang('common.subject'): {{$search_info['subject_name']}}
@lang('common.date'): {{dateConvert($search_info['date'])}}
@endif
@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
@csrf @php $count=1; @endphp @foreach($students as $student) @endforeach
@lang('common.sl') @lang('student.admission_no') @lang('student.student_name') @lang('student.id_number') @lang('student.attendance') @lang('common.note')
{{$count++}} @if(moduleStatusCheck('University')) @endif {{$student->studentDetail->admission_no}} {{$student->studentDetail->first_name.' '.$student->studentDetail->last_name}} {{$student->roll_no}}
{{-- {{ Form::close() }} --}}
@endsection @include('backEnd.partials.data_table_js') @include('backEnd.partials.date_picker_css_js') @push('script') @endpush