Fix contact phones data when new contact is assigned
This commit is contained in:
parent
1884edb334
commit
d4aef9ceac
|
@ -857,6 +857,7 @@
|
|||
that.orderPhoneNumber = response.data.phone_number
|
||||
that.orderEmailAddress = response.data.email_address
|
||||
that.contactProfileURL = response.data.contact_profile_url
|
||||
that.contactPhones = response.data.contact_phones
|
||||
that.contactNotes = response.data.contact_notes
|
||||
})
|
||||
},
|
||||
|
@ -871,7 +872,7 @@
|
|||
break
|
||||
}
|
||||
}
|
||||
this.otherPhoneNumber = this.existingPhoneUUID ? this.orderPhoneNumber : null
|
||||
this.otherPhoneNumber = this.existingPhoneUUID ? null : this.orderPhoneNumber
|
||||
this.editPhoneNumberShowDialog = true
|
||||
},
|
||||
|
||||
|
|
|
@ -393,6 +393,7 @@ class CustomerOrderView(MasterView):
|
|||
'person_uuid': batch.person_uuid,
|
||||
'phone_number': batch.phone_number,
|
||||
'email_address': batch.email_address,
|
||||
'contact_phones': self.handler.get_contact_phones(batch),
|
||||
'contact_notes': self.handler.get_contact_notes(batch),
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue