Skip to content

Commit

Permalink
- app version = 5.4.3 (#755)
Browse files Browse the repository at this point in the history
- set numbered option for regular, numbered amalgamation draft filing

Co-authored-by: Severin Beauvais <[email protected]>
  • Loading branch information
severinbeauvais and Severin Beauvais authored Feb 16, 2024
1 parent 0827500 commit 692b777
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 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.4.2",
"version": "5.4.3",
"private": true,
"appName": "Name Request UI",
"sbcName": "SBC Common Components",
Expand Down
3 changes: 2 additions & 1 deletion src/interfaces/business.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { EntityStates, EntityTypes } from '@/enums'
import { AmalgamationTypes } from '@bcrs-shared-components/enums'
import { AmalgamationTypes, CorrectNameOptions } from '@bcrs-shared-components/enums'

export interface BusinessRequest {
filing: {
Expand All @@ -20,6 +20,7 @@ export interface BusinessRequest {
nameRequest: {
legalType: string
nrNumber?: string
correctNameOption?: CorrectNameOptions
},
type: AmalgamationTypes
},
Expand Down
5 changes: 3 additions & 2 deletions src/mixins/nr-affiliation-mixin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ import { CommonMixin } from '@/mixins'
import { NrAffiliationErrors } from '@/enums'
import { CREATED, BAD_REQUEST } from 'http-status-codes'
import { CorpTypeCd } from '@bcrs-shared-components/corp-type-module'
import { AmalgamationTypes, FilingTypes, NrRequestActionCodes } from '@bcrs-shared-components/enums'
import { AmalgamationTypes, CorrectNameOptions, FilingTypes, NrRequestActionCodes }
from '@bcrs-shared-components/enums'

@Component({})
export class NrAffiliationMixin extends Mixins(CommonMixin) {
Expand Down Expand Up @@ -262,7 +263,7 @@ export class NrAffiliationMixin extends Mixins(CommonMixin) {
if (this.isAmalgamation) {
businessRequest.filing.header.name = FilingTypes.AMALGAMATION_APPLICATION
businessRequest.filing.amalgamationApplication = {
nameRequest: { legalType },
nameRequest: { legalType, correctNameOption: CorrectNameOptions.CORRECT_AML_NUMBERED },
type: AmalgamationTypes.REGULAR
}
} else if (this.isContinuationIn) {
Expand Down

0 comments on commit 692b777

Please sign in to comment.