feat: add option to archive accounts

This commit is contained in:
Herculino Trotta
2024-10-27 21:54:02 -03:00
parent 9f371c2693
commit bfd0cc45a3
8 changed files with 78 additions and 13 deletions
+6 -1
View File
@@ -43,11 +43,16 @@ class Account(models.Model):
is_asset = models.BooleanField(
default=False,
verbose_name=_("Is an asset account?"),
verbose_name=_("Asset account"),
help_text=_(
"Asset accounts count towards your Net Worth, but not towards your month."
),
)
is_archived = models.BooleanField(
default=False,
verbose_name=_("Archived"),
help_text=_("Archived accounts don't show up nor count towards your net worth"),
)
class Meta:
verbose_name = _("Account")