From a7cacee42c8b2d0dd84d6f5d6143bd8d68edbbf4 Mon Sep 17 00:00:00 2001 From: anishfyle Date: Wed, 13 Nov 2024 09:29:47 +0530 Subject: [PATCH] feat: handle posted at --- apps/fyle/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/fyle/models.py b/apps/fyle/models.py index 5e362ee..1f3d700 100644 --- a/apps/fyle/models.py +++ b/apps/fyle/models.py @@ -79,6 +79,7 @@ class Expense(BaseForeignWorkspaceModel): spent_at = CustomDateTimeField(help_text='Expense spent at') approved_at = CustomDateTimeField(help_text='Expense approved at') posted_at = CustomDateTimeField(help_text='Date when the money is taken from the bank') + is_posted_at_null = models.BooleanField(default=False, help_text='Flag check if posted at is null or not') is_skipped = models.BooleanField(null=True, default=False, help_text='Expense is skipped or not') expense_created_at = CustomDateTimeField(help_text='Expense created at') expense_updated_at = CustomDateTimeField(help_text='Expense created at')