@if($grandchild) @endif
name_bn ?? '') }}" placeholder="নাতি/নাতনির পূর্ণ নাম (বাংলা)"> @error("grandchildren.$index.grandchild_name_bn")
{{ $message }}
@enderror
name_en ?? '') }}" placeholder="Grandchild Full Name (English)"> @error("grandchildren.$index.grandchild_name")
{{ $message }}
@enderror
dob ? $grandchild->dob->format('Y-m-d') : '') }}"> @error("grandchildren.$index.grandchild_dob")
{{ $message }}
@enderror
@error("grandchildren.$index.grandchild_blood_group")
{{ $message }}
@enderror
@php $grandchildOccupationType = old("grandchildren.$index.grandchild_occupation_type", $grandchild && $grandchild->occupation_type == 2 ? 'professional' : ($grandchild && $grandchild->occupation_type == 1 ? 'student' : '')); @endphp @error("grandchildren.$index.grandchild_occupation_type")
{{ $message }}
@enderror
@php $showGrandchildStudentFields = old("grandchildren.$index.grandchild_occupation_type", $grandchild && $grandchild->occupation_type == 1 ? 'student' : ''); $showGrandchildProfessionalFields = old("grandchildren.$index.grandchild_occupation_type", $grandchild && $grandchild->occupation_type == 2 ? 'professional' : ''); @endphp
@error("grandchildren.$index.education_level")
{{ $message }}
@enderror
edu_institution ?? '') }}" placeholder="Enter institution name"> @error("grandchildren.$index.edu_institution_name")
{{ $message }}
@enderror
occupation ?? '') }}" placeholder="Enter occupation"> @error("grandchildren.$index.grandchild_occupation")
{{ $message }}
@enderror
organization ?? '') }}" placeholder="Enter organization name"> @error("grandchildren.$index.grandchild_organization_name")
{{ $message }}
@enderror
designation ?? '') }}" placeholder="Enter designation"> @error("grandchildren.$index.grandchild_designation")
{{ $message }}
@enderror
@error("grandchildren.$index.workplace_loc_district_id")
{{ $message }}
@enderror
@error("grandchildren.$index.workplace_loc_upazila_municipality_id")
{{ $message }}
@enderror
@php $grandchildMaritalStatus = old("grandchildren.$index.grandchild_marital_status", $grandchild && $grandchild->grand_child_marital_status == 1 ? 'married' : 'unmarried'); @endphp @error("grandchildren.$index.grandchild_marital_status")
{{ $message }}
@enderror
grand_child_spouse_name ?? '') }}" placeholder="Enter spouse name"> @error("grandchildren.$index.grandchild_spouse_name")
{{ $message }}
@enderror