From d67350b93b1f1175f49aff2e19668d2b3247ef4e Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Sat, 28 Oct 2017 11:30:53 -0700 Subject: [PATCH] Add cashier info, upload time for Trainwreck transaction views --- tailbone/views/trainwreck.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tailbone/views/trainwreck.py b/tailbone/views/trainwreck.py index 6c02ecef..477adc53 100644 --- a/tailbone/views/trainwreck.py +++ b/tailbone/views/trainwreck.py @@ -54,6 +54,7 @@ class TransactionView(MasterView): 'system', 'terminal_id', 'receipt_number', + 'cashier_name', 'customer_id', 'customer_name', 'total', @@ -101,8 +102,9 @@ class TransactionView(MasterView): def _preconfigure_fieldset(self, fs): fs.system.set(renderer=forms.renderers.EnumFieldRenderer(self.enum.TRAINWRECK_SYSTEM)) fs.terminal_id.set(label="Terminal") - fs.customer_id.set(label="Customer No.") - fs.shopper_id.set(label="Shopper No.") + fs.cashier_id.set(label="Cashier ID") + fs.customer_id.set(label="Customer ID") + fs.shopper_id.set(label="Shopper ID") fs.subtotal.set(renderer=forms.renderers.CurrencyFieldRenderer) fs.discounted_subtotal.set(renderer=forms.renderers.CurrencyFieldRenderer) fs.tax.set(renderer=forms.renderers.CurrencyFieldRenderer) @@ -115,6 +117,9 @@ class TransactionView(MasterView): fs.receipt_number, fs.start_time, fs.end_time, + fs.upload_time, + fs.cashier_id, + fs.cashier_name, fs.customer_id, fs.customer_name, fs.shopper_id,