--
Select Education Board
@foreach ($education_boards as $education_board)
educations[$index_10th]->education_board == $education_board ? 'selected' : '' }} @endif>{{$education_board}}
@endforeach
@if($index_10th !== false && !in_array(@$candidate->educations[$index_10th]->education_board, $education_boards))
{{ __('other') }}
@else
educations[$index_10th]->education_board == "other" ? 'selected' : '' }} @endif>{{ __('other') }}
@endif
--
educations[$index_10th]->grade_type == "Percentage" ? 'selected' : ''}} @endif>Percentage
educations[$index_10th]->grade_type == "CGPA (10)" ? 'selected' : ''}}@endif>CGPA (10)
educations[$index_10th]->grade_type == "CGPA (4)" ? 'selected' : ''}}@endif>CGPA (4)
Stream in 12th/Diploma
educations[$index_12th]->stream == "Science" ? 'selected' : ''}}@endif>Science
educations[$index_12th]->stream == "Commerce" ? 'selected' : ''}}@endif>Commerce
educations[$index_12th]->stream == "Arts" ? 'selected' : ''}}@endif>Arts
educations[$index_12th]->stream == "Vocational" ? 'selected' : ''}}@endif>Vocational
Select Education Board
@foreach ($education_boards as $education_board)
educations[$index_12th]->education_board == $education_board ? 'selected' : '' }} @endif>{{$education_board}}
@endforeach
@if($index_12th !== false && !in_array(@$candidate->educations[$index_12th]->education_board, $education_boards))
{{ __('other') }}
@else
educations[$index_12th]->education_board == "other" ? 'selected' : '' }} @endif>{{ __('other') }}
@endif
--
educations[$index_12th]->grade_type == "Percentage" ? 'selected' : ''}}@endif>Percentage
educations[$index_12th]->grade_type == "CGPA (10)" ? 'selected' : ''}}@endif>CGPA (10)
educations[$index_12th]->grade_type == "CGPA (4)" ? 'selected' : ''}}@endif>CGPA (4)
Select Medium
educations[$index_12th]->medium == "English" ? 'selected' : ''}}@endif>English
educations[$index_12th]->medium == "Hindi" ? 'selected' : ''}}@endif>Hindi
educations[$index_12th]->medium, ["English", "Hindi", "Other"]))
selected
@endif
>{{ __('other') }}
{{--
Stream in 12th/Diploma
educations[$index_Diploma]->stream == "Science" ? 'selected' : ''}}@endif>Science
educations[$index_Diploma]->stream == "Commerce" ? 'selected' : ''}}@endif>Commerce
educations[$index_Diploma]->stream == "Arts" ? 'selected' : ''}}@endif>Arts
educations[$index_Diploma]->stream == "Vocational" ? 'selected' : ''}}@endif>Vocational
--}}
Select Education Board
@foreach ($diploma_courses as $stream)
educations[$index_Diploma]->stream == $stream->name ? 'selected' : '' }} @endif>{{$stream->name}}
@endforeach
@if($index_Diploma !== false && !in_array(@$candidate->educations[$index_Diploma]->stream, array_column($diploma_courses->toArray(), 'name')))
{{ __('other') }}
@else
educations[$index_Diploma]->stream == "other" ? 'selected' : '' }} @endif>{{ __('other') }}
@endif
{{--
--}}
Select Education Board
@foreach ($education_boards as $education_board)
educations[$index_Diploma]->education_board == $education_board ? 'selected' : '' }} @endif>{{$education_board}}
@endforeach
@if($index_Diploma !== false && !in_array(@$candidate->educations[$index_Diploma]->education_board, $education_boards))
{{ __('other') }}
@else
educations[$index_Diploma]->education_board == "other" ? 'selected' : '' }} @endif>{{ __('other') }}
@endif
educations[$index_Diploma]->grade_type == "Percentage" ? 'selected' : ''}}@endif>Percentage
educations[$index_Diploma]->grade_type == "CGPA (10)" ? 'selected' : ''}}@endif>CGPA (10)
educations[$index_Diploma]->grade_type == "CGPA (4)" ? 'selected' : ''}}@endif>CGPA (4)
Select Medium
educations[$index_Diploma]->medium == "English" ? 'selected' : ''}}@endif>English
educations[$index_Diploma]->medium == "Hindi" ? 'selected' : ''}}@endif>Hindi
educations[$index_Diploma]->medium, ["English", "Hindi", "Other"]))
selected
@endif
>{{ __('other') }}
Select Your University
@foreach ($ind_universities as $education_board)
educations[$index_Bachelor]->education_board == $education_board->name ? 'selected' : '' }} @endif>{{@$education_board->name}}
@endforeach
@if($index_Bachelor !== false && !in_array(@$candidate->educations[$index_Bachelor]->education_board, array_column($ind_universities->toArray(), 'name')))
{{ __('other') }}
@else
educations[$index_Bachelor]->education_board == "other" ? 'selected' : '' }} @endif>{{ __('other') }}
@endif
educations[$index_Bachelor]->grade_type == "Percentage" ? 'selected' : ''}}@endif>Percentage
educations[$index_Bachelor]->grade_type == "CGPA (10)" ? 'selected' : ''}}@endif>CGPA (10)
educations[$index_Bachelor]->grade_type == "CGPA (4)" ? 'selected' : ''}}@endif>CGPA (4)
Select Medium
educations[$index_Bachelor]->medium == "English" ? 'selected' : ''}}@endif>English
educations[$index_Bachelor]->medium == "Hindi" ? 'selected' : ''}}@endif>Hindi
@if($index_Bachelor !== false && !in_array(@$candidate->educations[$index_Bachelor]->medium, ["English", "Hindi", "Other"]))
{{ __('other') }}
@else
educations[$index_Bachelor]->medium == "other" ? 'selected' : '' }} @endif>{{ __('other') }}
@endif
Select Your University
@foreach ($ind_universities as $education_board)
educations[$index_Master]->education_board == $education_board->name ? 'selected' : '' }} @endif>{{@$education_board->name}}
@endforeach
@if($index_Master !== false && !in_array(@$candidate->educations[$index_Master]->education_board, array_column($ind_universities->toArray(), 'name')))
{{ __('other') }}
@else
educations[$index_Master]->education_board == "other" ? 'selected' : '' }} @endif>{{ __('other') }}
@endif
educations[$index_Master]->grade_type == "Percentage" ? 'selected' : ''}}@endif>Percentage
educations[$index_Master]->grade_type == "CGPA (10)" ? 'selected' : ''}}@endif>CGPA (10)
educations[$index_Master]->grade_type == "CGPA (4)" ? 'selected' : ''}}@endif>CGPA (4)
Select Medium
educations[$index_Master]->medium == "English" ? 'selected' : ''}}@endif>English
educations[$index_Master]->medium == "Hindi" ? 'selected' : ''}}@endif>Hindi
educations[$index_Master]->medium, ["English", "Hindi", "Other"]))
selected
@endif
>{{ __('other') }}
@foreach ($candidate->educations as $key => $education)
@php
$skip = false;
if ($index_10th !== false && $key == $index_10th) {
$skip = true;
} elseif ($index_12th !== false && $key == $index_12th) {
$skip = true;
} elseif ($index_Bachelor !== false && $key == $index_Bachelor) {
$skip = true;
} elseif ($index_Master !== false && $key == $index_Master) {
$skip = true;
} elseif ($index_Diploma !== false && $key == $index_Diploma) {
$skip = true;
}
if ($skip) {
continue;
}
$education_index++;
@endphp
qualification == "Other" ? 'selected' : '' }}>{{ __('other') }}
qualification == "10th" ? 'selected' : '' }}>10th
qualification == "12th" ? 'selected' : '' }}>12th
qualification == "Bachelors" ? 'selected' : '' }}>Bachelors
qualification == "Masters" ? 'selected' : '' }}>Masters
qualification == "Diploma" ? 'selected' : '' }}>Diploma
qualification == "Certification" ? 'selected' : '' }}>Certification
qualification == "PhD" ? 'selected' : '' }}>PhD
@if(@$education->qualification == "12th")
Stream in 12th/Diploma
stream == "Science" ? 'selected' : ''}}>Science
stream == "Commerce" ? 'selected' : ''}}>Commerce
stream == "Arts" ? 'selected' : ''}}>Arts
stream == "Vocational" ? 'selected' : ''}}>Vocational
@elseif(@$education->qualification == "Diploma")
{{--
--}}
Select Education Board
@foreach ($diploma_courses as $stream)
stream == $stream->name ? 'selected' : '' }}>{{$stream->name}}
@endforeach
@if(!in_array(@$education->stream, array_column($diploma_courses->toArray(), 'name')))
{{ __('other') }}
@else
stream == "other" ? 'selected' : '' }}>{{ __('other') }}
@endif
@elseif(@$education->qualification == "Bachelors" || @$education->qualification == "Masters" || @$education->qualification == "PhD")
@elseif(@$education->qualification == "Certification")
@else
--
@endif
@if(@$education->qualification == "12th" || @$education->qualification == "10th" || @$education->qualification == "Diploma")
Select Education Board
@foreach ($education_boards as $education_board)
education_board == $education_board ? 'selected' : '' }}>{{$education_board}}
@endforeach
@if(!in_array(@$education->education_board, $education_boards))
{{ __('other') }}
@else
education_board == "other" ? 'selected' : '' }}>{{ __('other') }}
@endif
@elseif(@$education->qualification == "Bachelors" || @$education->qualification == "Masters" || @$education->qualification == "PhD" )
Select Your University
@foreach ($ind_universities as $education_board)
education_board == $education_board->name ? 'selected' : '' }}>{{@$education_board->name}}
@endforeach
@if(!in_array(@$education->education_board, array_column($ind_universities->toArray(), 'name')))
{{ __('other') }}
@else
education_board == "other" ? 'selected' : '' }} >{{ __('other') }}
@endif
@else
--
@endif
@if(@$education->qualification == "12th" || @$education->qualification == "10th")
--
@else
@endif
grade_type == "Percentage" ? 'selected' : ''}}>Percentage
grade_type == "CGPA (10)" ? 'selected' : ''}}>CGPA (10)
grade_type == "CGPA (4)" ? 'selected' : ''}}>CGPA (4)
Select Medium
medium == "English" ? 'selected' : ''}}>English
medium == "Hindi" ? 'selected' : ''}}>Hindi
medium !== false && !in_array($education->medium, ["English", "Hindi", "Other"]))
selected
@endif
>{{ __('other') }}
--
@endforeach