fix: bugfix when new order with no pending customer

This commit is contained in:
Lance Edgar 2025-01-09 21:44:47 -06:00
parent 2c95d3ce28
commit f8f4933ca1

View file

@ -836,11 +836,11 @@
orderEmailAddress: ${json.dumps(email_address)|n}, orderEmailAddress: ${json.dumps(email_address)|n},
refreshingCustomer: false, refreshingCustomer: false,
newCustomerFullName: ${json.dumps(new_customer_full_name)|n}, newCustomerFullName: ${json.dumps(new_customer_full_name or None)|n},
newCustomerFirstName: ${json.dumps(new_customer_first_name)|n}, newCustomerFirstName: ${json.dumps(new_customer_first_name or None)|n},
newCustomerLastName: ${json.dumps(new_customer_last_name)|n}, newCustomerLastName: ${json.dumps(new_customer_last_name or None)|n},
newCustomerPhone: ${json.dumps(new_customer_phone)|n}, newCustomerPhone: ${json.dumps(new_customer_phone or None)|n},
newCustomerEmail: ${json.dumps(new_customer_email)|n}, newCustomerEmail: ${json.dumps(new_customer_email or None)|n},
editNewCustomerShowDialog: false, editNewCustomerShowDialog: false,
editNewCustomerFirstName: null, editNewCustomerFirstName: null,