Improve phone editing for new custorder

let user choose from existing phones, or add a new one.  not yet
implemented, they can check a box to add new phone to customer proper
in addition to setting it for the order
This commit is contained in:
Lance Edgar 2021-10-04 12:24:24 -04:00
parent 711e526822
commit 1884edb334
2 changed files with 70 additions and 17 deletions

View file

@ -255,6 +255,7 @@ class CustomerOrderView(MasterView):
context = {'batch': batch,
'normalized_batch': self.normalize_batch(batch),
'new_order_requires_customer': self.handler.new_order_requires_customer(),
'contact_phones': self.handler.get_contact_phones(batch),
'contact_profile_url': None,
'contact_notes': self.handler.get_contact_notes(batch),
'order_items': items,