Skip to content

Commit

Permalink
auto-fill data manual test
Browse files Browse the repository at this point in the history
  • Loading branch information
fterra-encora committed Aug 2, 2024
1 parent 311b50f commit 431cd55
Showing 1 changed file with 35 additions and 1 deletion.
36 changes: 35 additions & 1 deletion frontend/src/pages/FormStaffPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,41 @@ const updateClientType = (value: CodeNameType | undefined) => {
locationNames: [defaultLocation],
contactType: { value: "BL", text: "Billing" },
};
formData.location.contacts[0] = applicantContact;
formData.location.contacts[0] = applicantContact;
formData.businessInformation = {
district: "",
businessType: "U",
legalType: "SP",
clientType: "I",
registrationNumber: "",
businessName: "Jhonny Baxter",
firstName: "Jhonny",
lastName: "Baxter",
goodStandingInd: "Y",
birthdate: "1970-01-01",
address: {
locationName: "",
complementaryAddressOne: "",
complementaryAddressTwo: null,
streetAddress: "",
country: {
value: "",
text: "",
},
province: {
value: "",
text: "",
},
city: "",
postalCode: "",
},
middleName: "Michael",
identificationType: { value: "PASS", text: "Canadian passport", countryCode: "CA" },
identificationProvince: null,
clientIdentification: "1W2E3R5T",
};
break;
}
default:
Expand Down

0 comments on commit 431cd55

Please sign in to comment.