From 9a35a31261e00eead76b8da7805edef365490c73 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Wed, 9 Oct 2019 14:55:51 -0500 Subject: [PATCH] Expose the "is preferred vendor" flag for vendor catalog batches --- tailbone/views/batch/vendorcatalog.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tailbone/views/batch/vendorcatalog.py b/tailbone/views/batch/vendorcatalog.py index d501853d..1eb0b9e4 100644 --- a/tailbone/views/batch/vendorcatalog.py +++ b/tailbone/views/batch/vendorcatalog.py @@ -88,6 +88,7 @@ class VendorCatalogsView(FileBatchMasterView): 'description', 'size', 'vendor_code', + 'is_preferred_vendor', 'old_unit_cost', 'unit_cost', 'unit_cost_diff', @@ -211,6 +212,8 @@ class VendorCatalogsView(FileBatchMasterView): g.set_type('unit_cost_diff_percent', 'percent') g.set_label('unit_cost_diff_percent', "Diff. %") + g.set_label('is_preferred_vendor', "Pref. Vendor") + g.set_label('upc', "UPC") g.set_label('brand_name', "Brand") g.set_label('old_unit_cost', "Old Cost")