@csrf

{{ __('user.Complete with your information') }}

@foreach($kycFields as $field) @php $value = isset($existingKyc[$field['name']]) ? $existingKyc[$field['name']][0] : ''; @endphp {{-- TEXT FIELD --}} @if($field['type'] === 'text') {{-- TEXTAREA FIELD --}} @elseif($field['type'] === 'textarea')
{{-- FILE FIELD --}} @elseif($field['type'] === 'file')
@endif @endforeach
{{-- STATUS BUTTON --}} @if(auth()->user()->kyc_status == 1) {{ __('user.Approved kyc Information') }} @elseif(auth()->user()->kyc_status == 2) {{ __('user.Reject your kyc Information. please provide valid information') }} @elseif(auth()->user()->kyc_status == 3) {{ __('user.Your kyc Information under review. please wait for approved') }} @else @endif