Add cashier info, upload time for Trainwreck transaction views
This commit is contained in:
parent
f11210fa2b
commit
d67350b93b
|
@ -54,6 +54,7 @@ class TransactionView(MasterView):
|
||||||
'system',
|
'system',
|
||||||
'terminal_id',
|
'terminal_id',
|
||||||
'receipt_number',
|
'receipt_number',
|
||||||
|
'cashier_name',
|
||||||
'customer_id',
|
'customer_id',
|
||||||
'customer_name',
|
'customer_name',
|
||||||
'total',
|
'total',
|
||||||
|
@ -101,8 +102,9 @@ 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.terminal_id.set(label="Terminal")
|
fs.terminal_id.set(label="Terminal")
|
||||||
fs.customer_id.set(label="Customer No.")
|
fs.cashier_id.set(label="Cashier ID")
|
||||||
fs.shopper_id.set(label="Shopper No.")
|
fs.customer_id.set(label="Customer ID")
|
||||||
|
fs.shopper_id.set(label="Shopper ID")
|
||||||
fs.subtotal.set(renderer=forms.renderers.CurrencyFieldRenderer)
|
fs.subtotal.set(renderer=forms.renderers.CurrencyFieldRenderer)
|
||||||
fs.discounted_subtotal.set(renderer=forms.renderers.CurrencyFieldRenderer)
|
fs.discounted_subtotal.set(renderer=forms.renderers.CurrencyFieldRenderer)
|
||||||
fs.tax.set(renderer=forms.renderers.CurrencyFieldRenderer)
|
fs.tax.set(renderer=forms.renderers.CurrencyFieldRenderer)
|
||||||
|
@ -115,6 +117,9 @@ class TransactionView(MasterView):
|
||||||
fs.receipt_number,
|
fs.receipt_number,
|
||||||
fs.start_time,
|
fs.start_time,
|
||||||
fs.end_time,
|
fs.end_time,
|
||||||
|
fs.upload_time,
|
||||||
|
fs.cashier_id,
|
||||||
|
fs.cashier_name,
|
||||||
fs.customer_id,
|
fs.customer_id,
|
||||||
fs.customer_name,
|
fs.customer_name,
|
||||||
fs.shopper_id,
|
fs.shopper_id,
|
||||||
|
|
Loading…
Reference in a new issue