- {{ orderPhoneNumber }}
+
+ {{ orderPhoneNumber }}
+
+
+ (no valid phone number on file)
+
% if allow_contact_info_choice:
- (no valid email on file)
+ (no valid email address on file)
% if allow_contact_info_choice:
@@ -1035,7 +1041,7 @@
that.orderPhoneNumber = response.data.phone_number
that.orderEmailAddress = response.data.email_address
that.addOtherPhoneNumber = response.data.add_phone_number
- that.addOtherEmailAddres = response.data.add_email_address
+ that.addOtherEmailAddress = response.data.add_email_address
that.contactProfileURL = response.data.contact_profile_url
that.contactPhones = response.data.contact_phones
that.contactEmails = response.data.contact_emails
@@ -1051,7 +1057,7 @@
editPhoneNumberInit() {
this.existingPhoneUUID = null
- let normalOrderPhone = this.orderPhoneNumber.replace(/\D/g, '')
+ let normalOrderPhone = (this.orderPhoneNumber || '').replace(/\D/g, '')
for (let phone of this.contactPhones) {
let normal = phone.number.replace(/\D/g, '')
if (normal == normalOrderPhone) {