Skip to content

Commit

Permalink
18722 - Update foreign business validation rules (bcgov#602)
Browse files Browse the repository at this point in the history
* Update mras corp number rules

* Add test code

* Fix foreign jurisdiction validations

* Corp Number only required if Mras

* Update validation on jurisdiction change

* Update isForeignBusinessValid

* Fix typo

* Use common Mras list

* Add comments to foreign business validation

* Update != to !==

* Update version to 5.6.17
  • Loading branch information
leodube-aot authored and JazzarKarim committed Feb 23, 2024
1 parent f60ee98 commit 489023b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "business-create-ui",
"version": "5.6.16",
"version": "5.6.17",
"private": true,
"appName": "Create UI",
"sbcName": "SBC Common Components",
Expand Down
2 changes: 2 additions & 0 deletions src/components/Amalgamation/AmalgamatingBusinesses.vue
Original file line number Diff line number Diff line change
Expand Up @@ -495,10 +495,12 @@ export default class AmalgamatingBusinesses extends Mixins(AmalgamationMixin, Co
)
// Reset "Add an Amalgamating Foreign Business" Panel on change
this.isForeignBusinessValid = null
this.jurisdiction = null
this.legalName = null
this.corpNumber = null
this.jurisdictionErrorMessage = ''
this.isMrasJurisdiction = false
}
}
</script>
Expand Down

0 comments on commit 489023b

Please sign in to comment.