Skip to content

Commit

Permalink
Remove EP and jurisdiction (#654)
Browse files Browse the repository at this point in the history
* remove EP and jurisdiction

* remove business lookup
  • Loading branch information
kzdev420 authored Aug 18, 2023
1 parent d6508ce commit e8588ad
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 16 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": "name-request",
"version": "5.0.22",
"version": "5.0.23",
"private": true,
"appName": "Name Request UI",
"sbcName": "SBC Common Components",
Expand Down
8 changes: 2 additions & 6 deletions src/components/new-request/search.vue
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,7 @@ export default class Search extends Mixins(CommonMixin) {
if (this.isNewBcBusiness) return false
if (this.isContinuationIn) return false
if (this.isAlterType) return false
if (this.isAmalgamation) return false
return true
}
Expand Down Expand Up @@ -596,18 +597,13 @@ export default class Search extends Mixins(CommonMixin) {
}
get nameInputFederalText (): string {
if (this.isAmalgamation) {
return `Federally incorporated businesses do not need a Name Request.
To register your extraprovincial amalgamation, download and complete this form.`
}
return `Federally incorporated businesses do not need a Name Request. You may \
register your extraprovincial business immediately using its existing name at Corporate Online.`
}
get isBusinessLookup () {
// show BusinessLookup when NR request actions are following these
return [
NrRequestActionCodes.AMALGAMATE,
NrRequestActionCodes.CHANGE_NAME,
NrRequestActionCodes.CONVERSION,
NrRequestActionCodes.RESTORE
Expand Down Expand Up @@ -666,7 +662,7 @@ export default class Search extends Mixins(CommonMixin) {
this.setRequestAction(this.request?.value || null)
// set default location to BC for requests where BC is the only location option
if (this.isNewBcBusiness || this.isContinuationIn || this.isAlterType) {
if (this.isNewBcBusiness || this.isContinuationIn || this.isAlterType || this.isAmalgamation) {
this.setLocation(Location.BC)
return
}
Expand Down
7 changes: 0 additions & 7 deletions src/list-data/request-action-mapping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,6 @@ export const XproMapping: MappingI = {
EntityType.XCR,
EntityType.XCP,
EntityType.RLC
],
AML: [
EntityType.XCR,
EntityType.XUL,
EntityType.RLC,
EntityType.XCP,
EntityType.XSO
]
}

Expand Down

0 comments on commit e8588ad

Please sign in to comment.