{!! Form::open(['route' => 'academic.grade_mark', 'method' => 'post']) !!}
@if (isset($student_user))
@push('script')
@endpush
@endif
{!! Form::close() !!}
@if (empty($session))
{!! Form::label('exam', trans('Exam'), ['class' => 'control-label']) !!}
{!! Form::select('exam[]',$exam, null, array('required', 'class' => 'select2 form-control','multiple')) !!}
@error('exam')
{{ $message }}
@enderror
{!! Form::label('section', trans('Section'), ['class' => 'control-label']) !!}
{!! Form::select('section',$section,$_GET['section'] ?? null, array('required', 'class' => 'select2 form-control', 'placeholder' => trans('Choose'),'onchange'=>'getStudentsBySection(this.value,1)')) !!}
@error('section')
{{ $message }}
@enderror
{!! Form::select('student',array(), null, array('id' => 'student', 'class' => 'form-control select2','required','placeholder' =>trans('All'))) !!}
@if ($errors->has('student'))
{{ $errors->first('student') }}
@endif
{!! Form::number('range_from', null, array('id' => 'range_from', 'class' => 'form-control','min'=>0,'required')) !!}
{!! Form::number('range_to', null, array('id' => 'range_to', 'class' => 'form-control','min'=>0,'required')) !!}
@if ($errors->has('range_to'))
{{ $errors->first('range_to') }}
@endif
@if ($errors->has('range_from'))
{{ $errors->first('range_from') }}
@endif
*@lang('Note')
: @lang('There has no session active now.') @lang('Please active an session first.')
@endif