{{--
Loading...
--}}
@if($steps == 1)

Student's Personal Info:

Step 1 - 4

@if ($errors->has('first_name')) {{ $errors->first('first_name') }} @endif
@if ($errors->has('mother_name')) {{ $errors->first('mother_name') }} @endif
@if ($errors->has('middle_name')) {{ $errors->first('middle_name') }} @endif
@if ($errors->has('last_name')) {{ $errors->first('last_name') }} @endif
@if ($errors->has('dob')) {{ $errors->first('dob') }} @endif
@if ($errors->has('age')) {{ $errors->first('age') }} @endif
@if ($errors->has('gender')) {{ $errors->first('gender') }} @endif
@if ($errors->has('nationality')) {{ $errors->first('nationality') }} @endif
@if ($errors->has('birth_place')) {{ $errors->first('birth_place') }} @endif
@if ($errors->has('mother_tongue')) {{ $errors->first('mother_tongue') }} @endif
@if ($errors->has('religion')) {{ $errors->first('religion') }} @endif
@if ($errors->has('caste')) {{ $errors->first('caste') }} @endif
@if ($errors->has('aadhaar_no')) {{ $errors->first('aadhaar_no') }} @endif @if ($errors->has('is_aadhaar_unique')) {{ $errors->first('is_aadhaar_unique') }} @endif
@if ($errors->has('blood_group')) {{ $errors->first('blood_group') }} @endif
@endif @if($steps == 2)
@for($i = 1; $i <= ($is_divorcee ? 1 : 2); $i++) @if ($i == 1)

{{ $is_divorcee ? "Parent's" : "Father's" }} Details:

Step 2 - 4

@else

Mother's Details:

@endif
@if ($errors->has('p_first_name.'.$i)) {{ $errors->first('p_first_name.'.$i) }} @endif
@if ($errors->has('p_middle_name.'.$i)) {{ $errors->first('p_middle_name.'.$i) }} @endif
@if ($errors->has('p_last_name.'.$i)) {{ $errors->first('p_last_name.'.$i) }} @endif
@if ($errors->has('p_mobile.'.$i)) {{ $errors->first('p_mobile.'.$i) }} @endif @if ($errors->has('mobile_verified.'.$i)) {{ $errors->first('mobile_verified.'.$i) }} @endif
@php $isValid = 1; if($p_mobile[$i] != $old_mobile[$i]) $isValid = $mobile_verified[$i]; else $isValid = 1; @endphp
@if ($errors->has('p_alt_mobile.'.$i)) {{ $errors->first('p_alt_mobile.'.$i) }} @endif
@if ($errors->has('p_email.'.$i)) {{ $errors->first('p_email.'.$i) }} @endif
@if ($errors->has('p_qualification.'.$i)) {{ $errors->first('p_qualification.'.$i) }} @endif
{{-- --}} @if ($errors->has('p_profession.'.$i)) {{ $errors->first('p_profession.'.$i) }} @endif
@if ($errors->has('p_aadhaar_no.'.$i)) {{ $errors->first('p_aadhaar_no.'.$i) }} @endif
@if ($errors->has('p_pan_no.'.$i)) {{ $errors->first('p_pan_no.'.$i) }} @endif
@endfor
@endif @if($steps == 3)
@for($i = 1; $i <= 2; $i++) @if ($i == 1)

Current Residential Address:

Step 3 - 4

@if ($errors->has('residential_type')) {{ $errors->first('residential_type') }} @endif
@if ($residential_type == 1)
@if ($errors->has('no_of_months')) {{ $errors->first('no_of_months') }} @endif
@endif @endif

Permanent Address:

@if ($errors->has('house_no.'.$i)) {{ $errors->first('house_no.'.$i) }} @endif
@if ($errors->has('area.'.$i)) {{ $errors->first('area.'.$i) }} @endif
@if ($errors->has('landmark.'.$i)) {{ $errors->first('landmark.'.$i) }} @endif
@if ($errors->has('city.'.$i)) {{ $errors->first('city.'.$i) }} @endif
@if ($errors->has('district.'.$i)) {{ $errors->first('district.'.$i) }} @endif
@if ($errors->has('state.'.$i)) {{ $errors->first('state.'.$i) }} @endif
@if ($errors->has('pincode.'.$i)) {{ $errors->first('pincode.'.$i) }} @endif
@if($i == 1)
@if ($errors->has('latitude')) {{ $errors->first('latitude') }} @endif
@endif @endfor
@endif

Document Uploads:

Step 4 - 4

@php if($residential_type == 2) $documentDatas = collect($documentDatas)->reject( fn ($value, $key) => $value['id'] == 6 )->toArray(); if($is_divorcee) $documentDatas = collect($documentDatas)->reject( fn ($value, $key) => $value['id'] == 8 )->toArray(); @endphp @foreach ($documentDatas as $documentData)
@if ($errors->has('document.'.$documentData['id'])) {{ $errors->first('document.'.$documentData['id']) }} @endif
@if( array_key_exists($documentData['id'], $document_hidden)) View File @endif
@endforeach
@push('scripts') @endpush