From 0ab7336069a1dc816c518d62f9a33af3f6827cd4 Mon Sep 17 00:00:00 2001 From: anishfyle Date: Wed, 13 Nov 2024 21:40:52 +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 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')