-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #704 from companieshouse/feature/ecct-618-send-law…
…ful-purpose-data-to-api Send lawful purpose statement to cs-api [ECCT-618]
- Loading branch information
Showing
12 changed files
with
149 additions
and
180 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,6 +31,7 @@ export const WRONG_PSC_DETAILS_TEXT = "wrong-psc-details"; | |
export const WRONG_PSC_STATEMENT_TEXT = "wrong-psc-statement"; | ||
export const EMAIL_ADDRESS_INVALID: string = "Enter an email address in the correct format, like [email protected]"; | ||
export const NO_EMAIL_ADDRESS_SUPPLIED: string = "Enter the registered email address"; | ||
export const ACCEPT_LAWFUL_PURPOSE_STATEMENT = "acceptLawfulPurposeStatement"; | ||
|
||
export enum RADIO_BUTTON_VALUE { | ||
NO = "no", | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,3 +28,80 @@ export const mockConfirmationStatementSubmission: ConfirmationStatementSubmissio | |
self: "/somewhere/" | ||
} | ||
}; | ||
|
||
export const mockConfirmationStatementSubmissionAllConfirmed: ConfirmationStatementSubmission = { | ||
id: "dgshjgdsj", | ||
data: { | ||
confirmationStatementMadeUpToDate: "2020-03-11", | ||
activeOfficerDetailsData: { | ||
sectionStatus: SectionStatus.CONFIRMED, | ||
}, | ||
personsSignificantControlData: { | ||
sectionStatus: SectionStatus.CONFIRMED, | ||
}, | ||
registeredOfficeAddressData: { | ||
sectionStatus: SectionStatus.CONFIRMED, | ||
}, | ||
registeredEmailAddressData: { | ||
sectionStatus: SectionStatus.CONFIRMED, | ||
}, | ||
registerLocationsData: { | ||
sectionStatus: SectionStatus.CONFIRMED, | ||
}, | ||
shareholderData: { | ||
sectionStatus: SectionStatus.CONFIRMED, | ||
}, | ||
sicCodeData: { | ||
sectionStatus: SectionStatus.CONFIRMED, | ||
}, | ||
statementOfCapitalData: { | ||
sectionStatus: SectionStatus.CONFIRMED, | ||
statementOfCapital: mockStatementOfCapital | ||
}, | ||
tradingStatusData: { | ||
tradingStatusAnswer: true, | ||
}, | ||
}, | ||
links: { | ||
self: "/somewhere/" | ||
} | ||
}; | ||
|
||
export const mockConfirmationStatementSubmissionMixedStatuses: ConfirmationStatementSubmission = { | ||
id: "dgshjgdsj", | ||
data: { | ||
confirmationStatementMadeUpToDate: "2020-03-11", | ||
activeOfficerDetailsData: { | ||
sectionStatus: SectionStatus.NOT_CONFIRMED, | ||
}, | ||
personsSignificantControlData: { | ||
sectionStatus: SectionStatus.NOT_CONFIRMED, | ||
}, | ||
registeredOfficeAddressData: { | ||
sectionStatus: SectionStatus.RECENT_FILING, | ||
}, | ||
registeredEmailAddressData: { | ||
sectionStatus: SectionStatus.INITIAL_FILING, | ||
registeredEmailAddress: "[email protected]" | ||
}, | ||
registerLocationsData: { | ||
sectionStatus: SectionStatus.CONFIRMED, | ||
}, | ||
shareholderData: { | ||
sectionStatus: SectionStatus.CONFIRMED, | ||
}, | ||
sicCodeData: { | ||
sectionStatus: SectionStatus.CONFIRMED, | ||
}, | ||
statementOfCapitalData: { | ||
sectionStatus: SectionStatus.CONFIRMED, | ||
statementOfCapital: mockStatementOfCapital | ||
}, | ||
tradingStatusData: { | ||
tradingStatusAnswer: true, | ||
}, | ||
}, | ||
links: { | ||
self: "/somewhere/" | ||
} | ||
}; |
Oops, something went wrong.