Skip to content

Commit 492c25c

Browse files
authored
Merge pull request #777 from companieshouse/lp-789-save-lp-legal-statement
LP-789 Ensure LP Legal Entity statement check saved to Mongo
2 parents c5a53fa + 47b8173 commit 492c25c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/services/limited-partnerships/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ type Partner = {
4040
legal_entity_register_name?: string;
4141
legal_entity_registration_location?: string;
4242
legal_form?: string;
43+
legal_personality_statement_checked?: boolean;
4344
nationality1?: string;
4445
nationality2?: string;
4546
principal_office_address?: Address;
@@ -62,7 +63,6 @@ export interface GeneralPartner {
6263
id?: string;
6364
data?: Partner & {
6465
not_disqualified_statement_checked?: boolean;
65-
legal_personality_statement_checked?: boolean;
6666
service_address?: Address;
6767
};
6868
}

test/services/limited-partnerships/limited.partnerships.mock.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ export const LIMITED_PARTNER_OBJECT_MOCK: LimitedPartner = {
116116
legal_entity_register_name: "UK Register",
117117
legal_entity_registration_location: "England",
118118
legal_form: "abc",
119+
legal_personality_statement_checked: true,
119120
nationality1: "English",
120121
nationality2: "French",
121122
principal_office_address: {

0 commit comments

Comments
 (0)