diff --git a/tailbone/views/trainwreck.py b/tailbone/views/trainwreck.py index d1b994ee..5360878d 100644 --- a/tailbone/views/trainwreck.py +++ b/tailbone/views/trainwreck.py @@ -60,6 +60,10 @@ class TransactionView(MasterView): 'total', ] + labels = { + 'cashback': "Cash Back", + } + has_rows = True # model_row_class = trainwreck.TransactionItem rows_default_pagesize = 100 @@ -94,6 +98,7 @@ class TransactionView(MasterView): 'subtotal', 'discounted_subtotal', 'tax', + 'cashback', 'total', 'void', ] @@ -129,6 +134,7 @@ class TransactionView(MasterView): f.set_type('subtotal', 'currency') f.set_type('discounted_subtotal', 'currency') f.set_type('tax', 'currency') + f.set_type('cashback', 'currency') f.set_type('total', 'currency') # label overrides