Expose description and notes for label batches

This commit is contained in:
Lance Edgar 2017-12-02 14:20:02 -06:00
parent f06fff983e
commit 70a34615a3
3 changed files with 16 additions and 2 deletions

View file

@ -511,6 +511,17 @@ class ProductsView(MasterView):
return {'form': form, 'params_forms': params_forms}
def make_batch_params_form_labels(self):
"""
Returns a wtforms.Form object with param fields for making a new
Labels Batch.
"""
class LabelsParamsForm(wtforms.Form):
description = wtforms.StringField()
notes = wtforms.TextAreaField()
return LabelsParamsForm(self.request.POST)
def make_batch_params_form_pricing(self):
"""
Returns a wtforms.Form object with param fields for making a new