Add transaction "System ID" field for Trainwreck

This commit is contained in:
Lance Edgar 2017-12-03 20:33:25 -06:00
parent 984072467e
commit 7a777964a7

View file

@ -101,6 +101,7 @@ class TransactionView(MasterView):
def _preconfigure_fieldset(self, fs): def _preconfigure_fieldset(self, fs):
fs.system.set(renderer=forms.renderers.EnumFieldRenderer(self.enum.TRAINWRECK_SYSTEM)) fs.system.set(renderer=forms.renderers.EnumFieldRenderer(self.enum.TRAINWRECK_SYSTEM))
fs.system_id.set(label="System ID")
fs.terminal_id.set(label="Terminal") fs.terminal_id.set(label="Terminal")
fs.cashier_id.set(label="Cashier ID") fs.cashier_id.set(label="Cashier ID")
fs.customer_id.set(label="Customer ID") fs.customer_id.set(label="Customer ID")
@ -113,6 +114,7 @@ class TransactionView(MasterView):
def configure_fieldset(self, fs): def configure_fieldset(self, fs):
fs.configure(include=[ fs.configure(include=[
fs.system, fs.system,
fs.system_id,
fs.terminal_id, fs.terminal_id,
fs.receipt_number, fs.receipt_number,
fs.start_time, fs.start_time,