add: add archive api for counterparty

This commit is contained in:
behruz-dev
2025-09-03 17:18:39 +05:00
parent 639b1641d4
commit 2a01d13381
5 changed files with 38 additions and 2 deletions

View File

@@ -42,6 +42,7 @@ class Counterparty(BaseModel):
)
balance_date = models.DateField(null=True, blank=True)
comment = models.TextField(null=True, blank=True)
is_archived = models.BooleanField(default=False)
def __str__(self):
return self.name