@php $serial = 1; $alphaSerial = 'A'; @endphp {{-- session_id, program_id, semester_class_id --}}
{{-- program_id --}}
@php $programLabel = match ($companyType ?? null) { 'UNV' => 'Program', 'SCL','CLG' => 'Medium', default => 'Program/Medium' }; @endphp {!! Form::label('program_id', $programLabel . ': *', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::select('program_id', $programs ?? [], $applicant?->program_id ?? null, [ 'class'=>'form-control custom-select2', 'id' => 'program_id', 'placeholder' => "Please select a $programLabel", ]) !!}

{{-- session_id --}}
{!! Form::label('session_id', 'Session: *', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::select('session_id', $sessions ?? [], $applicant?->session_id ?? null, ['class'=>'form-control custom-select2', 'id' => 'session_id','placeholder' => 'Please select a session']) !!}

{{-- semester_class_id --}}
@php $semesterOrClassLabel = match ($companyType) { 'UNV' => 'Semester', 'SCL', 'CLG' => 'Class', default => 'Semester/Class/Year' }; @endphp {!! Form::label('semester_class_id', $semesterOrClassLabel . ': *', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::select('semester_class_id', $semester_classes ?? [], $applicant?->semester_class_id ?? null, [ 'class'=>'form-control custom-select2', 'id' => 'semester_class_id', 'placeholder' => "Please select a $semesterOrClassLabel", ]) !!}

@if($companyType == 'SCL' || $companyType == 'CLG') {{-- semester_class_group_id --}}
{!! Form::label('semester_class_group_id', 'Group:', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::select('semester_class_group_id', $semester_class_group_type ?? [], $applicant?->semester_class_group_id ?? null, [ 'class'=>'form-control custom-select2', 'id' => 'semester_class_group_id', 'placeholder' => 'Please select class group', ]) !!}

{{-- section_id --}}
{!! Form::label('section_id', 'Section: *', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::select('section_id', $sections ?? [], $applicant?->section_id ?? null, [ 'class'=>'form-control custom-select2', 'id' => 'section_id', 'placeholder' => 'Please Select Section', ]) !!}

@endif {{-- shift_id --}}
{!! Form::label('shift_id', 'Shift:', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::select('shift_id', $shifts ?? [], $applicant?->shift_id ?? null, [ 'class'=>'form-control custom-select2', 'id' => 'shift_id', 'placeholder' => 'Please Select Shift', ]) !!}

{{-- Personal Information Section Start --}}

Warning: Undefined variable $alphaSerial in /home/shikkhaplus/public_html/demo_bk/resources/views/eims/admission/application/loadInformationTab.blade.php on line 120
. Personal Information

{{-- name --}}
{!! Form::label('name', "$serial. " . 'Name of Applicant: *', ['class' => 'col-sm-2 control-label'], false) !!}
{!! Form::text('name', $applicant?->name ?? null, ['class' => 'form-control', 'id' => 'name', 'type' => 'text', 'placeholder' => 'Enter name']) !!}

@php $serial++; @endphp {{-- phone_number, email --}}
{{-- phone_number --}}
{!! Form::label('phone_number', "$serial. " . 'Phone Number: ', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::text('phone_number', $applicant?->phone_number ?? null, ['class' => 'form-control', 'id' => 'phone_number', 'type' => 'text', 'placeholder' => 'Enter phone number']) !!}

@php $serial++; @endphp {{-- email --}}
{!! Form::label('email', "$serial. " . 'Email:', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::email('email', $applicant?->email ?? null, ['class' => 'form-control', 'id' => 'email', 'placeholder' => 'Enter email']) !!}

@php $serial++; @endphp
{{-- gender, marital_status. --}}
{{-- gender --}}
{!! Form::label('gender', "$serial. " . 'Gender: *', ['class' => 'col-sm-4 control-label'], false) !!}
@foreach($genders as $gender)
{!! Form::radio('gender', $gender, $applicant?->gender == $gender, ['class' => 'form-check-input', 'id' => "gender_$gender"]) !!} {!! Form::label("gender_$gender", ucfirst( $gender), ['class' => 'form-check-label']) !!}
@endforeach

@php $serial++; @endphp @if($companyType == 'UNV') {{-- marital_status --}}
{!! Form::label('marital_status', "$serial. " . 'Marital Status: *', ['class' => 'col-sm-4 control-label'], false) !!}
@foreach($marital_statuses as $marital_status)
{!! Form::radio('marital_status', $marital_status, $applicant?->gender == $marital_status, ['class' => 'form-check-input', 'id' => "marital_status_$marital_status"]) !!} {!! Form::label("marital_status_$marital_status", ucfirst( $marital_status), ['class' => 'form-check-label']) !!}
@endforeach

@php $serial++; @endphp @endif
{{-- dob, religion, blood_group --}}
{{-- dob --}}
{!! Form::label('dob', "$serial. " . 'Date of Birth: *', ['class' => 'col-sm-6 control-label'], false) !!}
{!! Form::text('dob', ($applicant?->dob ? $applicant?->dob : date('d-m-Y', strtotime('-3 years'))) , ['class' => 'form-control', 'id' => 'dob', 'readonly', 'autocomplete' => 'off']) !!}

@php $serial++; @endphp {{-- religion --}}
{!! Form::label('religion', "$serial. " . 'Religion:', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::select('religion', ($religions ?? []), $applicant?->religion ?? null, ['class' => 'form-control custom-select2', 'id' => 'religion', 'placeholder' => 'Please Select Religion']) !!}

@php $serial++; @endphp {{-- blood_group --}}
{!! Form::label('blood_group', "$serial. " . 'Blood Group:', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::select('blood_group', ($blood_groups ?? []), $applicant?->blood_group ?? null, array('class'=>'form-control custom-select2', 'id' => 'blood_group','placeholder' => 'Please Select Blood Group')) !!}

@php $serial++; @endphp
{{-- nationality, national_id, birth_certificate_id --}}
{{-- nationality --}}
{!! Form::label('nationality', "$serial. " . 'Nationality: *', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::text('nationality', $applicant?->nationality ?? null, ['class' => 'form-control', 'id' => 'nationality', 'placeholder' => 'Enter your nationality']) !!}

@php $serial++; @endphp @if($companyType === 'UNV' ) {{-- national_id --}}
{!! Form::label('national_id', "$serial. " . 'National ID: *', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::text('national_id', $applicant?->national_id ?? null, ['class' => 'form-control', 'id' => 'national_id', 'placeholder' => 'Enter your national ID']) !!}

@php $serial++; @endphp @elseif($companyType === 'SCL' || $companyType === 'CLG') {{-- birth_certificate_id --}}
{!! Form::label('birth_certificate_id', "$serial. " .'Birth Certificate ID:', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::text('birth_certificate_id', $applicant?->birth_certificate_id ?? null, ['class' => 'form-control', 'id' => 'birth_certificate_id', 'placeholder' => 'Enter your birth certificate ID']) !!}

@php $serial++; @endphp @endif
{{-- father information: father_name, father_occupation, father_phone_number. --}}
{{-- father_name --}}
{!! Form::label('father_name', "$serial. " . "Father's Name: *", ['class' => 'col-sm-2 control-label'], false) !!}
{!! Form::text('father_name', $applicant?->father_name , ['class' => 'form-control', 'id' => 'father_name', 'type' => 'text', 'placeholder' => 'Enter father name']) !!}

{{-- father_occupation --}}
{!! Form::label('father_occupation', "Occupation:", ['class' => ' col-sm-4 control-label'],false) !!}
{!! Form::text('father_occupation', $applicant?->father_occupation, ['class' => 'form-control', 'id' => 'father_occupation', 'type' => 'file', 'placeholder' => 'Enter father occupation']) !!}

{{-- father_phone_number --}}
{!! Form::label('father_phone_number', "Phone Number:", ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('father_phone_number', $applicant?->father_phone_number, ['class' => 'form-control', 'id' => 'father_phone_number', 'type' => 'text', 'placeholder' => 'Enter father phone number']) !!}

@php $serial++; @endphp {{-- mother information: mother_name, mother_occupationm, mother_phone_number --}}
{{-- mother_name --}}
{!! Form::label('mother_name', "$serial. " . "Mother's Name: *", ['class' => 'col-sm-2 control-label'], false) !!}
{!! Form::text('mother_name', $applicant?->mother_name, ['class' => 'form-control', 'id' => 'mother_name', 'type' => 'text', 'placeholder' => 'Enter mother name']) !!}

{{-- mother_occupation --}}
{!! Form::label('mother_occupation', "Occupation:", ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('mother_occupation', $applicant?->mother_occupation, ['class' => 'form-control', 'id' => 'mother_occupation', 'type' => 'file', 'placeholder' => 'Enter mother occupation']) !!}

{{-- mother_phone_number --}}
{!! Form::label('mother_phone_number', "Phone Number:", ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('mother_phone_number', $applicant?->mother_phone_number, ['class' => 'form-control', 'id' => 'mother_phone_number', 'type' => 'text', 'placeholder' => 'Enter mother phone number']) !!}

@php $serial++; @endphp {{-- Guaridan Section Start --}}
{{-- guardian_name --}}
{!! Form::label('guardian_name', "$serial. " . "Guardian's Name:
(if different from parents)", ['class' => 'col-sm-2 control-label'], false) !!}
{!! Form::text('guardian_name', $applicant?->guardian_name, ['class' => 'form-control', 'id' => 'guardian_name', 'type' => 'text', 'placeholder' => 'Enter guardian name']) !!}

{{-- guardian_occupation --}}
{!! Form::label('guardian_occupation', "Occupation:", ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('guardian_occupation', $applicant?->guardian_occupation, ['class' => 'form-control', 'id' => 'guardian_occupation', 'type' => 'file', 'placeholder' => 'Enter guardian occupation']) !!}

{{-- guardian_phone_number --}}
{!! Form::label('guardian_phone_number', "Phone Number:", ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('guardian_phone_number', $applicant?->guardian_phone_number, ['class' => 'form-control', 'id' => 'guardian_phone_number', 'type' => 'text', 'placeholder' => 'Enter guardian phone number']) !!}

@php $serial++; @endphp {{-- Guaridan Section End --}} {{-- Permanent Address Section Start --}}

Warning: Undefined variable $serial in /home/shikkhaplus/public_html/demo_bk/resources/views/eims/admission/application/loadInformationTab.blade.php on line 400
. Permanent Address:
{{-- village_house_no --}}
{!! Form::label('permanent_village_house_no', 'Village/House no:', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::text('permanent_village_house_no', $applicant?->permanent_village_house_no ?? null, [ 'class' => 'form-control', 'id' => 'permanent_village_house_no', 'placeholder' => 'Enter village/house no.']) !!}

{{-- po_road_no --}}
{!! Form::label('permanent_po_road_no', 'P.O/Road no:', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::text('permanent_po_road_no', $applicant?->permanent_po_road_no ?? null, [ 'class' => 'form-control', 'id' => 'permanent_po_road_no', 'placeholder' => 'Enter P.O/Road no']) !!}

{{-- ps --}}
{!! Form::label('ps', 'Upazila:', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::text('permanent_ps', $applicant?->permanent_ps ?? null, ['class' => 'form-control', 'id' => 'permanent_ps', 'placeholder' => 'Enter Upazila']) !!}

{{-- dist --}}
{!! Form::label('permanent_dist', 'Dist:', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::text('permanent_dist', $applicant?->permanent_dist ?? null, ['class' => 'form-control', 'id' => 'permanent_dist', 'placeholder' => 'Enter dist']) !!}

@php $serial++; @endphp {{-- Permanent Address Section End --}} {{-- Present Address Section Start --}}

Warning: Undefined variable $serial in /home/shikkhaplus/public_html/demo_bk/resources/views/eims/admission/application/loadInformationTab.blade.php on line 458
. Present Address:
{{-- village_house_no --}}
{!! Form::label('present_village_house_no','Village/House no.:', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::text('present_village_house_no', $applicant?->present_village_house_no ?? null, ['class' => 'form-control', 'id' => 'present_village_house_no', 'placeholder' => 'Enter village/house no.']) !!}

{{-- po_road_no --}}
{!! Form::label('present_po_road_no', 'P.O/Road no:', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::text('present_po_road_no', $applicant?->present_po_road_no ?? null, ['class' => 'form-control', 'id' => 'present_po_road_no', 'type' => 'text', 'placeholder' => 'Enter P.O/Road no']) !!}

{{-- ps --}}
{!! Form::label('present_ps', 'Upazila:', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::text('present_ps', $applicant?->present_ps ?? null, ['class' => 'form-control', 'id' => 'present_ps', 'type' => 'text', 'placeholder' => 'Enter Upazila']) !!}

{{-- dist --}}
{!! Form::label('present_dist', 'Dist:', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::text('present_dist', $applicant?->present_dist ?? null, ['class' => 'form-control', 'id' => 'present_dist', 'type' => 'text', 'placeholder' => 'Enter dist']) !!}

@php $serial++; @endphp {{-- Personal Information: Present Address Section End --}} @php $serial = 1; @endphp {{-- Emergeny Person Contact Section Start --}}
1. Person to be noticed in case of emergency

{{-- emergency_contact_person_name --}}
{!! Form::label('emergency_contact_person_name', "$serial. " . 'Name: *', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::text('emergency_contact_person_name', $applicant?->emergency_contact_person_name ?? null, ['class' => 'form-control', 'id' => 'emergency_contact_person_name', 'type' => 'text', 'placeholder' => 'Enter name']) !!}

@php $serial++; @endphp {{-- emergency_contact_person_relationship --}}
{!! Form::label('emergency_contact_person_relationship', "$serial. " . 'Relationship: *', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::text('emergency_contact_person_relationship', $applicant?->emergency_contact_person_relationship ?? null, ['class' => 'form-control', 'id' => 'emergency_contact_person_relationship', 'type' => 'text', 'placeholder' => 'Enter relationship']) !!}

@php $serial++; @endphp {{-- emergency_contact_person_phone_number --}}
{!! Form::label('emergency_contact_person_phone_number',"$serial. " . 'Phone Number: *', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::text('emergency_contact_person_phone_number', $applicant?->emergency_contact_person_phone_number ?? null, ['class' => 'form-control', 'id' => 'emergency_contact_person_phone_number', 'type' => 'text', 'placeholder' => 'Enter phone number']) !!}

@php $serial++; @endphp {{-- emergency_contact_person_designation --}}
{!! Form::label('emergency_contact_person_designation', "$serial. " .'Designation: ', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::text('emergency_contact_person_designation', $applicant?->emergency_contact_person_designation ?? null, ['class' => 'form-control', 'id' => 'emergency_contact_person_designation', 'type' => 'text', 'placeholder' => 'Enter designation']) !!}

@php $serial++; @endphp {{-- emergency_contact_person_address --}}
{!! Form::label('emergency_contact_person_address', "$serial. " .'Address:', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::text('emergency_contact_person_address', $applicant?->emergency_contact_person_address ?? null, ['class' => 'form-control', 'id' => 'emergency_contact_person_address', 'type' => 'text', 'placeholder' => 'Enter address']) !!}

@php $serial++; @endphp
{{-- Emergeny Person Contact Section End --}} @php $serial = 1; @endphp {{-- educational_information --}}
2. Educational Information

@if($companyType === 'SCL')
@forelse ($applicant?->eims_admission_educational_information ?? [] as $key => $educationalInformation)

Warning: Undefined variable $serial in /home/shikkhaplus/public_html/demo_bk/resources/views/eims/admission/application/loadInformationTab.blade.php on line 595
. Previous Institute {{ Form::hidden('institute_id[]', $educationalInformation->id) }} {{ Form::hidden('institute_type[]', 'previous') }}
{{-- institute_name --}}
{!! Form::label('institute_name', 'Name of the Institution: *', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::text('institute_name[]', $educationalInformation->institute_name, ['class' => 'form-control institute-name-input', 'id' => 'institute_name', 'type' => 'text', 'placeholder' => 'Enter name of the institution']) !!}

{{-- institute_board_id --}}
{!! Form::label('institute_board_id', 'Board:', ['class' => 'col-sm-3 control-label'], false) !!}
{!! Form::select('institute_board_id[]', $boards ?? [], $educationalInformation->institute_board_id, ['class' => 'form-control institute-board-id-input', 'id' => 'institute_board_id', 'placeholder' => 'Please Select Board']) !!}

{{-- institute_gpa --}}
{!! Form::label('institute_gpa', 'Division/GPA: *', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::text('institute_gpa[]', $educationalInformation->institute_gpa, [ 'class' => 'form-control institute-gpa-input', 'id' => 'institute_gpa', 'placeholder' => 'GPA']) !!}

{{-- institute_group_id --}}
{!! Form::label('institute_group_id', 'Group:', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::select('institute_group_id[]', $semester_class_group_type ?? [], $educationalInformation->institute_group_id, ['class' => 'form-control institute-group-id-input', 'id' => 'institute_group_id', 'placeholder' => 'Please Select Group']) !!}

{{-- institute_year --}}
{!! Form::label('institute_year', 'Year: *', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::text('institute_year[]', $educationalInformation->institute_year, [ 'class' => 'form-control institute-year-input', 'id' => 'institute_year', 'placeholder' => 'Enter year', ]) !!}

@empty {{-- institute --}}
1. Previous Institute {{ Form::hidden('institute_type[]', 'previous') }}
{{-- institute_name --}}
{!! Form::label('institute_name', 'Name of the Institution: *', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::text('institute_name[]', $applicant?->institute_name ?? null, ['class' => 'form-control institute-name-input', 'id' => 'institute_name', 'type' => 'text', 'placeholder' => 'Enter name of the institution']) !!}

{{-- institute_board_id --}}
{!! Form::label('institute_board_id', 'Board:', ['class' => 'col-sm-3 control-label'], false) !!}
{!! Form::select('institute_board_id[]', $boards ?? [], $applicant?->institute_board_id ?? null, ['class' => 'form-control institute-board-id-input', 'id' => 'institute_board_id', 'placeholder' => 'Please Select Board']) !!}

{{-- institute_gpa --}}
{!! Form::label('institute_gpa', 'Division/GPA: *', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::text('institute_gpa[]', $applicant?->institute_gpa ?? null, [ 'class' => 'form-control institute-gpa-input', 'id' => 'institute_gpa', 'placeholder' => 'GPA']) !!}

{{-- institute_group_id --}}
{!! Form::label('institute_group_id', 'Group:', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::select('institute_group_id[]', $semester_class_group_type ?? [], $applicant?->institute_group_id ?? null, ['class' => 'form-control institute-group-id-input', 'id' => 'institute_group_id', 'placeholder' => 'Please Select Group']) !!}

{{-- institute_year --}}
{!! Form::label('institute_year', 'Year: *', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::text('institute_year[]', $applicant?->institute_year ?? null, [ 'class' => 'form-control institute-year-input' , 'id' => 'institute_year', 'placeholder' => 'Enter year', ]) !!}

@endforelse
{{-- previous_instute add More/remove buttons --}}
@php $serial++; @endphp @endif @if($companyType === 'CLG' || $companyType === 'UNV') {{-- ssc_information--}}
2. SSC/O’ Level / Equivalent {{ Form::hidden('institute_id[]', null) }} {{ Form::hidden('institute_type[]', 'ssc') }} {{ Form::hidden('institute_university[]', null) }} {{ Form::hidden('institute_program[]', null) }}
{{-- ssc_institution --}}
{!! Form::label('institute_name', 'Name of the Institution: *', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::text('institute_name[]', null, ['class' => 'form-control', 'id' => 'institute_name', 'placeholder' => 'Enter name of the institution']) !!}

{{-- ssc_board --}}
{!! Form::label('institute_board_id', 'Board:', ['class' => 'col-sm-5 control-label'], false) !!}
{!! Form::select('institute_board_id[]', $boards ?? [], null, ['class' => 'form-control', 'id' => 'institute_board_id', 'placeholder' => 'Please Select Board']) !!}

{{-- ssc_gpa --}}
{!! Form::label('institute_gpa', 'Division/GPA: *', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::text('institute_gpa[]', null, [ 'class' => 'form-control', 'id' => 'institute_gpa', 'placeholder' => 'GPA']) !!}

{{-- ssc_group --}}
{!! Form::label('institute_group_id', 'Group:', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::select('institute_group_id[]', $semester_class_group_type ?? [], null, ['class' => 'form-control', 'id' => 'institute_group_id', 'placeholder' => 'Please Select Group']) !!}

{{-- ssc_year --}}
{!! Form::label('institute_year', 'Year: *', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::text('institute_year[]', null, [ 'class' => 'form-control', 'id' => 'institute_year', 'placeholder' => 'Enter year', ]) !!}

@endif @if($companyType === 'UNV' ) {{-- hsc_information --}}
3. HSC/A’ Level / Equivalent {{ Form::hidden('institute_id[]', null) }} {{ Form::hidden('institute_type[]', 'hsc') }} {{ Form::hidden('institute_university[]', null) }} {{ Form::hidden('institute_program[]', null) }}
{{-- hsc_institution --}}
{!! Form::label('institute_name', 'Name of the Institution: *', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::text('institute_name[]', null, ['class' => 'form-control', 'id' => 'institute_name', 'placeholder' => 'Enter name of the institution']) !!}

{{-- hsc_board --}}
{!! Form::label('institute_board_id', 'Board:', ['class' => 'col-sm-5 control-label'], false) !!}
{!! Form::select('institute_board_id[]', $boards ?? [], null, ['class' => 'form-control', 'id' => 'institute_board_id', 'placeholder' => 'Please Select Board']) !!}

{{-- hsc_gpa --}}
{!! Form::label('institute_gpa', 'Division/GPA: *', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::text('institute_gpa[]', null, [ 'class' => 'form-control', 'id' => 'institute_gpa', 'placeholder' => 'GPA']) !!}

{{-- hsc_group --}}
{!! Form::label('institute_group_id', 'Group:', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::select('institute_group_id[]', $semester_class_group_type ?? [], null, ['class' => 'form-control', 'id' => 'institute_group_id', 'placeholder' => 'Please Select Group']) !!}

{{-- hsc_year --}}
{!! Form::label('institute_year', 'Year: *', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::text('institute_year[]', null, [ 'class' => 'form-control', 'id' => 'institute_year', 'placeholder' => 'Enter year', ]) !!}

{{-- Bachelor’s Degree/Equivalent --}}
4. Bachelor’s Degree/Equivalent {{ Form::hidden('institute_id[]', null) }} {{ Form::hidden('institute_type[]', 'bachelor') }} {{ Form::hidden('institute_board_id[]', null) }} {{ Form::hidden('institute_group_id[]', null) }}
{{-- bachelor_institution --}}
{!! Form::label('institute_name', 'Name of the Institution: *', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::text('institute_name[]', null, ['class' => 'form-control', 'id' => 'institute_name', 'placeholder' => 'Enter name of the institution']) !!}

{{-- bachelor_university --}}
{!! Form::label('institute_board_id', 'University:', ['class' => 'col-sm-5 control-label'], false) !!}
{!! Form::text('institute_university[]', null, ['class' => 'form-control', 'id' => 'institute_university', 'placeholder' => 'Enter university']) !!}

{{-- bachelor_cgpa --}}
{!! Form::label('institute_gpa', 'Class/CGPA: *', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::text('institute_gpa[]', null, [ 'class' => 'form-control', 'id' => 'institute_gpa', 'placeholder' => 'CGPA']) !!}

{{-- bachelor_program --}}
{!! Form::label('institute_group_id', 'Program:', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::text('institute_program[]', null, ['class' => 'form-control', 'id' => 'institute_program', 'placeholder' => 'Enter program']) !!}

{{-- bachelor_year --}}
{!! Form::label('institute_year', 'Year: *', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::text('institute_year[]', null, [ 'class' => 'form-control', 'id' => 'institute_year', 'placeholder' => 'Enter year', ]) !!}

{{-- Master’s Degree/Equivalent --}}
5. Master’s Degree/Equivalent {{ Form::hidden('institute_id[]', null) }} {{ Form::hidden('institute_type[]', 'master') }} {{ Form::hidden('institute_board_id[]', null) }} {{ Form::hidden('institute_group_id[]', null) }}
{{-- master_institution --}}
{!! Form::label('institute_name', 'Name of the Institution: *', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::text('institute_name[]', null, ['class' => 'form-control', 'id' => 'institute_name', 'placeholder' => 'Enter name of the institution']) !!}

{{-- master_university --}}
{!! Form::label('institute_board_id', 'University:', ['class' => 'col-sm-5 control-label'], false) !!}
{!! Form::text('institute_university[]', null, ['class' => 'form-control', 'id' => 'institute_university', 'placeholder' => 'Enter university']) !!}

{{-- master_cgpa --}}
{!! Form::label('institute_gpa', 'Class/CGPA: *', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::text('institute_gpa[]', null, [ 'class' => 'form-control', 'id' => 'institute_gpa', 'placeholder' => 'CGPA']) !!}

{{-- master_program --}}
{!! Form::label('institute_group_id', 'Program:', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::text('institute_program[]', null, ['class' => 'form-control', 'id' => 'institute_program', 'placeholder' => 'Enter program']) !!}

{{-- master_year --}}
{!! Form::label('institute_year', 'Year: *', ['class' => 'col-sm-4 control-label'], false) !!}
{!! Form::text('institute_year[]', null, [ 'class' => 'form-control', 'id' => 'institute_year', 'placeholder' => 'Enter year', ]) !!}

@endif