Improve display, handling for "add contact info to customer record"

for new custorders page.  in particular, show this flag in main screen
This commit is contained in:
Lance Edgar 2021-10-10 20:43:27 -04:00
parent 3e796e9164
commit 66bc775e14
2 changed files with 47 additions and 27 deletions

View file

@ -484,6 +484,7 @@ class CustomerOrderView(MasterView):
return {
'success': True,
'phone_number': batch.phone_number,
'add_phone_number': bool(batch.get_param('add_phone_number')),
}
def update_email_address(self, batch, data):
@ -499,6 +500,7 @@ class CustomerOrderView(MasterView):
return {
'success': True,
'email_address': batch.email_address,
'add_email_address': bool(batch.get_param('add_email_address')),
}
def update_pending_customer(self, batch, data):