Skip to content

Commit

Permalink
Merge pull request #758 from ArwenQin/22639-Update-Certify-Wording
Browse files Browse the repository at this point in the history
22639 - Update Certify Section Wording
  • Loading branch information
ArwenQin authored Nov 14, 2024
2 parents c5557de + 4383a96 commit 74b93e7
Show file tree
Hide file tree
Showing 45 changed files with 64 additions and 96 deletions.
30 changes: 19 additions & 11 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "business-create-ui",
"version": "5.14.2",
"version": "5.14.3",
"private": true,
"appName": "Create UI",
"sbcName": "SBC Common Components",
Expand All @@ -22,7 +22,7 @@
"@bcrs-shared-components/base-address": "2.0.3",
"@bcrs-shared-components/breadcrumb": "2.1.15",
"@bcrs-shared-components/business-lookup": "1.3.4",
"@bcrs-shared-components/certify": "2.1.51",
"@bcrs-shared-components/certify": "2.1.55",
"@bcrs-shared-components/completing-party": "2.1.30",
"@bcrs-shared-components/confirm-dialog": "1.2.1",
"@bcrs-shared-components/contact-info": "1.2.15",
Expand Down
2 changes: 1 addition & 1 deletion src/components/common/Certify.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
:certifiedBy="getCertifyState.certifiedBy"
:currentDate="getCurrentDate"
:disableEdit="disableEdit"
:entityDisplay="getCompletingPartyStatement.entityDisplay"
:entityDisplay="getCompletingPartyStatement.entityDisplay || 'business'"
:firstColumn="3"
:invalidSection="invalidSection"
:isCertified="getCertifyState.valid"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export interface CompletingPartyStatementIF {
certifyStatements: Array<string>
certifyClause: string
entityDisplay: string
entityDisplay?: string
}

