Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #8: Health card number validation for QC #12

Merged
merged 1 commit into from
Oct 21, 2020
Merged

Issue #8: Health card number validation for QC #12

merged 1 commit into from
Oct 21, 2020

Conversation

marta-
Copy link
Contributor

@marta- marta- commented Oct 20, 2020

@marta- marta- requested a review from veronikaslc October 20, 2020 14:23
@@ -114,11 +114,11 @@
return MOD_10_check_digit(value) ? value : {"error" : "Health card number " + value + " is invalid for the province of ON. Please check the number and try again."};
},
QC: function (value, dob) {
console.log(dob);
let disableValidateChecksum = false;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we introduce it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For convenience in case we want to disable it easily.

@marta- marta- marked this pull request as ready for review October 21, 2020 15:43
@marta- marta- merged commit 272f0b5 into main Oct 21, 2020
@marta- marta- deleted the issue-8 branch October 21, 2020 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants