diff --git a/tailbone/views/batch/pricing.py b/tailbone/views/batch/pricing.py index f35ba04a..273430b1 100644 --- a/tailbone/views/batch/pricing.py +++ b/tailbone/views/batch/pricing.py @@ -49,6 +49,7 @@ class PricingBatchView(BatchMasterView): grid_columns = [ 'id', + 'description', 'created', 'created_by', 'rowcount', @@ -76,7 +77,9 @@ class PricingBatchView(BatchMasterView): fs.configure( include=[ fs.id, + fs.description, fs.min_diff_threshold, + fs.notes, fs.created, fs.created_by, fs.executed, diff --git a/tailbone/views/products.py b/tailbone/views/products.py index fb7a7c22..807f2a8f 100644 --- a/tailbone/views/products.py +++ b/tailbone/views/products.py @@ -517,7 +517,9 @@ class ProductsView(MasterView): Pricing Batch. """ class PricingParamsForm(wtforms.Form): + description = wtforms.StringField() min_diff_threshold = wtforms.DecimalField(places=2, validators=[wtforms.validators.optional()]) + notes = wtforms.TextAreaField() return PricingParamsForm(self.request.POST)