From 342c7c38540a4edcee94b005d503ea4b1adbdf34 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Sun, 18 Nov 2018 20:47:24 -0600 Subject: [PATCH] Move some label definitions for pricing batch rows --- tailbone/views/batch/pricing.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/tailbone/views/batch/pricing.py b/tailbone/views/batch/pricing.py index 728420fc..e8db8bc0 100644 --- a/tailbone/views/batch/pricing.py +++ b/tailbone/views/batch/pricing.py @@ -76,6 +76,11 @@ class PricingBatchView(BatchMasterView): row_labels = { 'upc': "UPC", + 'regular_unit_cost': "Reg. Cost", + 'price_diff': "$ Diff", + 'brand_name': "Brand", + 'price_markup': "Markup", + 'manually_priced': "Manual", } row_grid_columns = [ @@ -122,12 +127,6 @@ class PricingBatchView(BatchMasterView): g.set_type('new_price', 'currency') g.set_type('price_diff', 'currency') - g.set_label('brand_name', "Brand") - g.set_label('regular_unit_cost', "Reg. Cost") - g.set_label('price_markup', "Markup") - g.set_label('price_diff', "Diff") - g.set_label('manually_priced', "Manual") - def row_grid_extra_class(self, row, i): if row.status_code == row.STATUS_CANNOT_CALCULATE_PRICE: return 'warning'