Skip to content

Commit

Permalink
update code structure
Browse files Browse the repository at this point in the history
Signed-off-by: Qin <[email protected]>
  • Loading branch information
ArwenQin committed Nov 14, 2024
1 parent e2eb2d7 commit 362b3f5
Show file tree
Hide file tree
Showing 43 changed files with 43 additions and 83 deletions.
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: 'business'
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: 'business'
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: 'business'
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: 'business'
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: 'business'
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: 'business'
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: 'business'
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: 'business'
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: 'business'
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: 'business'
certifyClause: ResourcePhrases.OFFENCE_SECTION_427
}
}
}
3 changes: 1 addition & 2 deletions src/resources/Incorporation/CC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,7 @@ export const IncorporationResourceCc: IncorporationResourceIF = {
ResourcePhrases.BELIEVE_SIGNATURE,
ResourcePhrases.RELEVANT_KNOWLEDGE_OF_COMPANY
],
certifyClause: ResourcePhrases.OFFENCE_SECTION_427,
entityDisplay: 'business'
certifyClause: ResourcePhrases.OFFENCE_SECTION_427
}
}
}
3 changes: 1 addition & 2 deletions src/resources/Incorporation/ULC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ export const IncorporationResourceUlc: IncorporationResourceIF = {
ResourcePhrases.BELIEVE_SIGNATURE,
ResourcePhrases.RELEVANT_KNOWLEDGE_OF_COMPANY
],
certifyClause: ResourcePhrases.OFFENCE_SECTION_427,
entityDisplay: 'business'
certifyClause: ResourcePhrases.OFFENCE_SECTION_427
}
}
}
3 changes: 1 addition & 2 deletions src/resources/Restoration/BC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ export const RestorationResourceBc: RestorationResourceIF = {
certifyStatements: [],
certifyClause: `Note: It is an offence to make or assist in making a false or misleading
statement in a record filed under the BC Corporations Act. A person who commits this
offence is subject to a maximum fine of $5,000.`,
entityDisplay: 'business'
offence is subject to a maximum fine of $5,000.`
}
}
}
3 changes: 1 addition & 2 deletions src/resources/Restoration/BEN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ export const RestorationResourceBen: RestorationResourceIF = {
certifyStatements: [],
certifyClause: `Note: It is an offence to make or assist in making a false or misleading
statement in a record filed under the BC Corporations Act. A person who commits this
offence is subject to a maximum fine of $5,000.`,
entityDisplay: 'business'
offence is subject to a maximum fine of $5,000.`
}
}
}
3 changes: 1 addition & 2 deletions src/resources/Restoration/C.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ export const RestorationResourceC: RestorationResourceIF = {
certifyStatements: [],
certifyClause: `Note: It is an offence to make or assist in making a false or misleading
statement in a record filed under the BC Corporations Act. A person who commits this
offence is subject to a maximum fine of $5,000.`,
entityDisplay: 'business'
offence is subject to a maximum fine of $5,000.`
}
}
}
3 changes: 1 addition & 2 deletions src/resources/Restoration/CBEN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ export const RestorationResourceCben: RestorationResourceIF = {
certifyStatements: [],
certifyClause: `Note: It is an offence to make or assist in making a false or misleading
statement in a record filed under the BC Corporations Act. A person who commits this
offence is subject to a maximum fine of $5,000.`,
entityDisplay: 'business'
offence is subject to a maximum fine of $5,000.`
}
}
}
3 changes: 1 addition & 2 deletions src/resources/Restoration/CC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ export const RestorationResourceCc: RestorationResourceIF = {
certifyStatements: [],
certifyClause: `Note: It is an offence to make or assist in making a false or misleading
statement in a record filed under the BC Corporations Act. A person who commits this
offence is subject to a maximum fine of $5,000.`,
entityDisplay: 'business'
offence is subject to a maximum fine of $5,000.`
}
}
}
3 changes: 1 addition & 2 deletions src/resources/Restoration/CCC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ export const RestorationResourceCcc: RestorationResourceIF = {
certifyStatements: [],
certifyClause: `Note: It is an offence to make or assist in making a false or misleading
statement in a record filed under the BC Corporations Act. A person who commits this
offence is subject to a maximum fine of $5,000.`,
entityDisplay: 'business'
offence is subject to a maximum fine of $5,000.`
}
}
}
Loading

0 comments on commit 362b3f5

Please sign in to comment.