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

22639 - Update Certify Section Wording #758

Merged
merged 6 commits into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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",
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The current dev correctly display the required wording ("are" authorized). Maybe we don't need to update it to 2.1.55.
But when I run locally, it displays "is" instead of "are".

Could you please suggest, thanks.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Check your node_modules folder. You might have an older version than 51.

As for whether to upgrade from 51 to 55...

  • on the one hand, it's good to keep these imports updated
  • on the other hand, did very much change from 51 to 55? if so then extra testing is needed

If there are no significant changes from 51 to 55 then I leave it up to you whether to upgrade it.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It seems there are no changes from 51 to 55. They were updated just due to the chore(release) publish
image

Copy link
Collaborator

Choose a reason for hiding this comment

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

That likely means some dependency was updated (eg, enums or interfaces).

Up to you whether to update to 55 or not.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

So I leave it upgraded

"@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
Loading