diff --git a/package-lock.json b/package-lock.json index 8b48e4d51..5c33bb426 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "business-create-ui", - "version": "5.8.8", + "version": "5.8.9", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "business-create-ui", - "version": "5.8.8", + "version": "5.8.9", "dependencies": { "@babel/compat-data": "^7.21.5", "@bcrs-shared-components/approval-type": "1.0.19", diff --git a/package.json b/package.json index b73bc201d..16e20a5d8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "business-create-ui", - "version": "5.8.8", + "version": "5.8.9", "private": true, "appName": "Create UI", "sbcName": "SBC Common Components", diff --git a/src/resources/AmalgamationRegular/BC.ts b/src/resources/AmalgamationRegular/BC.ts index ac835224a..0879fd6b5 100644 --- a/src/resources/AmalgamationRegular/BC.ts +++ b/src/resources/AmalgamationRegular/BC.ts @@ -2,6 +2,7 @@ import { AmalgamationResourceIF } from '@/interfaces' import { FilingCodes, RuleIds } from '@/enums' import { AmalgamationRegularSteps } from './steps' import { CorpTypeCd, GetCorpFullDescription } from '@bcrs-shared-components/corp-type-module' +import { ResourcePhrases } from '../ResourcePhrases' export const AmalgamationRegResourceBc: AmalgamationResourceIF = { entityType: CorpTypeCd.BC_COMPANY, @@ -32,12 +33,10 @@ export const AmalgamationRegResourceBc: AmalgamationResourceIF = { reviewAndConfirm: { completingPartyStatement: { certifyStatements: [ - 'I have relevant knowledge of the business and that I am authorized to make this filing.', - 'I understand that this amalgamation cannot be reversed without a court order.' + ResourcePhrases.RELEVANT_KNOWLEDGE_OF_BUSINESS, + ResourcePhrases.AMALGAMATION_CANNOT_BE_REVERSED ], - certifyClause: `Note: It is an offence to make a false or misleading statement in respect - of a material fact in a record submitted to the Corporate Registry for filing. - See section 427 of the Business Corporations Act.`, + certifyClause: ResourcePhrases.OFFENCE_SECTION_427, entityDisplay: null } } diff --git a/src/resources/AmalgamationRegular/BEN.ts b/src/resources/AmalgamationRegular/BEN.ts index 639eefe2d..fa8aa1940 100644 --- a/src/resources/AmalgamationRegular/BEN.ts +++ b/src/resources/AmalgamationRegular/BEN.ts @@ -2,6 +2,7 @@ import { AmalgamationResourceIF } from '@/interfaces' import { FilingCodes, RuleIds } from '@/enums' import { AmalgamationRegularSteps } from './steps' import { CorpTypeCd, GetCorpFullDescription } from '@bcrs-shared-components/corp-type-module' +import { ResourcePhrases } from '../ResourcePhrases' export const AmalgamationRegResourceBen: AmalgamationResourceIF = { entityType: CorpTypeCd.BENEFIT_COMPANY, @@ -32,12 +33,10 @@ export const AmalgamationRegResourceBen: AmalgamationResourceIF = { reviewAndConfirm: { completingPartyStatement: { certifyStatements: [ - 'I have relevant knowledge of the business and that I am authorized to make this filing.', - 'I understand that this amalgamation cannot be reversed without a court order.' + ResourcePhrases.RELEVANT_KNOWLEDGE_OF_BUSINESS, + ResourcePhrases.AMALGAMATION_CANNOT_BE_REVERSED ], - certifyClause: `Note: It is an offence to make a false or misleading statement in respect - of a material fact in a record submitted to the Corporate Registry for filing. - See section 427 of the Business Corporations Act.`, + certifyClause: ResourcePhrases.OFFENCE_SECTION_427, entityDisplay: null } } diff --git a/src/resources/AmalgamationRegular/CC.ts b/src/resources/AmalgamationRegular/CC.ts index c07162f42..d26600089 100644 --- a/src/resources/AmalgamationRegular/CC.ts +++ b/src/resources/AmalgamationRegular/CC.ts @@ -2,6 +2,7 @@ import { AmalgamationResourceIF } from '@/interfaces' import { FilingCodes, RuleIds } from '@/enums' import { AmalgamationRegularSteps } from './steps' import { CorpTypeCd, GetCorpFullDescription } from '@bcrs-shared-components/corp-type-module' +import { ResourcePhrases } from '../ResourcePhrases' export const AmalgamationRegResourceCc: AmalgamationResourceIF = { entityType: CorpTypeCd.BC_CCC, @@ -32,12 +33,10 @@ export const AmalgamationRegResourceCc: AmalgamationResourceIF = { reviewAndConfirm: { completingPartyStatement: { certifyStatements: [ - 'I have relevant knowledge of the business and that I am authorized to make this filing.', - 'I understand that this amalgamation cannot be reversed without a court order.' + ResourcePhrases.RELEVANT_KNOWLEDGE_OF_BUSINESS, + ResourcePhrases.AMALGAMATION_CANNOT_BE_REVERSED ], - certifyClause: `Note: It is an offence to make a false or misleading statement in respect - of a material fact in a record submitted to the Corporate Registry for filing. - See section 427 of the Business Corporations Act.`, + certifyClause: ResourcePhrases.OFFENCE_SECTION_427, entityDisplay: null } } diff --git a/src/resources/AmalgamationRegular/ULC.ts b/src/resources/AmalgamationRegular/ULC.ts index 9aadab1f5..01ee2ee91 100644 --- a/src/resources/AmalgamationRegular/ULC.ts +++ b/src/resources/AmalgamationRegular/ULC.ts @@ -2,6 +2,7 @@ import { AmalgamationResourceIF } from '@/interfaces' import { FilingCodes, RuleIds } from '@/enums' import { AmalgamationRegularSteps } from './steps' import { CorpTypeCd, GetCorpFullDescription } from '@bcrs-shared-components/corp-type-module' +import { ResourcePhrases } from '../ResourcePhrases' export const AmalgamationRegResourceUlc: AmalgamationResourceIF = { entityType: CorpTypeCd.BC_ULC_COMPANY, @@ -32,12 +33,10 @@ export const AmalgamationRegResourceUlc: AmalgamationResourceIF = { reviewAndConfirm: { completingPartyStatement: { certifyStatements: [ - 'I have relevant knowledge of the business and that I am authorized to make this filing.', - 'I understand that this amalgamation cannot be reversed without a court order.' + ResourcePhrases.RELEVANT_KNOWLEDGE_OF_BUSINESS, + ResourcePhrases.AMALGAMATION_CANNOT_BE_REVERSED ], - certifyClause: `Note: It is an offence to make a false or misleading statement in respect - of a material fact in a record submitted to the Corporate Registry for filing. - See section 427 of the Business Corporations Act.`, + certifyClause: ResourcePhrases.OFFENCE_SECTION_427, entityDisplay: null } } diff --git a/src/resources/AmalgamationShort/BC.ts b/src/resources/AmalgamationShort/BC.ts index 3d97e59fa..ef343e6b2 100644 --- a/src/resources/AmalgamationShort/BC.ts +++ b/src/resources/AmalgamationShort/BC.ts @@ -2,6 +2,7 @@ import { AmalgamationResourceIF } from '@/interfaces' import { FilingCodes, RuleIds } from '@/enums' import { AmalgamationShortSteps } from './steps' import { CorpTypeCd, GetCorpFullDescription } from '@bcrs-shared-components/corp-type-module' +import { ResourcePhrases } from '../ResourcePhrases' export const AmalgamationShortResourceBc: AmalgamationResourceIF = { entityType: CorpTypeCd.BC_COMPANY, @@ -34,12 +35,10 @@ export const AmalgamationShortResourceBc: AmalgamationResourceIF = { reviewAndConfirm: { completingPartyStatement: { certifyStatements: [ - 'I have relevant knowledge of the business and that I am authorized to make this filing.', - 'I understand that this amalgamation cannot be reversed without a court order.' + ResourcePhrases.RELEVANT_KNOWLEDGE_OF_BUSINESS, + ResourcePhrases.AMALGAMATION_CANNOT_BE_REVERSED ], - certifyClause: `Note: It is an offence to make a false or misleading statement in respect - of a material fact in a record submitted to the Corporate Registry for filing. - See section 427 of the Business Corporations Act.`, + certifyClause: ResourcePhrases.OFFENCE_SECTION_427, entityDisplay: null } } diff --git a/src/resources/AmalgamationShort/BEN.ts b/src/resources/AmalgamationShort/BEN.ts index c1ae2e3c6..cbd7c2cb9 100644 --- a/src/resources/AmalgamationShort/BEN.ts +++ b/src/resources/AmalgamationShort/BEN.ts @@ -2,6 +2,7 @@ import { AmalgamationResourceIF } from '@/interfaces' import { FilingCodes, RuleIds } from '@/enums' import { AmalgamationShortSteps } from './steps' import { CorpTypeCd, GetCorpFullDescription } from '@bcrs-shared-components/corp-type-module' +import { ResourcePhrases } from '../ResourcePhrases' export const AmalgamationShortResourceBen: AmalgamationResourceIF = { entityType: CorpTypeCd.BENEFIT_COMPANY, @@ -34,12 +35,10 @@ export const AmalgamationShortResourceBen: AmalgamationResourceIF = { reviewAndConfirm: { completingPartyStatement: { certifyStatements: [ - 'I have relevant knowledge of the business and that I am authorized to make this filing.', - 'I understand that this amalgamation cannot be reversed without a court order.' + ResourcePhrases.RELEVANT_KNOWLEDGE_OF_BUSINESS, + ResourcePhrases.AMALGAMATION_CANNOT_BE_REVERSED ], - certifyClause: `Note: It is an offence to make a false or misleading statement in respect - of a material fact in a record submitted to the Corporate Registry for filing. - See section 427 of the Business Corporations Act.`, + certifyClause: ResourcePhrases.OFFENCE_SECTION_427, entityDisplay: null } } diff --git a/src/resources/AmalgamationShort/CC.ts b/src/resources/AmalgamationShort/CC.ts index 55d1fff52..d31ebe440 100644 --- a/src/resources/AmalgamationShort/CC.ts +++ b/src/resources/AmalgamationShort/CC.ts @@ -2,6 +2,7 @@ import { AmalgamationResourceIF } from '@/interfaces' import { FilingCodes, RuleIds } from '@/enums' import { AmalgamationShortSteps } from './steps' import { CorpTypeCd, GetCorpFullDescription } from '@bcrs-shared-components/corp-type-module' +import { ResourcePhrases } from '../ResourcePhrases' export const AmalgamationShortResourceCc: AmalgamationResourceIF = { entityType: CorpTypeCd.BC_CCC, @@ -34,12 +35,10 @@ export const AmalgamationShortResourceCc: AmalgamationResourceIF = { reviewAndConfirm: { completingPartyStatement: { certifyStatements: [ - 'I have relevant knowledge of the business and that I am authorized to make this filing.', - 'I understand that this amalgamation cannot be reversed without a court order.' + ResourcePhrases.RELEVANT_KNOWLEDGE_OF_BUSINESS, + ResourcePhrases.AMALGAMATION_CANNOT_BE_REVERSED ], - certifyClause: `Note: It is an offence to make a false or misleading statement in respect - of a material fact in a record submitted to the Corporate Registry for filing. - See section 427 of the Business Corporations Act.`, + certifyClause: ResourcePhrases.OFFENCE_SECTION_427, entityDisplay: null } } diff --git a/src/resources/AmalgamationShort/ULC.ts b/src/resources/AmalgamationShort/ULC.ts index 0c6e0071e..0d52962be 100644 --- a/src/resources/AmalgamationShort/ULC.ts +++ b/src/resources/AmalgamationShort/ULC.ts @@ -2,6 +2,7 @@ import { AmalgamationResourceIF } from '@/interfaces' import { FilingCodes, RuleIds } from '@/enums' import { AmalgamationShortSteps } from './steps' import { CorpTypeCd, GetCorpFullDescription } from '@bcrs-shared-components/corp-type-module' +import { ResourcePhrases } from '../ResourcePhrases' export const AmalgamationShortResourceUlc: AmalgamationResourceIF = { entityType: CorpTypeCd.BC_ULC_COMPANY, @@ -34,12 +35,10 @@ export const AmalgamationShortResourceUlc: AmalgamationResourceIF = { reviewAndConfirm: { completingPartyStatement: { certifyStatements: [ - 'I have relevant knowledge of the business and that I am authorized to make this filing.', - 'I understand that this amalgamation cannot be reversed without a court order.' + ResourcePhrases.RELEVANT_KNOWLEDGE_OF_BUSINESS, + ResourcePhrases.AMALGAMATION_CANNOT_BE_REVERSED ], - certifyClause: `Note: It is an offence to make a false or misleading statement in respect - of a material fact in a record submitted to the Corporate Registry for filing. - See section 427 of the Business Corporations Act.`, + certifyClause: ResourcePhrases.OFFENCE_SECTION_427, entityDisplay: null } } diff --git a/src/resources/ContinuationIn/BC.ts b/src/resources/ContinuationIn/BC.ts index e19fd0065..70134d569 100644 --- a/src/resources/ContinuationIn/BC.ts +++ b/src/resources/ContinuationIn/BC.ts @@ -2,6 +2,7 @@ import { ContinuationInResourceIF } from '@/interfaces' import { FilingCodes, RuleIds } from '@/enums' import { ContinuationInSteps } from './steps' import { CorpTypeCd, GetCorpFullDescription } from '@bcrs-shared-components/corp-type-module' +import { ResourcePhrases } from '../ResourcePhrases' export const ContinuationInResourceBc: ContinuationInResourceIF = { entityType: CorpTypeCd.BC_COMPANY, @@ -32,9 +33,7 @@ export const ContinuationInResourceBc: ContinuationInResourceIF = { reviewAndConfirm: { completingPartyStatement: { certifyStatements: [], - certifyClause: `Note: It is an offence to make a false or misleading statement in respect - of a material fact in a record submitted to the Corporate Registry for filing. - See section 427 of the Business Corporations Act.`, + certifyClause: ResourcePhrases.OFFENCE_SECTION_427, entityDisplay: null } } diff --git a/src/resources/ContinuationIn/BEN.ts b/src/resources/ContinuationIn/BEN.ts index 813559465..9f04a9cdd 100644 --- a/src/resources/ContinuationIn/BEN.ts +++ b/src/resources/ContinuationIn/BEN.ts @@ -2,6 +2,7 @@ import { ContinuationInResourceIF } from '@/interfaces' import { FilingCodes, RuleIds } from '@/enums' import { ContinuationInSteps } from './steps' import { CorpTypeCd, GetCorpFullDescription } from '@bcrs-shared-components/corp-type-module' +import { ResourcePhrases } from '../ResourcePhrases' export const ContinuationInResourceBen: ContinuationInResourceIF = { entityType: CorpTypeCd.BENEFIT_COMPANY, @@ -32,9 +33,7 @@ export const ContinuationInResourceBen: ContinuationInResourceIF = { reviewAndConfirm: { completingPartyStatement: { certifyStatements: [], - certifyClause: `Note: It is an offence to make a false or misleading statement in respect - of a material fact in a record submitted to the Corporate Registry for filing. - See section 427 of the Business Corporations Act.`, + certifyClause: ResourcePhrases.OFFENCE_SECTION_427, entityDisplay: null } } diff --git a/src/resources/ContinuationIn/CC.ts b/src/resources/ContinuationIn/CC.ts index 33a80bc4d..214faa826 100644 --- a/src/resources/ContinuationIn/CC.ts +++ b/src/resources/ContinuationIn/CC.ts @@ -2,6 +2,7 @@ import { ContinuationInResourceIF } from '@/interfaces' import { FilingCodes, RuleIds } from '@/enums' import { ContinuationInSteps } from './steps' import { CorpTypeCd, GetCorpFullDescription } from '@bcrs-shared-components/corp-type-module' +import { ResourcePhrases } from '../ResourcePhrases' export const ContinuationInResourceCc: ContinuationInResourceIF = { entityType: CorpTypeCd.BC_CCC, @@ -32,9 +33,7 @@ export const ContinuationInResourceCc: ContinuationInResourceIF = { reviewAndConfirm: { completingPartyStatement: { certifyStatements: [], - certifyClause: `Note: It is an offence to make a false or misleading statement in respect - of a material fact in a record submitted to the Corporate Registry for filing. - See section 427 of the Business Corporations Act.`, + certifyClause: ResourcePhrases.OFFENCE_SECTION_427, entityDisplay: null } } diff --git a/src/resources/ContinuationIn/ULC.ts b/src/resources/ContinuationIn/ULC.ts index 26071e045..0993020b8 100644 --- a/src/resources/ContinuationIn/ULC.ts +++ b/src/resources/ContinuationIn/ULC.ts @@ -2,6 +2,7 @@ import { ContinuationInResourceIF } from '@/interfaces' import { FilingCodes, RuleIds } from '@/enums' import { ContinuationInSteps } from './steps' import { CorpTypeCd, GetCorpFullDescription } from '@bcrs-shared-components/corp-type-module' +import { ResourcePhrases } from '../ResourcePhrases' export const ContinuationInResourceUlc: ContinuationInResourceIF = { entityType: CorpTypeCd.BC_ULC_COMPANY, @@ -32,9 +33,7 @@ export const ContinuationInResourceUlc: ContinuationInResourceIF = { reviewAndConfirm: { completingPartyStatement: { certifyStatements: [], - certifyClause: `Note: It is an offence to make a false or misleading statement in respect - of a material fact in a record submitted to the Corporate Registry for filing. - See section 427 of the Business Corporations Act.`, + certifyClause: ResourcePhrases.OFFENCE_SECTION_427, entityDisplay: null } } diff --git a/src/resources/Dissolution/BC.ts b/src/resources/Dissolution/BC.ts index 1701ed5d9..c38422db5 100644 --- a/src/resources/Dissolution/BC.ts +++ b/src/resources/Dissolution/BC.ts @@ -2,6 +2,7 @@ import { DissolutionResourceIF } from '@/interfaces' import { BulletListTypes, FilingCodes, ItemTypes } from '@/enums' import { CorpTypeCd, GetCorpFullDescription } from '@bcrs-shared-components/corp-type-module' import { DissolutionStepsCorp } from './steps' +import { ResourcePhrases } from '../ResourcePhrases' export const DissolutionResourceBc: DissolutionResourceIF = { entityType: CorpTypeCd.BC_COMPANY, @@ -58,9 +59,7 @@ export const DissolutionResourceBc: DissolutionResourceIF = { reviewAndConfirm: { completingPartyStatement: { certifyStatements: [], - certifyClause: `Note: It is an offence to make a false or misleading statement in respect - of a material fact in a record submitted to the Corporate Registry for filing. - See section 427 of the Business Corporations Act.`, + certifyClause: ResourcePhrases.OFFENCE_SECTION_427, entityDisplay: GetCorpFullDescription(CorpTypeCd.BC_COMPANY) } }, diff --git a/src/resources/Dissolution/BEN.ts b/src/resources/Dissolution/BEN.ts index 3eae27415..e5eb02c92 100644 --- a/src/resources/Dissolution/BEN.ts +++ b/src/resources/Dissolution/BEN.ts @@ -2,6 +2,7 @@ import { DissolutionResourceIF } from '@/interfaces' import { BulletListTypes, FilingCodes, ItemTypes } from '@/enums' import { CorpTypeCd, GetCorpFullDescription } from '@bcrs-shared-components/corp-type-module' import { DissolutionStepsCorp } from './steps' +import { ResourcePhrases } from '../ResourcePhrases' export const DissolutionResourceBen: DissolutionResourceIF = { entityType: CorpTypeCd.BENEFIT_COMPANY, @@ -59,9 +60,7 @@ export const DissolutionResourceBen: DissolutionResourceIF = { reviewAndConfirm: { completingPartyStatement: { certifyStatements: [], - certifyClause: `Note: It is an offence to make a false or misleading statement in respect - of a material fact in a record submitted to the Corporate Registry for filing. - See section 427 of the Business Corporations Act.`, + certifyClause: ResourcePhrases.OFFENCE_SECTION_427, entityDisplay: GetCorpFullDescription(CorpTypeCd.BENEFIT_COMPANY) } }, diff --git a/src/resources/Dissolution/CC.ts b/src/resources/Dissolution/CC.ts index 810b7a366..7c4c2ce19 100644 --- a/src/resources/Dissolution/CC.ts +++ b/src/resources/Dissolution/CC.ts @@ -2,6 +2,7 @@ import { DissolutionResourceIF } from '@/interfaces' import { BulletListTypes, FilingCodes, ItemTypes } from '@/enums' import { CorpTypeCd, GetCorpFullDescription } from '@bcrs-shared-components/corp-type-module' import { DissolutionStepsCorp } from './steps' +import { ResourcePhrases } from '../ResourcePhrases' export const DissolutionResourceCc: DissolutionResourceIF = { entityType: CorpTypeCd.BC_CCC, @@ -58,9 +59,7 @@ export const DissolutionResourceCc: DissolutionResourceIF = { reviewAndConfirm: { completingPartyStatement: { certifyStatements: [], - certifyClause: `Note: It is an offence to make a false or misleading statement in respect - of a material fact in a record submitted to the Corporate Registry for filing. - See section 427 of the Business Corporations Act.`, + certifyClause: ResourcePhrases.OFFENCE_SECTION_427, entityDisplay: GetCorpFullDescription(CorpTypeCd.BC_CCC) } }, diff --git a/src/resources/Dissolution/ULC.ts b/src/resources/Dissolution/ULC.ts index 2976808ba..3a17dbbdb 100644 --- a/src/resources/Dissolution/ULC.ts +++ b/src/resources/Dissolution/ULC.ts @@ -2,6 +2,7 @@ import { DissolutionResourceIF } from '@/interfaces' import { BulletListTypes, FilingCodes, ItemTypes } from '@/enums' import { CorpTypeCd, GetCorpFullDescription } from '@bcrs-shared-components/corp-type-module' import { DissolutionStepsCorp } from './steps' +import { ResourcePhrases } from '../ResourcePhrases' export const DissolutionResourceUlc: DissolutionResourceIF = { entityType: CorpTypeCd.BC_ULC_COMPANY, @@ -58,9 +59,7 @@ export const DissolutionResourceUlc: DissolutionResourceIF = { reviewAndConfirm: { completingPartyStatement: { certifyStatements: [], - certifyClause: `Note: It is an offence to make a false or misleading statement in respect - of a material fact in a record submitted to the Corporate Registry for filing. - See section 427 of the Business Corporations Act.`, + certifyClause: ResourcePhrases.OFFENCE_SECTION_427, entityDisplay: GetCorpFullDescription(CorpTypeCd.BC_ULC_COMPANY) } }, diff --git a/src/resources/Incorporation/BC.ts b/src/resources/Incorporation/BC.ts index 850d94646..8b5a38423 100644 --- a/src/resources/Incorporation/BC.ts +++ b/src/resources/Incorporation/BC.ts @@ -2,6 +2,7 @@ import { IncorporationResourceIF } from '@/interfaces' import { FilingCodes, RuleIds } from '@/enums' import { CorpTypeCd, GetCorpFullDescription } from '@bcrs-shared-components/corp-type-module' import { IncorporationStepsCorp } from './steps' +import { ResourcePhrases } from '../ResourcePhrases' export const IncorporationResourceBc: IncorporationResourceIF = { entityType: CorpTypeCd.BC_COMPANY, @@ -75,16 +76,11 @@ export const IncorporationResourceBc: IncorporationResourceIF = { reviewAndConfirm: { completingPartyStatement: { certifyStatements: [ - 'An original signature has been placed on each of those signature lines,', - - `I have no reason to believe that the signature placed on a signature line is not the - signature of the person whose name is set out under that signature line, and`, - - 'I have relevant knowledge of the company and that I am authorized to make this filing.' + ResourcePhrases.ORIGINAL_SIGNATURE, + ResourcePhrases.BELIEVE_SIGNATURE, + ResourcePhrases.RELEVANT_KNOWLEDGE_OF_COMPANY ], - certifyClause: `Note: It is an offence to make a false or misleading statement in respect - of a material fact in a record submitted to the Corporate Registry for filing. - See section 427 of the Business Corporations Act.`, + certifyClause: ResourcePhrases.OFFENCE_SECTION_427, entityDisplay: null } } diff --git a/src/resources/Incorporation/BEN.ts b/src/resources/Incorporation/BEN.ts index b57a2687c..9c0831363 100644 --- a/src/resources/Incorporation/BEN.ts +++ b/src/resources/Incorporation/BEN.ts @@ -2,6 +2,7 @@ import { IncorporationResourceIF } from '@/interfaces' import { FilingCodes, RuleIds } from '@/enums' import { CorpTypeCd, GetCorpFullDescription } from '@bcrs-shared-components/corp-type-module' import { IncorporationStepsCorp } from './steps' +import { ResourcePhrases } from '../ResourcePhrases' export const IncorporationResourceBen: IncorporationResourceIF = { entityType: CorpTypeCd.BENEFIT_COMPANY, @@ -114,17 +115,11 @@ export const IncorporationResourceBen: IncorporationResourceIF = { `The Company Articles and the Incorporation Agreement both contain a signature line for each person identified as an incorporator in the Incorporation Application with the name of that person set out legibly under the signature line,`, - - 'An original signature has been placed on each of those signature lines,', - - `I have no reason to believe that the signature placed on a signature line is not the - signature of the person whose name is set out under that signature line, and`, - - 'I have relevant knowledge of the company and that I am authorized to make this filing.' + ResourcePhrases.ORIGINAL_SIGNATURE, + ResourcePhrases.BELIEVE_SIGNATURE, + ResourcePhrases.RELEVANT_KNOWLEDGE_OF_COMPANY ], - certifyClause: `Note: It is an offence to make a false or misleading statement in respect - of a material fact in a record submitted to the Corporate Registry for filing. - See section 427 of the Business Corporations Act.`, + certifyClause: ResourcePhrases.OFFENCE_SECTION_427, entityDisplay: null } } diff --git a/src/resources/Incorporation/CC.ts b/src/resources/Incorporation/CC.ts index 2627e20a1..e81ddd5e9 100644 --- a/src/resources/Incorporation/CC.ts +++ b/src/resources/Incorporation/CC.ts @@ -2,6 +2,7 @@ import { IncorporationResourceIF } from '@/interfaces' import { FilingCodes, RuleIds } from '@/enums' import { CorpTypeCd, GetCorpFullDescription } from '@bcrs-shared-components/corp-type-module' import { IncorporationStepsCorp } from './steps' +import { ResourcePhrases } from '../ResourcePhrases' export const IncorporationResourceCc: IncorporationResourceIF = { entityType: CorpTypeCd.BC_CCC, @@ -86,16 +87,11 @@ export const IncorporationResourceCc: IncorporationResourceIF = { reviewAndConfirm: { completingPartyStatement: { certifyStatements: [ - 'An original signature has been placed on each of those signature lines,', - - `I have no reason to believe that the signature placed on a signature line is not the - signature of the person whose name is set out under that signature line, and`, - - 'I have relevant knowledge of the company and that I am authorized to make this filing.' + ResourcePhrases.ORIGINAL_SIGNATURE, + ResourcePhrases.BELIEVE_SIGNATURE, + ResourcePhrases.RELEVANT_KNOWLEDGE_OF_COMPANY ], - certifyClause: `Note: It is an offence to make a false or misleading statement in respect - of a material fact in a record submitted to the Corporate Registry for filing. - See section 427 of the Business Corporations Act.`, + certifyClause: ResourcePhrases.OFFENCE_SECTION_427, entityDisplay: null } } diff --git a/src/resources/Incorporation/ULC.ts b/src/resources/Incorporation/ULC.ts index eeb5f38da..1facb7980 100644 --- a/src/resources/Incorporation/ULC.ts +++ b/src/resources/Incorporation/ULC.ts @@ -2,6 +2,7 @@ import { IncorporationResourceIF } from '@/interfaces' import { FilingCodes, RuleIds } from '@/enums' import { CorpTypeCd, GetCorpFullDescription } from '@bcrs-shared-components/corp-type-module' import { IncorporationStepsCorp } from './steps' +import { ResourcePhrases } from '../ResourcePhrases' export const IncorporationResourceUlc: IncorporationResourceIF = { entityType: CorpTypeCd.BC_ULC_COMPANY, @@ -85,16 +86,11 @@ export const IncorporationResourceUlc: IncorporationResourceIF = { reviewAndConfirm: { completingPartyStatement: { certifyStatements: [ - 'An original signature has been placed on each of those signature lines,', - - `I have no reason to believe that the signature placed on a signature line is not the - signature of the person whose name is set out under that signature line, and`, - - 'I have relevant knowledge of the company and that I am authorized to make this filing.' + ResourcePhrases.ORIGINAL_SIGNATURE, + ResourcePhrases.BELIEVE_SIGNATURE, + ResourcePhrases.RELEVANT_KNOWLEDGE_OF_COMPANY ], - certifyClause: `Note: It is an offence to make a false or misleading statement in respect - of a material fact in a record submitted to the Corporate Registry for filing. - See section 427 of the Business Corporations Act.`, + certifyClause: ResourcePhrases.OFFENCE_SECTION_427, entityDisplay: null } } diff --git a/src/resources/ResourcePhrases.ts b/src/resources/ResourcePhrases.ts new file mode 100644 index 000000000..128e031e7 --- /dev/null +++ b/src/resources/ResourcePhrases.ts @@ -0,0 +1,11 @@ +/* eslint-disable max-len */ + +/** List of common phrases used in resource files. */ +export const ResourcePhrases = { + AMALGAMATION_CANNOT_BE_REVERSED: 'I understand that this amalgamation cannot be reversed without a court order.', + BELIEVE_SIGNATURE: 'I have no reason to believe that the signature placed on a signature line is not the signature of the person whose name is set out under that signature line.', + OFFENCE_SECTION_427: 'Note: It is an offence to make a false or misleading statement in respect of a material fact in a record submitted to the Corporate Registry for filing. See section 427 of the Business Corporations Act.', + ORIGINAL_SIGNATURE: 'An original signature has been placed on each of those signature lines.', + RELEVANT_KNOWLEDGE_OF_BUSINESS: 'I have relevant knowledge of the business and that I am authorized to make this filing.', + RELEVANT_KNOWLEDGE_OF_COMPANY: 'I have relevant knowledge of the company and that I am authorized to make this filing.' +}