@extends('admin::layouts.plane') @section('page_heading') {{$title}} @endsection @section('content')
| Class | Section | School | Teacher | Existing Teacher | Username | Password | Action |
|---|---|---|---|---|---|---|---|
| {{$arrClasses[$value->current_class]}} {{ Form::hidden('current_class_'.$key, $value->current_class, ['class' => 'current_class']) }} | {{$value->section}} {{ Form::hidden('section_'.$key, $value->section, ['class' => 'section']) }} {{ Form::hidden('first_name_'.$key, isset($checkRecordExist[$key]->first_name)?$checkRecordExist[$key]->first_name:'', ['class' => 'first_name']) }} {{ Form::hidden('last_name_'.$key, isset($checkRecordExist[$key]->last_name)?$checkRecordExist[$key]->last_name:'', ['class' => 'last_name']) }} {{ Form::hidden('email_'.$key, isset($checkRecordExist[$key]->email)?$checkRecordExist[$key]->email:'', ['class' => 'email']) }} | @php $className = isset($value->current_class) ? $value->current_class : ''; $sectionName = isset($value->section) ? $value->section : ''; $teacherName = isset($checkRecordExist[$className."-".$sectionName]) ? $checkRecordExist[$className."-".$sectionName] : ''; @endphp{{ Form::select('from_school', $getAllSchool, (isset($fromSchoolExist[$className."-".$sectionName])?$fromSchoolExist[$className."-".$sectionName]:''), ['placeholder' => '--Select School--', 'class' => 'schoolId', 'id' => 'fromSchool', 'required' => '']) }} | @if($teacherName) {{ Form::select('teacherName_'.$key, [], $teacherName, ['placeholder' => '--Select--', 'class' => 'form-control input-sm teacherName select2', 'id'=> 'teacherName_'.$key]) }} @else {{ Form::select('teacherName_'.$key, [], '', ['placeholder' => '--Select--', 'class' => 'form-control input-sm teacherName select2', 'id'=> 'teacherName_'.$key]) }} @endif | @php echo isset($allemployees[$teacherName]) ? $allemployees[$teacherName] : ''; @endphp | {{ Form::text('username_'.$key, isset($usernameExist[$className."-".$sectionName])?$usernameExist[$className."-".$sectionName]:'Username', ['class' => 'username','disabled' => 'disabled']) }} | passwrod)?$checkRecordExist[$key]->password:'123456'}} class="password"> |