export const EmptyCompletingPartyStatement: CompletingPartyStatementIF = {
Expand Down
3 changes: 1 addition & 2 deletions src/resources/AmalgamationRegular/BC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ export const AmalgamationRegResourceBc: AmalgamationResourceIF = {
certifyStatements: [
ResourcePhrases.AMALGAMATION_CANNOT_BE_REVERSED
],
certifyClause: ResourcePhrases.OFFENCE_SECTION_427,
entityDisplay: 'business'
certifyClause: ResourcePhrases.OFFENCE_SECTION_427
}
}
}
3 changes: 1 addition & 2 deletions src/resources/AmalgamationRegular/BEN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ export const AmalgamationRegResourceBen: AmalgamationResourceIF = {
certifyStatements: [
ResourcePhrases.AMALGAMATION_CANNOT_BE_REVERSED
],
certifyClause: ResourcePhrases.OFFENCE_SECTION_427,
entityDisplay: 'business'
certifyClause: ResourcePhrases.OFFENCE_SECTION_427
}
}
}
3 changes: 1 addition & 2 deletions src/resources/AmalgamationRegular/C.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ export const AmalgamationRegResourceC: AmalgamationResourceIF = {
certifyStatements: [
ResourcePhrases.AMALGAMATION_CANNOT_BE_REVERSED
],
certifyClause: ResourcePhrases.OFFENCE_SECTION_427,
entityDisplay: 'business'
certifyClause: ResourcePhrases.OFFENCE_SECTION_427
}
}
}
3 changes: 1 addition & 2 deletions src/resources/AmalgamationRegular/CBEN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ export const AmalgamationRegResourceCben: AmalgamationResourceIF = {
certifyStatements: [
ResourcePhrases.AMALGAMATION_CANNOT_BE_REVERSED
],
certifyClause: ResourcePhrases.OFFENCE_SECTION_427,
entityDisplay: 'business'
certifyClause: ResourcePhrases.OFFENCE_SECTION_427
}
}
}
3 changes: 1 addition & 2 deletions src/resources/AmalgamationRegular/CC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ export const AmalgamationRegResourceCc: AmalgamationResourceIF = {
certifyStatements: [
ResourcePhrases.AMALGAMATION_CANNOT_BE_REVERSED
],
certifyClause: ResourcePhrases.OFFENCE_SECTION_427,
entityDisplay: 'business'
certifyClause: ResourcePhrases.OFFENCE_SECTION_427
}
}
}
3 changes: 1 addition & 2 deletions src/resources/AmalgamationRegular/CCC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ export const AmalgamationRegResourceCcc: AmalgamationResourceIF = {
certifyStatements: [
ResourcePhrases.AMALGAMATION_CANNOT_BE_REVERSED
],
certifyClause: ResourcePhrases.OFFENCE_SECTION_427,
entityDisplay: 'business'
certifyClause: ResourcePhrases.OFFENCE_SECTION_427
}
}
}
3 changes: 1 addition & 2 deletions src/resources/AmalgamationRegular/CUL.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ export const AmalgamationRegResourceCul: AmalgamationResourceIF = {
certifyStatements: [
ResourcePhrases.AMALGAMATION_CANNOT_BE_REVERSED
],
certifyClause: ResourcePhrases.OFFENCE_SECTION_427,
entityDisplay: 'business'
certifyClause: ResourcePhrases.OFFENCE_SECTION_427
}
}
}
3 changes: 1 addition & 2 deletions src/resources/AmalgamationRegular/ULC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ export const AmalgamationRegResourceUlc: AmalgamationResourceIF = {
certifyStatements: [
ResourcePhrases.AMALGAMATION_CANNOT_BE_REVERSED
],
certifyClause: ResourcePhrases.OFFENCE_SECTION_427,
entityDisplay: 'business'
certifyClause: ResourcePhrases.OFFENCE_SECTION_427
}
}
}
3 changes: 1 addition & 2 deletions src/resources/AmalgamationShort/BC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ export const AmalgamationShortResourceBc: AmalgamationResourceIF = {
certifyStatements: [
ResourcePhrases.AMALGAMATION_CANNOT_BE_REVERSED
],
certifyClause: ResourcePhrases.OFFENCE_SECTION_427,
entityDisplay: 'business'
certifyClause: ResourcePhrases.OFFENCE_SECTION_427
}
}
}
3 changes: 1 addition & 2 deletions src/resources/AmalgamationShort/BEN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ export const AmalgamationShortResourceBen: AmalgamationResourceIF = {
certifyStatements: [
ResourcePhrases.AMALGAMATION_CANNOT_BE_REVERSED
],
certifyClause: ResourcePhrases.OFFENCE_SECTION_427,
entityDisplay: 'business'
certifyClause: ResourcePhrases.OFFENCE_SECTION_427
}
}
}
3 changes: 1 addition & 2 deletions src/resources/AmalgamationShort/C.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ export const AmalgamationShortResourceC: AmalgamationResourceIF = {
certifyStatements: [
ResourcePhrases.AMALGAMATION_CANNOT_BE_REVERSED
],
certifyClause: ResourcePhrases.OFFENCE_SECTION_427,
entityDisplay: 'business'
certifyClause: ResourcePhrases.OFFENCE_SECTION_427
}
}
}
3 changes: 1 addition & 2 deletions src/resources/AmalgamationShort/CBEN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ export const AmalgamationShortResourceCben: AmalgamationResourceIF = {
certifyStatements: [
ResourcePhrases.AMALGAMATION_CANNOT_BE_REVERSED
],
certifyClause: ResourcePhrases.OFFENCE_SECTION_427,
entityDisplay: 'business'
certifyClause: ResourcePhrases.OFFENCE_SECTION_427
}
}
}
3 changes: 1 addition & 2 deletions src/resources/AmalgamationShort/CC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ export const AmalgamationShortResourceCc: AmalgamationResourceIF = {
certifyStatements: [
ResourcePhrases.AMALGAMATION_CANNOT_BE_REVERSED
],
certifyClause: ResourcePhrases.OFFENCE_SECTION_427,
entityDisplay: 'business'
certifyClause: ResourcePhrases.OFFENCE_SECTION_427
}
}
}
3 changes: 1 addition & 2 deletions src/resources/AmalgamationShort/CCC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ export const AmalgamationShortResourceCcc: AmalgamationResourceIF = {
certifyStatements: [
ResourcePhrases.AMALGAMATION_CANNOT_BE_REVERSED
],
certifyClause: ResourcePhrases.OFFENCE_SECTION_427,
entityDisplay: 'business'
certifyClause: ResourcePhrases.OFFENCE_SECTION_427
}
}
}
3 changes: 1 addition & 2 deletions src/resources/AmalgamationShort/CUL.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ export const AmalgamationShortResourceCul: AmalgamationResourceIF = {
certifyStatements: [
ResourcePhrases.AMALGAMATION_CANNOT_BE_REVERSED
],
certifyClause: ResourcePhrases.OFFENCE_SECTION_427,
entityDisplay: 'business'
certifyClause: ResourcePhrases.OFFENCE_SECTION_427
}
}
}
3 changes: 1 addition & 2 deletions src/resources/AmalgamationShort/ULC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ export const AmalgamationShortResourceUlc: AmalgamationResourceIF = {
certifyStatements: [
ResourcePhrases.AMALGAMATION_CANNOT_BE_REVERSED
],
certifyClause: ResourcePhrases.OFFENCE_SECTION_427,
entityDisplay: 'business'
certifyClause: ResourcePhrases.OFFENCE_SECTION_427
}
}
}
3 changes: 1 addition & 2 deletions src/resources/ContinuationIn/C.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ export const ContinuationInResourceC: ContinuationInResourceIF = {
reviewAndConfirm: {
completingPartyStatement: {
certifyStatements: [],
certifyClause: ResourcePhrases.OFFENCE_SECTION_427,
entityDisplay: 'business'
certifyClause: ResourcePhrases.OFFENCE_SECTION_427
}
}
}
3 changes: 1 addition & 2 deletions src/resources/ContinuationIn/CBEN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ export const ContinuationInResourceCben: ContinuationInResourceIF = {
reviewAndConfirm: {
completingPartyStatement: {
certifyStatements: [],
certifyClause: ResourcePhrases.OFFENCE_SECTION_427,
entityDisplay: 'business'
certifyClause: ResourcePhrases.OFFENCE_SECTION_427
}
}
}
3 changes: 1 addition & 2 deletions src/resources/ContinuationIn/CCC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ export const ContinuationInResourceCcc: ContinuationInResourceIF = {
reviewAndConfirm: {
completingPartyStatement: {
certifyStatements: [],
certifyClause: ResourcePhrases.OFFENCE_SECTION_427,
entityDisplay: 'business'
certifyClause: ResourcePhrases.OFFENCE_SECTION_427
}
}
}
3 changes: 1 addition & 2 deletions src/resources/ContinuationIn/CUL.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ export const ContinuationInResourceCul: ContinuationInResourceIF = {
reviewAndConfirm: {
completingPartyStatement: {
certifyStatements: [],
certifyClause: ResourcePhrases.OFFENCE_SECTION_427,
entityDisplay: 'business'
certifyClause: ResourcePhrases.OFFENCE_SECTION_427
}
}
}
3 changes: 1 addition & 2 deletions src/resources/Dissolution/BC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ export const DissolutionResourceBc: DissolutionResourceIF = {
reviewAndConfirm: {
completingPartyStatement: {
certifyStatements: [],
certifyClause: ResourcePhrases.OFFENCE_SECTION_427,
entityDisplay: GetCorpFullDescription(CorpTypeCd.BC_COMPANY)
certifyClause: ResourcePhrases.OFFENCE_SECTION_427
}
},
createResolution: {
Expand Down
3 changes: 1 addition & 2 deletions src/resources/Dissolution/BEN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ export const DissolutionResourceBen: DissolutionResourceIF = {
reviewAndConfirm: {
completingPartyStatement: {
certifyStatements: [],
certifyClause: ResourcePhrases.OFFENCE_SECTION_427,
entityDisplay: GetCorpFullDescription(CorpTypeCd.BENEFIT_COMPANY)
certifyClause: ResourcePhrases.OFFENCE_SECTION_427
}
},
createResolution: {
Expand Down
3 changes: 1 addition & 2 deletions src/resources/Dissolution/C.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ export const DissolutionResourceC: DissolutionResourceIF = {
reviewAndConfirm: {
completingPartyStatement: {
certifyStatements: [],
certifyClause: ResourcePhrases.OFFENCE_SECTION_427,
entityDisplay: GetCorpFullDescription(CorpTypeCd.CONTINUE_IN)
certifyClause: ResourcePhrases.OFFENCE_SECTION_427
}
},
createResolution: {
Expand Down
3 changes: 1 addition & 2 deletions src/resources/Dissolution/CBEN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ export const DissolutionResourceCben: DissolutionResourceIF = {
reviewAndConfirm: {
completingPartyStatement: {
certifyStatements: [],
certifyClause: ResourcePhrases.OFFENCE_SECTION_427,
entityDisplay: GetCorpFullDescription(CorpTypeCd.BEN_CONTINUE_IN)
certifyClause: ResourcePhrases.OFFENCE_SECTION_427
}
},
createResolution: {
Expand Down
3 changes: 1 addition & 2 deletions src/resources/Dissolution/CC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ export const DissolutionResourceCc: DissolutionResourceIF = {
reviewAndConfirm: {
completingPartyStatement: {
certifyStatements: [],
certifyClause: ResourcePhrases.OFFENCE_SECTION_427,
entityDisplay: GetCorpFullDescription(CorpTypeCd.BC_CCC)
certifyClause: ResourcePhrases.OFFENCE_SECTION_427
}
},
createResolution: {
Expand Down
3 changes: 1 addition & 2 deletions src/resources/Dissolution/CCC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ export const DissolutionResourceCcc: DissolutionResourceIF = {
reviewAndConfirm: {
completingPartyStatement: {
certifyStatements: [],
certifyClause: ResourcePhrases.OFFENCE_SECTION_427,
entityDisplay: GetCorpFullDescription(CorpTypeCd.CCC_CONTINUE_IN)
certifyClause: ResourcePhrases.OFFENCE_SECTION_427
}
},
createResolution: {
Expand Down
3 changes: 1 addition & 2 deletions src/resources/Dissolution/CUL.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ export const DissolutionResourceCul: DissolutionResourceIF = {
reviewAndConfirm: {
completingPartyStatement: {
certifyStatements: [],
certifyClause: ResourcePhrases.OFFENCE_SECTION_427,
entityDisplay: GetCorpFullDescription(CorpTypeCd.ULC_CONTINUE_IN)
certifyClause: ResourcePhrases.OFFENCE_SECTION_427
}
},
createResolution: {
Expand Down
3 changes: 1 addition & 2 deletions src/resources/Dissolution/ULC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ export const DissolutionResourceUlc: DissolutionResourceIF = {
reviewAndConfirm: {
completingPartyStatement: {
certifyStatements: [],
certifyClause: ResourcePhrases.OFFENCE_SECTION_427,
entityDisplay: GetCorpFullDescription(CorpTypeCd.BC_ULC_COMPANY)
certifyClause: ResourcePhrases.OFFENCE_SECTION_427
}
},
createResolution: {
Expand Down
3 changes: 1 addition & 2 deletions src/resources/Incorporation/BC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ export const IncorporationResourceBc: IncorporationResourceIF = {
ResourcePhrases.BELIEVE_SIGNATURE,
ResourcePhrases.RELEVANT_KNOWLEDGE_OF_COMPANY
],
certifyClause: ResourcePhrases.OFFENCE_SECTION_427,
entityDisplay: null
certifyClause: ResourcePhrases.OFFENCE_SECTION_427
}
}
}
3 changes: 1 addition & 2 deletions src/resources/Incorporation/BEN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,7 @@ export const IncorporationResourceBen: IncorporationResourceIF = {
ResourcePhrases.BELIEVE_SIGNATURE,
ResourcePhrases.RELEVANT_KNOWLEDGE_OF_COMPANY
],
certifyClause: ResourcePhrases.OFFENCE_SECTION_427,
entityDisplay: null
certifyClause: ResourcePhrases.OFFENCE_SECTION_427
}
}
}
Loading

0 comments on commit 74b93e7

Please sign in to comment.