Misc. improvements for desktop receiving views
- don't expose "cases" if config says not to - don't expose "expired" if config says not to - use `numeric-input` for quantity fields - add `product_key_field` to global-ish template context
This commit is contained in:
parent
92a52133de
commit
17810d9cae
7 changed files with 125 additions and 84 deletions
|
@ -2208,6 +2208,9 @@ class MasterView(View):
|
|||
'quickie': None,
|
||||
}
|
||||
|
||||
key = self.rattail_config.product_key()
|
||||
context['product_key_field'] = self.product_key_fields.get(key, key)
|
||||
|
||||
if self.expose_quickie_search:
|
||||
context['quickie'] = self.get_quickie_context()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue