add: add new field for expence income, and add to filter new fields

This commit is contained in:
behruz-dev
2025-09-29 15:31:06 +05:00
parent 2fd5d685e2
commit f4f54801db
5 changed files with 35 additions and 4 deletions

View File

@@ -31,7 +31,10 @@ class Income(BaseModel):
date = models.DateField(null=True, blank=True)
comment = models.TextField(null=True, blank=True)
file = models.FileField(upload_to='finance/income/file/', null=True, blank=True)
audit = models.CharField(max_length=200, null=True, blank=True)
audit = models.CharField(
max_length=20, choices=[('CHECKED', 'tekshirildi'),('PROCESS', 'jarayonda')],
null=True, blank=True
)
is_deleted = models.BooleanField(default=False)
def __str__(self):