fixing response policy account number name

This commit is contained in:
Michaela Brydon 2024-11-25 16:22:43 -05:00
parent 7e5938510e
commit d9c6139b21

View file

@ -566,8 +566,7 @@ export const useMainStore = defineStore({
const insured = responsePolicy.insureds?.[0];
// populate parent account number
// todo confirm that this is the right policy
order.parentAccountNumber = responsePolicy.parentAccountNumber;
order.parentAccountNumber = responsePolicy.accountNumber;
// populate policy holder details from policy lookup
order.customer.address.streetAddress = insured?.address;