diff --git a/tailbone_corepos/views/members.py b/tailbone_corepos/views/members.py index c428766..dc75298 100644 --- a/tailbone_corepos/views/members.py +++ b/tailbone_corepos/views/members.py @@ -117,15 +117,18 @@ 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: g.filters['corepos_transaction_number'].label = self.labels['corepos_transaction_number'] g.set_link('corepos_transaction_number') + # corepos_datetime + g.append('corepos_datetime') + g.set_type('corepos_datetime', 'datetime') + g.set_filter('corepos_datetime', model.CoreMemberEquityPayment.corepos_datetime) + g.set_sorter('corepos_datetime', model.CoreMemberEquityPayment.corepos_datetime) + def configure_form(self, f): f.append('corepos_card_number') f.append('corepos_transaction_number')