File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
src/services/confirmation-statement
test/services/confirmation-statement Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -330,6 +330,7 @@ export default class {
330330 ...( pscResource . address && { address : this . mapToAddress ( pscResource . address ) } ) ,
331331 ...( pscResource . service_address && { serviceAddress : this . mapToAddress ( pscResource . service_address ) } ) ,
332332 appointmentType : pscResource . appointment_type ,
333+ appointmentDate : pscResource . appointment_date ,
333334 naturesOfControl : pscResource . natures_of_control ,
334335 dateOfBirth : pscResource . date_of_birth ,
335336 dateOfBirthIso : pscResource . date_of_birth_iso ,
@@ -366,6 +367,7 @@ export default class {
366367 ...( psc . address && { address : this . mapToAddressResource ( psc . address ) } ) ,
367368 ...( psc . serviceAddress && { service_address : this . mapToAddressResource ( psc . serviceAddress ) } ) ,
368369 appointment_type : psc . appointmentType ,
370+ appointment_date : psc . appointmentDate ,
369371 natures_of_control : psc . naturesOfControl ,
370372 date_of_birth : psc . dateOfBirth ,
371373 date_of_birth_iso : psc . dateOfBirthIso ,
Original file line number Diff line number Diff line change @@ -193,7 +193,8 @@ export interface PersonOfSignificantControl {
193193 nameElements ?: NameElements ;
194194 address ?: Address ;
195195 serviceAddress ?: Address ;
196- appointmentType : string
196+ appointmentType : string ;
197+ appointmentDate : string ;
197198 naturesOfControl ?: string [ ] ;
198199 dateOfBirth ?: DateOfBirth ;
199200 dateOfBirthIso ?: string ,
@@ -235,7 +236,8 @@ export interface PersonOfSignificantControlResource {
235236 name_elements ?: NameElementsResource ;
236237 address ?: AddressResource ;
237238 service_address ?: AddressResource ;
238- appointment_type : string
239+ appointment_type : string ;
240+ appointment_date : string ;
239241 natures_of_control ?: string [ ] ;
240242 date_of_birth ?: DateOfBirth ;
241243 date_of_birth_iso ?: string ,
Original file line number Diff line number Diff line change @@ -113,6 +113,7 @@ export const mockPersonsWithSignificantControlList: PersonOfSignificantControlRe
113113 address : mockAddress1 ,
114114 service_address : mockAddress2 ,
115115 appointment_type : "1" ,
116+ appointment_date : "2006-04-25" ,
116117 natures_of_control : [ ] ,
117118 date_of_birth : {
118119 month : 1 ,
@@ -138,6 +139,7 @@ export const mockPersonsWithSignificantControlList: PersonOfSignificantControlRe
138139 address : mockAddress2 ,
139140 service_address : mockAddress1 ,
140141 appointment_type : "1" ,
142+ appointment_date : "2006-04-25" ,
141143 natures_of_control : undefined ,
142144 date_of_birth : {
143145 month : 1 ,
@@ -156,6 +158,7 @@ export const mockPersonsWithSignificantControlList: PersonOfSignificantControlRe
156158export const mockPscNoNameNoAddress : PersonOfSignificantControlResource [ ] = [
157159 {
158160 appointment_type : "1" ,
161+ appointment_date : "2006-04-25" ,
159162 natures_of_control : [ ] ,
160163 date_of_birth : {
161164 month : 1 ,
You can’t perform that action at this time.
0 commit comments