1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-27 20:22:15 +02:00

Create view for transaction

This commit is contained in:
Alexandre Iooss
2019-07-17 13:53:58 +02:00
parent 7bafbeb93a
commit 51ad354e0b
9 changed files with 105 additions and 38 deletions

View File

@ -65,8 +65,9 @@ class Transaction(models.Model):
verbose_name=_('type'),
max_length=31,
)
description = models.TextField(
verbose_name=_('description'),
reason = models.CharField(
verbose_name=_('reason'),
max_length=255,
)
valid = models.NullBooleanField(
verbose_name=_('valid'),