@extends('layouts.app') @section('title', __('TC Create')) @section('content') @php $section = (new App\Section())->getSection(true, true, true,'classes.name'); @endphp
@include('layouts.leftside-menubar')
@include('components.pages-bar',['pageTitle' =>''. trans('Certificate').' / '. trans('TC').' / '.trans('Add').'']) @include('components.sectionbar.certificate-bar')
@csrf
{!! Form::label('section', trans('Section'), ['class' => 'control-label']) !!} {!! Form::select('section',$section, null, array('required', 'class' => 'select2 form-control','id'=>'section', 'placeholder' => trans('Choose'),'onchange'=>'getStudentsSessionSection()')) !!} @error('section') {{ $message }} @enderror
{!! Form::label('session', trans('Session'), ['class' => 'control-label']) !!} {!! Form::select('session', schoolSession(1, true),null, ['class' => 'select2 form-control','id'=>'session','required','onchange'=>'getStudentsSessionSection()','placeholder'=>'Choose']) !!} @if ($errors->has('session')) {{ $errors->first('session') }} @endif
{!! Form::text('date_lastclass', NULL, array('id' => 'date_lastclass', 'class' => 'form-control', 'autocomplete'=>'off')) !!}
{!! Form::text('remark', NULL, array('id' => 'remark', 'class' => 'form-control', 'autocomplete'=>'off')) !!}
{!! Form::select('student', array(), null, array('id' => 'student', 'class' => 'form-control select2','required','onchange'=>'getStudentInfo(this.value)','placeholder' =>trans('Choose'))) !!} @error('student') {{ $message }} @enderror

@lang('Present Address'):

@lang('Permanent Address'):

@push('script') @endpush @endsection