Add transaction "System ID" field for Trainwreck
This commit is contained in:
parent
984072467e
commit
7a777964a7
|
@ -101,6 +101,7 @@ class TransactionView(MasterView):
|
|||
|
||||
def _preconfigure_fieldset(self, fs):
|
||||
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.cashier_id.set(label="Cashier ID")
|
||||
fs.customer_id.set(label="Customer ID")
|
||||
|
@ -113,6 +114,7 @@ class TransactionView(MasterView):
|
|||
def configure_fieldset(self, fs):
|
||||
fs.configure(include=[
|
||||
fs.system,
|
||||
fs.system_id,
|
||||
fs.terminal_id,
|
||||
fs.receipt_number,
|
||||
fs.start_time,
|
||||
|
|
Loading…
Reference in a new issue