diff --git a/tailbone_corepos/views/members.py b/tailbone_corepos/views/members.py index 28848ef..879873e 100644 --- a/tailbone_corepos/views/members.py +++ b/tailbone_corepos/views/members.py @@ -96,6 +96,7 @@ class MemberEquityPaymentViewSupplement(ViewSupplement): 'corepos_transaction_number': "CORE-POS Transaction Number", 'corepos_transaction_id': "CORE-POS Transaction ID", 'corepos_department_number': "CORE-POS Department Number", + 'corepos_datetime': "CORE-POS Date/Time", } def get_grid_query(self, query): @@ -117,6 +118,9 @@ class MemberEquityPaymentViewSupplement(ViewSupplement): g.set_filter('corepos_department_number', model.CoreMemberEquityPayment.corepos_department_number) g.set_sorter('corepos_department_number', model.CoreMemberEquityPayment.corepos_department_number) + g.set_filter('corepos_datetime', model.CoreMemberEquityPayment.corepos_datetime) + g.set_sorter('corepos_datetime', model.CoreMemberEquityPayment.corepos_datetime) + g.append('corepos_transaction_number') g.set_label('corepos_transaction_number', "CORE-POS Trans. No.") if 'corepos_transaction_number' in g.filters: @@ -128,6 +132,7 @@ class MemberEquityPaymentViewSupplement(ViewSupplement): f.append('corepos_transaction_number') f.append('corepos_transaction_id') f.append('corepos_department_number') + f.append('corepos_datetime') def get_version_child_classes(self): model = self.model