diff --git a/tailbone_corepos/views/corepos/transactions/base.py b/tailbone_corepos/views/corepos/transactions/base.py index 9a0fcac..b4601d0 100644 --- a/tailbone_corepos/views/corepos/transactions/base.py +++ b/tailbone_corepos/views/corepos/transactions/base.py @@ -56,6 +56,11 @@ class TransactionDetailMasterView(CoreMasterView): def configure_grid(self, g): super().configure_grid(g) + app = self.get_rattail_app() + + g.filters['date_time'].default_active = True + g.filters['date_time'].default_verb = 'equal' + g.filters['date_time'].default_value = str(app.today()) g.set_type('quantity', 'quantity') g.set_type('item_quantity', 'quantity')