Expose some new trainwreck fields
This commit is contained in:
parent
57e22c9ff5
commit
e990be3570
|
@ -94,6 +94,9 @@ class TransactionView(MasterView):
|
|||
'tax',
|
||||
'cashback',
|
||||
'total',
|
||||
'patronage',
|
||||
'equity_current',
|
||||
'self_updated',
|
||||
'void',
|
||||
]
|
||||
|
||||
|
@ -156,6 +159,7 @@ class TransactionView(MasterView):
|
|||
|
||||
g.set_enum('system', self.enum.TRAINWRECK_SYSTEM)
|
||||
g.set_type('total', 'currency')
|
||||
g.set_type('patronage', 'currency')
|
||||
g.set_label('terminal_id', "Terminal")
|
||||
g.set_label('receipt_number', "Receipt No.")
|
||||
g.set_label('customer_id', "Customer ID")
|
||||
|
@ -184,6 +188,7 @@ class TransactionView(MasterView):
|
|||
f.set_type('tax', 'currency')
|
||||
f.set_type('cashback', 'currency')
|
||||
f.set_type('total', 'currency')
|
||||
f.set_type('patronage', 'currency')
|
||||
|
||||
# label overrides
|
||||
f.set_label('system_id', "System ID")
|
||||
|
|
Loading…
Reference in a new issue