hotfix for files on 3-d page

This commit is contained in:
merelendor 2023-04-12 12:04:06 +03:00
parent 89c5ae821b
commit e0081b64d9

View File

@ -394,7 +394,9 @@ class Form_3_Signer extends QuestionnaireForm
{
errors.push(`main.${ main_check[i] }`);
}
}
}
if(delegation_files.length === 0) { errors.push(`delegation_files`); }
}
//иной подписант
@ -443,15 +445,17 @@ class Form_3_Signer extends QuestionnaireForm
errors.push(`signatory_person.${ signatory_person_check[i] }`);
}
}
if(signatory_person_files.length === 0) { errors.push(`signatory_person_files`); }
if(signatory_corporate_files.length === 0) { errors.push(`signatory_corporate_files`); }
}
if(delegation_files.length === 0) { errors.push(`delegation_files`); }
if(head_person_files.length === 0) { errors.push(`head_person_files`); }
if(signatory_person_files.length === 0) { errors.push(`signatory_person_files`); }
if(signatory_corporate_files.length === 0) { errors.push(`signatory_corporate_files`); }
this.setState({ errors }, () =>
{
console.log("_handle_onNextPage", { errors });
window.scroll(0, 0);
if(errors.length === 0)
{