@extends('layouts.app') @section('title', __('Grade')) @section('content')
@include('layouts.leftside-menubar')
@include('components.pages-bar',['pageTitle' =>''. trans('Exams').' / '. trans('Grades').'']) @include('components.sectionbar.examination-bar')
{!! Form::open(['route' => 'academic.grade_mark', 'method' => 'post']) !!}
{!! 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
@if (isset($student_user)) @push('script') @endpush @endif
{!! 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
{!! Form::close() !!} @if (empty($session))
*@lang('Note') : @lang('There has no session active now.') @lang('Please active an session first.') @endif
@endsection