Allow products view to set some labels in costs grid
This commit is contained in:
parent
bac82f47d8
commit
e608c0b428
2 changed files with 8 additions and 4 deletions
|
@ -619,6 +619,10 @@ class ProductsView(MasterView):
|
|||
if product.upc:
|
||||
kwargs['image_url'] = pod.get_image_url(self.rattail_config, product.upc)
|
||||
kwargs['image_path'] = pod.get_image_path(self.rattail_config, product.upc)
|
||||
kwargs['costs_label_preferred'] = "Pref."
|
||||
kwargs['costs_label_vendor'] = "Vendor"
|
||||
kwargs['costs_label_code'] = "Order Code"
|
||||
kwargs['costs_label_case_size'] = "Case Size"
|
||||
return kwargs
|
||||
|
||||
def edit(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue