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:
parent
3e796e9164
commit
66bc775e14
2 changed files with 47 additions and 27 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue