fixed kyc api issue
This commit is contained in:
@@ -28,26 +28,26 @@ class StoreCompanyKYCApi extends FormRequest
|
||||
'mobile_number' => 'required|regex:/^(\+\d{1,3}[- ]?)?\d{10,12}$/|unique:user_kycs,mobile_number,'.request()->user()->id.',users_id',
|
||||
'email' => 'required|regex:/^([a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6})$/|unique:user_kycs,email,'.request()->user()->id.',users_id',
|
||||
'dob' => 'required',
|
||||
'occupation' => 'regex:/^[a-zA-Z\s]+$/',
|
||||
'place_of_birth' => 'regex:/^[a-zA-Z\s]+$/',
|
||||
'gross_annual_income' => 'regex:/^[0-9]+$/',
|
||||
'occupation' => 'nullable|regex:/^[a-zA-Z\s]+$/',
|
||||
'place_of_birth' => 'nullable|regex:/^[a-zA-Z\s]+$/',
|
||||
'gross_annual_income' => 'nullable|regex:/^[0-9]+$/',
|
||||
'memorandum_or_articles_of_association' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'company_pan' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'certificate_of_incorporation' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'tan_allotment_letter' => 'mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'List_of_directors_or_authorized_signatories' => 'mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'tan_allotment_letter' => 'nullable|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'List_of_directors_or_authorized_signatories' => 'nullable|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
// 'pan_card_copy_of_authorized_signatory' => ',
|
||||
'pan_card_copy_of_authorized_signatory.*' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
// 'aadhar_card_copy_of_authorized_signatory' => ',
|
||||
'aadhar_card_copy_of_authorized_signatory.*' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'proof_of_address_of_the_company' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'latest_income_tax_return_of_the_company_Of_last_2_years' => 'mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'latest_income_tax_return_of_the_company_Of_last_2_years' => 'nullable|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'copy_of_cml' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'copy_of_audited_balance_sheet_for_the_last_2_f_y' => 'mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'copy_of_audited_balance_sheet_for_the_last_2_f_y' => 'nullable|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
// 'passport_photo_all_authorized_signatories_or_directors' => ',
|
||||
'passport_photo_all_authorized_signatories_or_directors.*' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'true_copy_form_32_or_dir_12_alongwith_roc_fee_payment' => 'mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'true_copy_form_no_18_or_inc_22_alongwith_roc_fee_payment' => 'mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'true_copy_form_32_or_dir_12_alongwith_roc_fee_payment' => 'nullable|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'true_copy_form_no_18_or_inc_22_alongwith_roc_fee_payment' => 'nullable|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'cancelled_cheque' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
];
|
||||
}
|
||||
|
||||
@@ -28,9 +28,9 @@ class StoreHUFKYCApi extends FormRequest
|
||||
'mobile_number' => 'required|regex:/^(\+\d{1,3}[- ]?)?\d{10,12}$/|unique:user_kycs,mobile_number,'.request()->user()->id.',users_id',
|
||||
'email' => 'required|regex:/^([a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6})$/|unique:user_kycs,email,'.request()->user()->id.',users_id',
|
||||
'dob' => 'required',
|
||||
'occupation' => 'regex:/^[a-zA-Z\s]+$/',
|
||||
'place_of_birth' => 'regex:/^[a-zA-Z\s]+$/',
|
||||
'gross_annual_income' => 'regex:/^[0-9]+$/',
|
||||
'occupation' => 'nullable|regex:/^[a-zA-Z\s]+$/',
|
||||
'place_of_birth' => 'nullable|regex:/^[a-zA-Z\s]+$/',
|
||||
'gross_annual_income' => 'nullable|regex:/^[0-9]+$/',
|
||||
'deed_of_declaration' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'pan_card' => 'required',
|
||||
'pan_card.*' => 'mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
|
||||
@@ -28,11 +28,11 @@ class StoreIndividualKYCApi extends FormRequest
|
||||
'mobile_number' => 'required|regex:/^(\+\d{1,3}[- ]?)?\d{10,12}$/|unique:user_kycs,mobile_number,'.request()->user()->id.',users_id',
|
||||
'email' => 'required|regex:/^([a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6})$/|unique:user_kycs,email,'.request()->user()->id.',users_id',
|
||||
'dob' => 'required',
|
||||
'occupation' => 'regex:/^[a-zA-Z\s]+$/',
|
||||
'father_name' => 'regex:/^[a-zA-Z\s]+$/',
|
||||
'mother_name' => 'regex:/^[a-zA-Z\s]+$/',
|
||||
'place_of_birth' => 'regex:/^[a-zA-Z\s]+$/',
|
||||
'gross_annual_income' => 'regex:/^[0-9]+$/',
|
||||
'occupation' => 'nullable|regex:/^[a-zA-Z\s]+$/',
|
||||
'father_name' => 'nullable|regex:/^[a-zA-Z\s]+$/',
|
||||
'mother_name' => 'nullable|regex:/^[a-zA-Z\s]+$/',
|
||||
'place_of_birth' => 'nullable|regex:/^[a-zA-Z\s]+$/',
|
||||
'gross_annual_income' => 'nullable|regex:/^[0-9]+$/',
|
||||
'pan_card' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'proof_of_address' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'Photograph' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
|
||||
@@ -28,14 +28,14 @@ class StoreNRIKYCApi extends FormRequest
|
||||
'mobile_number' => 'required|regex:/^(\+\d{1,3}[- ]?)?\d{10,12}$/|unique:user_kycs,mobile_number,'.request()->user()->id.',users_id',
|
||||
'email' => 'required|regex:/^([a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6})$/|unique:user_kycs,email,'.request()->user()->id.',users_id',
|
||||
'dob' => 'required',
|
||||
'father_name' => 'regex:/^[a-zA-Z\s]+$/',
|
||||
'mother_name' => 'regex:/^[a-zA-Z\s]+$/',
|
||||
'occupation' => 'regex:/^[a-zA-Z\s]+$/',
|
||||
'place_of_birth' => 'regex:/^[a-zA-Z\s]+$/',
|
||||
'gross_annual_income' => 'regex:/^[0-9]+$/',
|
||||
'father_name' => 'nullable|regex:/^[a-zA-Z\s]+$/',
|
||||
'mother_name' => 'nullable|regex:/^[a-zA-Z\s]+$/',
|
||||
'occupation' => 'nullable|regex:/^[a-zA-Z\s]+$/',
|
||||
'place_of_birth' => 'nullable|regex:/^[a-zA-Z\s]+$/',
|
||||
'gross_annual_income' => 'nullable|regex:/^[0-9]+$/',
|
||||
'passport' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'pio_oci_card' => 'mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'tin' => 'mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'pio_oci_card' => 'nullable|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'tin' => 'nullable|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'pan_card' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'proof_of_address_of_india' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'utility' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
@@ -43,9 +43,9 @@ class StoreNRIKYCApi extends FormRequest
|
||||
'passport_size_photograph' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'cancelled_cheque' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'copy_of_cml' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'trc_copy' => 'mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'form_10f' => 'mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'no_pe_declaration' => 'mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'trc_copy' => 'nullable|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'form_10f' => 'nullable|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'no_pe_declaration' => 'nullable|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
@@ -28,11 +28,11 @@ class StoreOtherKYCApi extends FormRequest
|
||||
'mobile_number' => 'required|regex:/^(\+\d{1,3}[- ]?)?\d{10,12}$/|unique:user_kycs,mobile_number,'.request()->user()->id.',users_id',
|
||||
'email' => 'required|regex:/^([a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6})$/|unique:user_kycs,email,'.request()->user()->id.',users_id',
|
||||
'dob' => 'required',
|
||||
'father_name' => 'regex:/^[a-zA-Z\s]+$/',
|
||||
'mother_name' => 'regex:/^[a-zA-Z\s]+$/',
|
||||
'occupation' => 'regex:/^[a-zA-Z\s]+$/',
|
||||
'place_of_birth' => 'regex:/^[a-zA-Z\s]+$/',
|
||||
'gross_annual_income' => 'regex:/^[0-9]+$/',
|
||||
'father_name' => 'nullable|regex:/^[a-zA-Z\s]+$/',
|
||||
'mother_name' => 'nullable|regex:/^[a-zA-Z\s]+$/',
|
||||
'occupation' => 'nullable|regex:/^[a-zA-Z\s]+$/',
|
||||
'place_of_birth' => 'nullable|regex:/^[a-zA-Z\s]+$/',
|
||||
'gross_annual_income' => 'nullable|regex:/^[0-9]+$/',
|
||||
'proof_of_identity_pan_card' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'addressproof_bank_statement_or_utility_bill' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'certificate_of_registration' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
@@ -43,8 +43,8 @@ class StoreOtherKYCApi extends FormRequest
|
||||
'aadhar_card_copy_of_authorized_signatory.*' => 'mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'cancelled_cheque' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'cml_copy' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'latest_income_tax_return' => 'mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'copy_of_audited_balance_sheet_for_the_last_2_F_Y' => 'mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'latest_income_tax_return' => 'nullable|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'copy_of_audited_balance_sheet_for_the_last_2_F_Y' => 'nullable|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'passport_photo_signed_authorized_signatories_or_directors' => 'required',
|
||||
'passport_photo_signed_authorized_signatories_or_directors.*' => 'mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
];
|
||||
|
||||
@@ -54,22 +54,22 @@ class StorePartnerShipKYCApi extends FormRequest
|
||||
'mobile_number' => 'required|regex:/^(\+\d{1,3}[- ]?)?\d{10,12}$/|unique:user_kycs,mobile_number,'.request()->user()->id.',users_id',
|
||||
'email' => 'required|regex:/^([a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6})$/|unique:user_kycs,email,'.request()->user()->id.',users_id',
|
||||
'dob' => 'required',
|
||||
'father_name' => 'regex:/^[a-zA-Z\s]+$/',
|
||||
'mother_name' => 'regex:/^[a-zA-Z\s]+$/',
|
||||
'occupation' => 'regex:/^[a-zA-Z\s]+$/',
|
||||
'place_of_birth' => 'regex:/^[a-zA-Z\s]+$/',
|
||||
'gross_annual_income' => 'regex:/^[0-9]+$/',
|
||||
'father_name' => 'nullable|regex:/^[a-zA-Z\s]+$/',
|
||||
'mother_name' => 'nullable|regex:/^[a-zA-Z\s]+$/',
|
||||
'occupation' => 'nullable|regex:/^[a-zA-Z\s]+$/',
|
||||
'place_of_birth' => 'nullable|regex:/^[a-zA-Z\s]+$/',
|
||||
'gross_annual_income' => 'nullable|regex:/^[0-9]+$/',
|
||||
'true_copy_of_partnership_deed' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'registration_certificate' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'pan_card' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'list_of_partners_and_authorised_signatories' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'pan_card_copy_of_authorized_signatory.*' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'aadhar_card_copy_of_authorized_signatory.*' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'tan_allotment_letter' => 'mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'tan_allotment_letter' => 'nullable|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'proof_of_address_firm' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'latestIincome_tax_return_of_the_firm' => 'mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'latestIincome_tax_return_of_the_firm' => 'nullable|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'copy_of_cml' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'copy_of_audited_balance_sheet_for_last' => 'mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'copy_of_audited_balance_sheet_for_last' => 'nullable|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'passport_photo_authorized_signatories_partners.*' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
'cancelled_cheque' => 'required|mimes:jpeg,png,jpg,pdf|max:2048',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user