diff --git a/tailbone/templates/custorders/create.mako b/tailbone/templates/custorders/create.mako index 2e7b8195..d5c6c4c9 100644 --- a/tailbone/templates/custorders/create.mako +++ b/tailbone/templates/custorders/create.mako @@ -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 }, diff --git a/tailbone/views/custorders/orders.py b/tailbone/views/custorders/orders.py index dcd22a44..b9eac443 100644 --- a/tailbone/views/custorders/orders.py +++ b/tailbone/views/custorders/orders.py @@ -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), }