@extends('backEnd.master') @section('title') @lang('student.student_attendance') @endsection @push('css') @endpush @section('mainContent') {{-- @php $breadCrumbs = [ 'h1'=>__('student.student_attendance'), 'bgPages'=>[ ''.__('student.student_information').'' ] ]; @endphp --}}

@lang('common.select_criteria')

@lang('student.import_attendance')
{{ Form::open(['class' => 'form-horizontal', 'route' => 'student-search', 'method' => 'POST', 'id' => 'search_studentA']) }}
@if(moduleStatusCheck('University')) @includeIf('university::common.session_faculty_depart_academic_semester_level',['mt'=>'mt-30','hide'=>['USUB'], 'required'=>['USEC']])
{{ $errors->first('attendance_date') }}
@else @include('backEnd.common.search_criteria', [ 'div'=>'col-lg-4', 'visiable'=>['class', 'section'], 'required'=>['class', 'section'], ])
{{ $errors->first('attendance_date') }}
@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', 'method' => 'POST'])}}
@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 @include('backEnd.partials.date_picker_css_js')