Expose the "is preferred vendor" flag for vendor catalog batches

This commit is contained in:
Lance Edgar 2019-10-09 14:55:51 -05:00
parent f0a3607fb7
commit 9a35a31261

View file

@ -88,6 +88,7 @@ class VendorCatalogsView(FileBatchMasterView):
'description', 'description',
'size', 'size',
'vendor_code', 'vendor_code',
'is_preferred_vendor',
'old_unit_cost', 'old_unit_cost',
'unit_cost', 'unit_cost',
'unit_cost_diff', 'unit_cost_diff',
@ -211,6 +212,8 @@ class VendorCatalogsView(FileBatchMasterView):
g.set_type('unit_cost_diff_percent', 'percent') g.set_type('unit_cost_diff_percent', 'percent')
g.set_label('unit_cost_diff_percent', "Diff. %") g.set_label('unit_cost_diff_percent', "Diff. %")
g.set_label('is_preferred_vendor', "Pref. Vendor")
g.set_label('upc', "UPC") g.set_label('upc', "UPC")
g.set_label('brand_name', "Brand") g.set_label('brand_name', "Brand")
g.set_label('old_unit_cost', "Old Cost") g.set_label('old_unit_cost', "Old Cost")