bcgov / bcgov/entity

Multiple of the same Document Upload Validation Fix

Open
#24,720 1 comment 0 reactions 1 assignee Claimed by @deetz99 View on GitHub
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

Need to update doc validation to handle this:

To prove principal residence requirements,

users must upload 2 documents from column A, or 1 document from column A and 2 documents from column B (See Appendix A)

If several documents are uploaded with the same file type selected, it counts 1 document except utility bill, other documentations, and Official notice from government agency or Crown corporation. For example, if a user uploads 2 files tagged with Property Notice Assessment, it counts as 1 document. If a user uploads 3 files tagged with Utility bills, it counts as 3 documents.

As written in this doc: https://bcgov.sharepoint.com/:w:/r/teams/09399/_layouts/15/Doc.aspx?sourcedoc=%7BA2720686-5C65-4155-955E-53317C84B4A8%7D&file=Validation%20Rules%20for%20Host%20App%20Submission%20-%20MVP.docx&wdOrigin=TEAMS-MAGLEV.teams_ns.rwc&action=default&mobileredirect=true

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.