@extends('backend.layouts.master') @section('pageTitle') Student Attendance @endsection @section('pageContent')

Student Attendance Add New

@if(count($errors->all()))
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if(!count($students))

Academic Info:

@csrf @if(AppHelper::getInstituteCategory() == 'college')
{!! Form::select('academic_year', $academic_years, null , ['placeholder' => 'Pick a year...','class' => 'form-control select2', 'required' => 'true']) !!} {{ $errors->first('academic_year') }}
@endif
{!! Form::select('class_id', $classes, null , ['placeholder' => 'Pick a class...','class' => 'form-control select2', 'required' => 'true']) !!} {{ $errors->first('class_id') }}
{!! Form::select('section_id', [], null , ['placeholder' => 'Pick a section...','class' => 'form-control select2', 'id' => 'section_id_filter', 'required' => 'true']) !!} {{ $errors->first('section_id') }}
{{ $errors->first('attendance_date') }}
@endif

Student List:

@if(count($students))
Attendance Entry for {{$attendance_date}}
@if(AppHelper::getInstituteCategory() == 'college') Academic Year: {{$academic_year}}
@endif Class: {{$class_name}}
Section: {{$section_name}}
@csrf {{----}} {{----}} {{----}} @foreach($students as $student) @endforeach
# Name Roll No.In TimeOut TimeStaying Hours Is Present?
{{$loop->iteration}} {{$student->info->name}} [{{$student->regi_no}}] {{$student->roll_no}}
@endif
@endsection @section('extraScript') @endsection