From b7efd2ab00f69b4d81226b3bb78aafcddede7013 Mon Sep 17 00:00:00 2001 From: Anish Kr Singh <116036738+anishfyle@users.noreply.github.com> Date: Tue, 19 Nov 2024 11:56:22 +0530 Subject: [PATCH] feat: handle posted at (#228) --- apps/fyle/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/fyle/models.py b/apps/fyle/models.py index 1a16fff..e55692b 100644 --- a/apps/fyle/models.py +++ b/apps/fyle/models.py @@ -99,6 +99,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')