diff options
author | Magnus Hagander | 2023-10-27 11:39:59 +0000 |
---|---|---|
committer | Magnus Hagander | 2023-10-27 11:52:23 +0000 |
commit | bce9badd1f5aebe08dbd2a0569fb8fb5fd60aea0 (patch) | |
tree | 62ab972e77bcb0676892e10807808758f5f43bde /postgresqleu/digisign/models.py | |
parent | 6675aa219e3c68f5e0cba2fa07379620682b99fc (diff) |
Track and show processing dates of digital contracts
Instead of just keeping track of that a contract has been signed,
explicitly track *when* it was sign. Also track when a contract is
partially signed (for confsponsor that's signed by the sponsor but not
by the organizers). And show this information on the sponsorship
dashboard and the sponsorship details.
Diffstat (limited to 'postgresqleu/digisign/models.py')
-rw-r--r-- | postgresqleu/digisign/models.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/postgresqleu/digisign/models.py b/postgresqleu/digisign/models.py index c8c81974..6d14f2dd 100644 --- a/postgresqleu/digisign/models.py +++ b/postgresqleu/digisign/models.py @@ -32,7 +32,8 @@ class DigisignDocument(models.Model): provider = models.ForeignKey(DigisignProvider, null=False, blank=False, on_delete=models.CASCADE) documentid = models.CharField(max_length=100, null=False, blank=True) handler = models.CharField(max_length=32, null=False, blank=True) - completed = models.BooleanField(null=False, blank=False, default=False) + firstsigned = models.DateTimeField(null=True, blank=True) + completed = models.DateTimeField(null=True, blank=True) class Meta: unique_together = ( |