{{ Form::model($record, array('url' => ['student/profile/edit/general', $userRecord->slug], 'method'=>'patch')) }}

{{ getPhrase('admission_details')}}

{{getPhrase('info')}} ! {{ getPhrase('once_saved_the_admission_details_cannot_be_edited ') }}
{{ Form::label('admission_no', getphrase('admission_no')) }} * {{ Form::text('admission_no', $value = null , $attributes = array('class'=>'form-control','readonly'=>'true', 'placeholder' => 'STU1')) }}
{{ Form::label('roll_no', getphrase('enrollment_no')) }} * {{ Form::text('roll_no', $value = null , $attributes = array('class'=>'form-control','readonly'=>'true', 'placeholder' => 'Auto-Generated')) }}
@if($join_date=='')
{{ Form::label('date_of_join', getphrase('date_of_join')) }} *
{{ Form::text('date_of_join', $value = date('Y/m/d') , $attributes = array('class'=>'form-control', 'placeholder' => '2015/7/17', 'id'=>'dp')) }}
@else
{{ Form::label('date_of_join', getphrase('date_of_join')) }} * {{ Form::text('date_of_join', $value =$join_date , $attributes = array('class'=>'form-control', 'placeholder' => '2015/7/17', 'id'=>'dp','readonly'=>true)) }}
@endif @if($record->roll_no!=''||$record->branch_id!=0||$record->academic_id!=0 ||$record->course_parent_id!=0||$record->course_id!=0)
{{ Form::label('academic_year', getphrase('branch')) }} * {{ Form::text('branch_id', $value = $join_branchName->branch_name.' ('.$join_branchName->address.')' , $attributes = array('class'=>'form-control','readonly'=>'true')) }}
{{ Form::label('academic_year', getphrase('academic_year')) }} * {{ Form::text('academic_id', $value = $join_academicTitle->academic_year_title , $attributes = array('class'=>'form-control','readonly'=>'true')) }}
{{ Form::label('parent_course', getphrase('parent_course')) }} * {{ Form::text('course_parent_id', $value = $join_parentName->course_title , $attributes = array('class'=>'form-control','readonly'=>'true')) }}
@if($record->roll_no)
{{ Form::label('course', getphrase('course')) }} * {{ Form::text('course_id', $value = $join_courseName->course_title , $attributes = array('class'=>'form-control','readonly'=>'true')) }}
@endif
{{ Form::label('student_type', getphrase('student_type')) }} * {{ Form::text('student_type', $value = $record->student_type , $attributes = array('class'=>'form-control uppercase','readonly'=>'true')) }}
@if($record->student_type!='rte' && $record->student_type!='nrte' ) @if(empty($join_scholarship->scholarship))
{{ Form::label('student_scholarship', getphrase('student_scholarship')) }} {{ Form::text('student_scholarship', $value = "" , $attributes = array('class'=>'form-control')) }}
@else
{{ Form::label('studentscholarship', getphrase('student_scholarship')) }} {{ Form::text('studentscholarship', $value = $join_scholarship->scholarship , $attributes = array('class'=>'form-control','readonly'=>'true')) }}
@endif @endif @endif
{{ Form::label('aadhar_no', getphrase('student_aadhar_no')) }} {{ Form::text('student_aadhar_no', $value = null , $attributes = array('class'=>'form-control', 'placeholder' => 'Aaadhar No')) }}

{{ getPhrase('present_academic_details')}}

@if($record->branch_id!=0||$record->academic_id!=0||$record->course_parent_id!=0||$record->course_id!=0)
{{ Form::label('branch_name', getphrase('current_branch_name')) }} * {{ Form::text('branch_id', $value = $branch_name_rec->branch_name.' ('.$branch_name_rec->address.')' , $attributes = array('class'=>'form-control','readonly'=>'true')) }}
{{ Form::label('academic_year', getphrase('current_academic_year')) }} * {{ Form::text('academic_id', $value = $academic_title->academic_year_title , $attributes = array('class'=>'form-control','readonly'=>'true')) }}
{{ Form::label('parent_course', getphrase('parent_course')) }} * {{ Form::text('course_parent_id', $value = $course_parent_name->course_title , $attributes = array('class'=>'form-control','readonly'=>'true')) }}
{{ Form::label('course', getphrase('current_course')) }} * {{ Form::text('course_id', $value = $course_name->course_title , $attributes = array('class'=>'form-control','readonly'=>'true')) }}
{{ Form::label ('section_id', getphrase('Section')) }} * {{Form::select('section_id', $sections, $record->section_id, ['class'=>'form-control', 'id'=>'section_id','required'=> 'true', ])}}
{{ Form::label ('student_status', getphrase('Student_status')) }} @if($record->student_status!='block') {{Form::select('student_status', array('normal'=>'Active','defaulter'=>'Defaulter','block'=>'Block'), $record->student_status, ['class'=>'form-control', 'id'=>'student_status','required'=> 'true', ])}} @else Block @endif
@if(!empty($record->roll_no)) @endif
@else