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

@lang('common.select_criteria')

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

@lang('student.student_attendance') | @lang('common.class'): {{$search_info['class_name']}}, @lang('common.section'): {{$search_info['section_name']}}, @lang('common.date'): {{dateConvert($search_info['date'])}}

@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(userPermission(534))
@endif
@lang('student.mark_as_holiday')
@if(session()->has('message-danger') != "") @endif @php $count=1; @endphp @foreach($already_assigned_students as $already_assigned_student) @endforeach @foreach($new_students as $student) @endforeach
@if(session()->has('message-danger'))
{{ session()->get('message-danger') }}
@endif
@lang('common.sl') @lang('student.admission_no') @lang('student.student_name') @lang('student.roll_number') @lang('student.attendance') @lang('common.note')
{{$already_assigned_student->studentInfo->admission_no}} @if(!empty($already_assigned_student->studentInfo)) {{$already_assigned_student->studentInfo->first_name.' '.$already_assigned_student->studentInfo->last_name}} @endif {{$already_assigned_student->studentInfo!=""?$already_assigned_student->studentInfo->roll_no:""}}
attendance_type == "P"? 'checked':''}}>
attendance_type == "L"? 'checked':''}}>
attendance_type == "A"? 'checked':''}}>
attendance_type == "F"? 'checked':''}}>
@lang('common.error')
{{$student->admission_no}} {{$student->first_name.' '.$student->last_name}} {{$student->roll_no}}
@lang('common.error')
{{ Form::close() }}
@endif
@endsection @include('backEnd.partials.data_table_js') @include('backEnd.partials.date_picker_css_js')