Expose the Sale, TPR, Current price fields for label batch

still need to figure out how execution can print e.g. TPR prices...
This commit is contained in:
Lance Edgar 2022-01-10 14:54:49 -06:00
parent cabe422508
commit eb221417e5

View file

@ -2,7 +2,7 @@
################################################################################ ################################################################################
# #
# Rattail -- Retail Software Framework # Rattail -- Retail Software Framework
# Copyright © 2010-2021 Lance Edgar # Copyright © 2010-2022 Lance Edgar
# #
# This file is part of Rattail. # This file is part of Rattail.
# #
@ -84,6 +84,11 @@ class LabelBatchView(BatchMasterView):
'upc': "UPC", 'upc': "UPC",
'vendor_id': "Vendor ID", 'vendor_id': "Vendor ID",
'label_profile': "Label Type", 'label_profile': "Label Type",
'sale_start': "Sale Starts",
'sale_stop': "Sale Ends",
'tpr_price': "TPR Price",
'tpr_starts': "TPR Starts",
'tpr_ends': "TPR Ends",
} }
row_form_fields = [ row_form_fields = [
@ -101,6 +106,12 @@ class LabelBatchView(BatchMasterView):
'sale_price', 'sale_price',
'sale_start', 'sale_start',
'sale_stop', 'sale_stop',
'tpr_price',
'tpr_starts',
'tpr_ends',
'current_price',
'current_starts',
'current_ends',
'vendor_id', 'vendor_id',
'vendor_name', 'vendor_name',
'vendor_item_code', 'vendor_item_code',